xref: /linux/Documentation/devicetree/bindings/sound/realtek,rt5616.yaml (revision ea8f615b399988abd801fa52a5eb631d826d0ba4)
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
41required:
42  - compatible
43  - reg
44
45unevaluatedProperties: false
46
47examples:
48  - |
49    i2c {
50        #address-cells = <1>;
51        #size-cells = <0>;
52
53        audio-codec@1b {
54            compatible = "realtek,rt5616";
55            reg = <0x1b>;
56        };
57    };
58