1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/ak4642.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: AK4642 I2C transmitter
8
9maintainers:
10  - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
11
12allOf:
13  - $ref: dai-common.yaml#
14
15properties:
16  compatible:
17    enum:
18      - asahi-kasei,ak4642
19      - asahi-kasei,ak4643
20      - asahi-kasei,ak4648
21
22  reg:
23    maxItems: 1
24
25  "#clock-cells":
26    const: 0
27  "#sound-dai-cells":
28    const: 0
29
30  clocks:
31    maxItems: 1
32
33  clock-frequency:
34    description: common clock binding; frequency of MCKO
35
36  clock-output-names:
37    description: common clock name
38
39required:
40  - compatible
41  - reg
42
43unevaluatedProperties: false
44
45examples:
46  - |
47    i2c {
48        #address-cells = <1>;
49        #size-cells = <0>;
50        ak4643: codec@12 {
51            compatible = "asahi-kasei,ak4643";
52            #sound-dai-cells = <0>;
53            reg = <0x12>;
54            #clock-cells = <0>;
55            clocks = <&audio_clock>;
56            clock-frequency = <12288000>;
57            clock-output-names = "ak4643_mcko";
58        };
59    };
60