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/rt1019.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: RT1019 Mono Class-D Audio Amplifier |
| 8 | |
| 9 | maintainers: |
| 10 | - jack.yu@realtek.com |
| 11 | |
| 12 | properties: |
| 13 | compatible: |
| 14 | const: realtek,rt1019 |
| 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 | rt1019: codec@28 { |
| 32 | compatible = "realtek,rt1019"; |
| 33 | reg = <0x28>; |
| 34 | }; |
| 35 | }; |