1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/ti,src4xxx.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Texas Instruments SRC4392 Device Tree Bindings
8
9description: |
10  The SRC4392 is a digital audio codec that can be connected via
11  I2C or SPI. Currently, only I2C bus is supported.
12
13maintainers:
14  - Matt Flax <flatmax@flatmax.com>
15
16allOf:
17  - $ref: name-prefix.yaml#
18
19properties:
20  compatible:
21    const: ti,src4392
22
23  "#sound-dai-cells":
24    const: 0
25
26  reg:
27    maxItems: 1
28
29required:
30  - "#sound-dai-cells"
31  - compatible
32  - reg
33
34additionalProperties: false
35
36examples:
37  - |
38    i2c {
39        #address-cells = <1>;
40        #size-cells = <0>;
41
42        audio-codec@70 {
43            #sound-dai-cells = <0>;
44            compatible = "ti,src4392";
45            reg = <0x70>;
46        };
47    };
48...
49