Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/sound/nuvoton,nau8540.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Nuvoton Technology Corporation NAU85L40 Audio CODEC |
| 8 | |
| 9 | maintainers: |
| 10 | - John Hsu <KCHSU0@nuvoton.com> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: dai-common.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | const: nuvoton,nau8540 |
| 18 | |
| 19 | reg: |
| 20 | maxItems: 1 |
| 21 | |
| 22 | "#sound-dai-cells": |
| 23 | const: 0 |
| 24 | |
| 25 | required: |
| 26 | - compatible |
| 27 | - reg |
| 28 | |
| 29 | unevaluatedProperties: false |
| 30 | |
| 31 | examples: |
| 32 | - | |
| 33 | i2c { |
| 34 | #address-cells = <1>; |
| 35 | #size-cells = <0>; |
| 36 | codec@1c { |
| 37 | compatible = "nuvoton,nau8540"; |
| 38 | reg = <0x1c>; |
| 39 | }; |
| 40 | }; |