xref: /linux/Documentation/devicetree/bindings/sound/richtek,rt9120.yaml (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
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
19properties:
20  compatible:
21    enum:
22      - richtek,rt9120
23
24  reg:
25    description: I2C device address
26    maxItems: 1
27
28  pwdnn-gpios:
29    description: GPIO used for power down, low active
30    maxItems: 1
31
32  dvdd-supply:
33    description: |
34      Supply for the default on DVDD power, voltage domain must be 3P3V or 1P8V
35
36  '#sound-dai-cells':
37    const: 0
38
39required:
40  - compatible
41  - reg
42  - dvdd-supply
43  - '#sound-dai-cells'
44
45additionalProperties: false
46
47examples:
48  - |
49    i2c {
50      #address-cells = <1>;
51      #size-cells = <0>;
52      rt9120@1a {
53        compatible = "richtek,rt9120";
54        reg = <0x1a>;
55        pwdnn-gpios = <&gpio26 2 0>;
56        dvdd-supply = <&vdd_io_reg>;
57        #sound-dai-cells = <0>;
58      };
59    };
60