xref: /linux/Documentation/devicetree/bindings/sound/nxp,uda1342.yaml (revision 7f71507851fc7764b36a3221839607d3a45c2025)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/nxp,uda1342.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NXP uda1342 audio CODECs
8
9maintainers:
10  - Binbin Zhou <zhoubinbin@loongson.cn>
11
12allOf:
13  - $ref: dai-common.yaml#
14
15properties:
16  compatible:
17    const: nxp,uda1342
18
19  reg:
20    maxItems: 1
21
22  '#sound-dai-cells':
23    const: 0
24
25required:
26  - compatible
27  - reg
28  - '#sound-dai-cells'
29
30unevaluatedProperties: false
31
32examples:
33  - |
34    i2c {
35      #address-cells = <1>;
36      #size-cells = <0>;
37      codec@1a {
38        compatible = "nxp,uda1342";
39        reg = <0x1a>;
40        #sound-dai-cells = <0>;
41      };
42    };
43