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
7title: AK4613 I2C transmitter Device Tree Bindings
8
9maintainers:
10  - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
11
12properties:
13  compatible:
14    const: asahi-kasei,ak4613
15
16  reg:
17    maxItems: 1
18
19  clocks:
20    maxItems: 1
21
22  "#sound-dai-cells":
23    const: 0
24
25patternProperties:
26  "^asahi-kasei,in[1-2]-single-end$":
27    description: Input Pin 1 - 2.
28    $ref: /schemas/types.yaml#/definitions/flag
29
30  "^asahi-kasei,out[1-6]-single-end$":
31    description: Output Pin 1 - 6.
32    $ref: /schemas/types.yaml#/definitions/flag
33
34required:
35  - compatible
36  - reg
37
38additionalProperties: false
39
40examples:
41  - |
42    i2c {
43        #address-cells = <1>;
44        #size-cells = <0>;
45        ak4613: codec@10 {
46            compatible = "asahi-kasei,ak4613";
47            reg = <0x10>;
48        };
49    };
50