Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/sound/maxim,max98520.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Maxim Integrated MAX98520 Speaker Amplifier Driver |
| 8 | |
| 9 | maintainers: |
| 10 | - George Song <george.song@maximintegrated.com> |
| 11 | |
| 12 | properties: |
| 13 | compatible: |
| 14 | const: maxim,max98520 |
| 15 | |
| 16 | reg: |
| 17 | maxItems: 1 |
| 18 | description: I2C address of the device. |
| 19 | |
| 20 | required: |
| 21 | - compatible |
| 22 | - reg |
| 23 | |
| 24 | additionalProperties: false |
| 25 | |
| 26 | examples: |
| 27 | - | |
| 28 | i2c { |
| 29 | #address-cells = <1>; |
| 30 | #size-cells = <0>; |
| 31 | max98520: amplifier@38 { |
| 32 | compatible = "maxim,max98520"; |
| 33 | reg = <0x38>; |
| 34 | }; |
| 35 | }; |