blob: cb8182bbc491fca5430e1294d81daf204b6a2669 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/nuvoton,nau8822.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NAU8822 audio CODEC
8
9description: |
10 24 bit stereo audio codec with speaker driver.
11 This device supports I2C/SPI.
12
13maintainers:
14 - David Lin <CTLIN0@nuvoton.com>
15
16properties:
17 compatible:
18 enum:
19 - nuvoton,nau8822
20
21 reg:
22 maxItems: 1
23
24 "#sound-dai-cells":
25 const: 0
26
27 clocks:
28 maxItems: 1
29
30 clock-names:
31 const: mclk
32
33 nuvoton,spk-btl:
34 description:
35 If set, configure the two loudspeaker outputs as a Bridge Tied Load output
36 to drive a high power external loudspeaker.
37 $ref: /schemas/types.yaml#/definitions/flag
38
39required:
40 - compatible
41 - reg
42
43allOf:
44 - $ref: dai-common.yaml#
45
46additionalProperties: false
47
48examples:
49 - |
50 i2c {
51 #address-cells = <1>;
52 #size-cells = <0>;
53
54 codec@1a {
55 compatible = "nuvoton,nau8822";
56 reg = <0x1a>;
57 };
58 };