xref: /linux/Documentation/devicetree/bindings/sound/richtek,rt9120.yaml (revision 7ae9fb1b7ecbb5d85d07857943f677fd1a559b18)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/richtek,rt9120.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Richtek RT9120 Class-D audio amplifier
8
9maintainers:
10  - ChiYuan Huang <cy_huang@richtek.com>
11
12description: |
13  The RT9120 is a high efficiency, I2S-input, stereo audio power amplifier
14  delivering 2*20W into 8 Ohm BTL speaker loads. It supports the wide input
15  voltage  range from 4.5V to 26.4V to meet the need on most common
16  applications like as TV, monitors. home entertainment, electronic music
17  equipment.
18
19allOf:
20  - $ref: dai-common.yaml#
21
22properties:
23  compatible:
24    enum:
25      - richtek,rt9120
26
27  reg:
28    description: I2C device address
29    maxItems: 1
30
31  pwdnn-gpios:
32    description: GPIO used for power down, low active
33    maxItems: 1
34
35  dvdd-supply:
36    description: |
37      Supply for the default on DVDD power, voltage domain must be 3P3V or 1P8V
38
39  '#sound-dai-cells':
40    const: 0
41
42required:
43  - compatible
44  - reg
45  - dvdd-supply
46  - '#sound-dai-cells'
47
48unevaluatedProperties: false
49
50examples:
51  - |
52    i2c {
53      #address-cells = <1>;
54      #size-cells = <0>;
55      rt9120@1a {
56        compatible = "richtek,rt9120";
57        reg = <0x1a>;
58        pwdnn-gpios = <&gpio26 2 0>;
59        dvdd-supply = <&vdd_io_reg>;
60        #sound-dai-cells = <0>;
61      };
62    };
63