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/nuvoton,nau8810.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: NAU8810/NAU8812/NAU8814 audio CODEC |
| 8 | |
| 9 | maintainers: |
| 10 | - David Lin <CTLIN0@nuvoton.com> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: dai-common.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | enum: |
| 18 | - nuvoton,nau8810 |
| 19 | - nuvoton,nau8812 |
| 20 | - nuvoton,nau8814 |
| 21 | |
| 22 | reg: |
| 23 | maxItems: 1 |
| 24 | |
| 25 | '#sound-dai-cells': |
| 26 | const: 0 |
| 27 | |
| 28 | required: |
| 29 | - compatible |
| 30 | - reg |
| 31 | |
| 32 | unevaluatedProperties: false |
| 33 | |
| 34 | examples: |
| 35 | - | |
| 36 | i2c { |
| 37 | #address-cells = <1>; |
| 38 | #size-cells = <0>; |
| 39 | |
| 40 | codec@1a { |
| 41 | #sound-dai-cells = <0>; |
| 42 | compatible = "nuvoton,nau8810"; |
| 43 | reg = <0x1a>; |
| 44 | }; |
| 45 | }; |