summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/richtek,rt9120.yaml
blob: a1242e8e06876471c89da26fdd52498f04de671f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/richtek,rt9120.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Richtek RT9120 Class-D audio amplifier

maintainers:
  - ChiYuan Huang <cy_huang@richtek.com>

description: |
  The RT9120 is a high efficiency, I2S-input, stereo audio power amplifier
  delivering 2*20W into 8 Ohm BTL speaker loads. It supports the wide input
  voltage  range from 4.5V to 26.4V to meet the need on most common
  applications like as TV, monitors. home entertainment, electronic music
  equipment.

allOf:
  - $ref: dai-common.yaml#

properties:
  compatible:
    enum:
      - richtek,rt9120

  reg:
    description: I2C device address
    maxItems: 1

  pwdnn-gpios:
    description: GPIO used for power down, low active
    maxItems: 1

  dvdd-supply:
    description: |
      Supply for the default on DVDD power, voltage domain must be 3P3V or 1P8V

  '#sound-dai-cells':
    const: 0

required:
  - compatible
  - reg
  - dvdd-supply
  - '#sound-dai-cells'

unevaluatedProperties: false

examples:
  - |
    i2c {
      #address-cells = <1>;
      #size-cells = <0>;
      rt9120@1a {
        compatible = "richtek,rt9120";
        reg = <0x1a>;
        pwdnn-gpios = <&gpio26 2 0>;
        dvdd-supply = <&vdd_io_reg>;
        #sound-dai-cells = <0>;
      };
    };