xref: /freebsd/sys/contrib/device-tree/Bindings/sound/ak4613.yaml (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/sound/ak4613.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
77ef62cebSEmmanuel Vadottitle: AK4613 I2C transmitter
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
11c66ec88fSEmmanuel Vadot
128bab661aSEmmanuel VadotallOf:
138bab661aSEmmanuel Vadot  - $ref: dai-common.yaml#
148bab661aSEmmanuel Vadot
15c66ec88fSEmmanuel Vadotproperties:
16c66ec88fSEmmanuel Vadot  compatible:
17c66ec88fSEmmanuel Vadot    const: asahi-kasei,ak4613
18c66ec88fSEmmanuel Vadot
19c66ec88fSEmmanuel Vadot  reg:
20c66ec88fSEmmanuel Vadot    maxItems: 1
21c66ec88fSEmmanuel Vadot
22c66ec88fSEmmanuel Vadot  clocks:
23c66ec88fSEmmanuel Vadot    maxItems: 1
24c66ec88fSEmmanuel Vadot
25c66ec88fSEmmanuel Vadot  "#sound-dai-cells":
26c66ec88fSEmmanuel Vadot    const: 0
27c66ec88fSEmmanuel Vadot
28*cb7aa33aSEmmanuel Vadot  ports:
29*cb7aa33aSEmmanuel Vadot    $ref: audio-graph-port.yaml#/definitions/ports
30*cb7aa33aSEmmanuel Vadot
31*cb7aa33aSEmmanuel Vadot  port:
32*cb7aa33aSEmmanuel Vadot    $ref: audio-graph-port.yaml#
33*cb7aa33aSEmmanuel Vadot    unevaluatedProperties: false
34*cb7aa33aSEmmanuel Vadot
35c66ec88fSEmmanuel VadotpatternProperties:
36c66ec88fSEmmanuel Vadot  "^asahi-kasei,in[1-2]-single-end$":
37c66ec88fSEmmanuel Vadot    description: Input Pin 1 - 2.
38c66ec88fSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/flag
39c66ec88fSEmmanuel Vadot
40c66ec88fSEmmanuel Vadot  "^asahi-kasei,out[1-6]-single-end$":
41c66ec88fSEmmanuel Vadot    description: Output Pin 1 - 6.
42c66ec88fSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/flag
43c66ec88fSEmmanuel Vadot
44c66ec88fSEmmanuel Vadotrequired:
45c66ec88fSEmmanuel Vadot  - compatible
46c66ec88fSEmmanuel Vadot  - reg
47c66ec88fSEmmanuel Vadot
488bab661aSEmmanuel VadotunevaluatedProperties: false
49c66ec88fSEmmanuel Vadot
50c66ec88fSEmmanuel Vadotexamples:
51c66ec88fSEmmanuel Vadot  - |
52c66ec88fSEmmanuel Vadot    i2c {
53c66ec88fSEmmanuel Vadot        #address-cells = <1>;
54c66ec88fSEmmanuel Vadot        #size-cells = <0>;
55c66ec88fSEmmanuel Vadot        ak4613: codec@10 {
56c66ec88fSEmmanuel Vadot            compatible = "asahi-kasei,ak4613";
57c66ec88fSEmmanuel Vadot            reg = <0x10>;
58c66ec88fSEmmanuel Vadot        };
59c66ec88fSEmmanuel Vadot    };
60