summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/ti,src4xxx.yaml
blob: 9681b72b491858cbab0eaa43d609a058b36c5db3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/ti,src4xxx.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Texas Instruments SRC4392 Device Tree Bindings

description: |
  The SRC4392 is a digital audio codec that can be connected via
  I2C or SPI. Currently, only I2C bus is supported.

maintainers:
  - Matt Flax <flatmax@flatmax.com>

allOf:
  - $ref: name-prefix.yaml#

properties:
  compatible:
    const: ti,src4392

  "#sound-dai-cells":
    const: 0

  reg:
    maxItems: 1

required:
  - "#sound-dai-cells"
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    i2c {
        #address-cells = <1>;
        #size-cells = <0>;

        audio-codec@70 {
            #sound-dai-cells = <0>;
            compatible = "ti,src4392";
            reg = <0x70>;
        };
    };
...