xref: /linux/Documentation/devicetree/bindings/sound/realtek,rt5616.yaml (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/realtek,rt5616.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Realtek rt5616 ALSA SoC audio codec driver
8
9description: |
10  Pins on the device (for linking into audio routes) for RT5616:
11
12      * IN1P
13      * IN2P
14      * IN2N
15      * LOUTL
16      * LOUTR
17      * HPOL
18      * HPOR
19
20maintainers:
21  - Bard Liao <bardliao@realtek.com>
22
23allOf:
24  - $ref: dai-common.yaml#
25
26properties:
27  compatible:
28    const: realtek,rt5616
29
30  reg:
31    maxItems: 1
32
33  clocks:
34    items:
35      - description: Master clock to the CODEC
36
37  clock-names:
38    items:
39      - const: mclk
40
41  port:
42    $ref: audio-graph-port.yaml#
43    unevaluatedProperties: false
44
45required:
46  - compatible
47  - reg
48
49unevaluatedProperties: false
50
51examples:
52  - |
53    i2c {
54        #address-cells = <1>;
55        #size-cells = <0>;
56
57        audio-codec@1b {
58            compatible = "realtek,rt5616";
59            reg = <0x1b>;
60        };
61    };
62