Linux 6.7-rc7
[linux-modified.git] / Documentation / devicetree / bindings / sound / ak4613.yaml
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/sound/ak4613.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: AK4613 I2C transmitter
8
9 maintainers:
10   - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
11
12 allOf:
13   - $ref: dai-common.yaml#
14
15 properties:
16   compatible:
17     const: asahi-kasei,ak4613
18
19   reg:
20     maxItems: 1
21
22   clocks:
23     maxItems: 1
24
25   "#sound-dai-cells":
26     const: 0
27
28   ports:
29     $ref: audio-graph-port.yaml#/definitions/ports
30
31   port:
32     $ref: audio-graph-port.yaml#
33     unevaluatedProperties: false
34
35 patternProperties:
36   "^asahi-kasei,in[1-2]-single-end$":
37     description: Input Pin 1 - 2.
38     $ref: /schemas/types.yaml#/definitions/flag
39
40   "^asahi-kasei,out[1-6]-single-end$":
41     description: Output Pin 1 - 6.
42     $ref: /schemas/types.yaml#/definitions/flag
43
44 required:
45   - compatible
46   - reg
47
48 unevaluatedProperties: false
49
50 examples:
51   - |
52     i2c {
53         #address-cells = <1>;
54         #size-cells = <0>;
55         ak4613: codec@10 {
56             compatible = "asahi-kasei,ak4613";
57             reg = <0x10>;
58         };
59     };