blob: 75e13414d6eb18654c91e63f84e5d601cbe17ae9 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# 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
28 ports:
29 $ref: audio-graph-port.yaml#/definitions/ports
30
31 port:
32 $ref: audio-graph-port.yaml#
33 unevaluatedProperties: false
34
35patternProperties:
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
44required:
45 - compatible
46 - reg
47
48unevaluatedProperties: false
49
50examples:
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 };