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 Device Tree Bindings
8
9maintainers:
10  - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
11
12properties:
13  compatible:
14    enum:
15      - asahi-kasei,ak4642
16      - asahi-kasei,ak4643
17      - asahi-kasei,ak4648
18
19  reg:
20    maxItems: 1
21
22  "#clock-cells":
23    const: 0
24  "#sound-dai-cells":
25    const: 0
26
27  clocks:
28    maxItems: 1
29
30  clock-frequency:
31    description: common clock binding; frequency of MCKO
32    $ref: /schemas/types.yaml#/definitions/uint32
33
34  clock-output-names:
35    description: common clock name
36    $ref: /schemas/types.yaml#/definitions/string
37
38required:
39  - compatible
40  - reg
41
42additionalProperties: false
43
44examples:
45  - |
46    i2c {
47        #address-cells = <1>;
48        #size-cells = <0>;
49        ak4643: codec@12 {
50            compatible = "asahi-kasei,ak4643";
51            #sound-dai-cells = <0>;
52            reg = <0x12>;
53            #clock-cells = <0>;
54            clocks = <&audio_clock>;
55            clock-frequency = <12288000>;
56            clock-output-names = "ak4643_mcko";
57        };
58    };
59