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
8
9maintainers:
10  - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
11
12allOf:
13  - $ref: dai-common.yaml#
14
15properties:
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
28patternProperties:
29  "^asahi-kasei,in[1-2]-single-end$":
30    description: Input Pin 1 - 2.
31    $ref: /schemas/types.yaml#/definitions/flag
32
33  "^asahi-kasei,out[1-6]-single-end$":
34    description: Output Pin 1 - 6.
35    $ref: /schemas/types.yaml#/definitions/flag
36
37required:
38  - compatible
39  - reg
40
41unevaluatedProperties: false
42
43examples:
44  - |
45    i2c {
46        #address-cells = <1>;
47        #size-cells = <0>;
48        ak4613: codec@10 {
49            compatible = "asahi-kasei,ak4613";
50            reg = <0x10>;
51        };
52    };
53