xref: /linux/Documentation/devicetree/bindings/sound/asahi-kasei,ak4619.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/asahi-kasei,ak4619.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: AK4619 I2C transmitter
8
9maintainers:
10  - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
11  - Khanh Le <khanh.le.xr@renesas.com>
12
13allOf:
14  - $ref: dai-common.yaml#
15
16properties:
17  compatible:
18    const: asahi-kasei,ak4619
19
20  reg:
21    maxItems: 1
22
23  clocks:
24    maxItems: 1
25
26  clock-names:
27    items:
28      - const: mclk
29
30  "#sound-dai-cells":
31    const: 0
32
33  port:
34    $ref: audio-graph-port.yaml#
35    unevaluatedProperties: false
36
37required:
38  - compatible
39  - reg
40
41unevaluatedProperties: false
42
43examples:
44  - |
45    i2c {
46        #address-cells = <1>;
47        #size-cells = <0>;
48        codec@10 {
49            compatible = "asahi-kasei,ak4619";
50            reg = <0x10>;
51
52            clocks = <&rcar_sound>;
53            clock-names = "mclk";
54
55            #sound-dai-cells = <0>;
56            port {
57                 ak4619_endpoint: endpoint {
58                       remote-endpoint = <&rsnd_endpoint>;
59                  };
60            };
61        };
62    };
63