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
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
33  clock-output-names:
34    description: common clock name
35
36required:
37  - compatible
38  - reg
39
40additionalProperties: false
41
42examples:
43  - |
44    i2c {
45        #address-cells = <1>;
46        #size-cells = <0>;
47        ak4643: codec@12 {
48            compatible = "asahi-kasei,ak4643";
49            #sound-dai-cells = <0>;
50            reg = <0x12>;
51            #clock-cells = <0>;
52            clocks = <&audio_clock>;
53            clock-frequency = <12288000>;
54            clock-output-names = "ak4643_mcko";
55        };
56    };
57