xref: /freebsd/sys/contrib/device-tree/Bindings/sound/richtek,rt9120.yaml (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
18cc087a1SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
28cc087a1SEmmanuel Vadot%YAML 1.2
38cc087a1SEmmanuel Vadot---
48cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/sound/richtek,rt9120.yaml#
58cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68cc087a1SEmmanuel Vadot
78cc087a1SEmmanuel Vadottitle: Richtek RT9120 Class-D audio amplifier
88cc087a1SEmmanuel Vadot
98cc087a1SEmmanuel Vadotmaintainers:
108cc087a1SEmmanuel Vadot  - ChiYuan Huang <cy_huang@richtek.com>
118cc087a1SEmmanuel Vadot
128cc087a1SEmmanuel Vadotdescription: |
138cc087a1SEmmanuel Vadot  The RT9120 is a high efficiency, I2S-input, stereo audio power amplifier
148cc087a1SEmmanuel Vadot  delivering 2*20W into 8 Ohm BTL speaker loads. It supports the wide input
158cc087a1SEmmanuel Vadot  voltage  range from 4.5V to 26.4V to meet the need on most common
168cc087a1SEmmanuel Vadot  applications like as TV, monitors. home entertainment, electronic music
178cc087a1SEmmanuel Vadot  equipment.
188cc087a1SEmmanuel Vadot
19*8bab661aSEmmanuel VadotallOf:
20*8bab661aSEmmanuel Vadot  - $ref: dai-common.yaml#
21*8bab661aSEmmanuel Vadot
228cc087a1SEmmanuel Vadotproperties:
238cc087a1SEmmanuel Vadot  compatible:
248cc087a1SEmmanuel Vadot    enum:
258cc087a1SEmmanuel Vadot      - richtek,rt9120
268cc087a1SEmmanuel Vadot
278cc087a1SEmmanuel Vadot  reg:
288cc087a1SEmmanuel Vadot    description: I2C device address
298cc087a1SEmmanuel Vadot    maxItems: 1
308cc087a1SEmmanuel Vadot
318cc087a1SEmmanuel Vadot  pwdnn-gpios:
328cc087a1SEmmanuel Vadot    description: GPIO used for power down, low active
338cc087a1SEmmanuel Vadot    maxItems: 1
348cc087a1SEmmanuel Vadot
358cc087a1SEmmanuel Vadot  dvdd-supply:
368cc087a1SEmmanuel Vadot    description: |
378cc087a1SEmmanuel Vadot      Supply for the default on DVDD power, voltage domain must be 3P3V or 1P8V
388cc087a1SEmmanuel Vadot
398cc087a1SEmmanuel Vadot  '#sound-dai-cells':
408cc087a1SEmmanuel Vadot    const: 0
418cc087a1SEmmanuel Vadot
428cc087a1SEmmanuel Vadotrequired:
438cc087a1SEmmanuel Vadot  - compatible
448cc087a1SEmmanuel Vadot  - reg
458cc087a1SEmmanuel Vadot  - dvdd-supply
468cc087a1SEmmanuel Vadot  - '#sound-dai-cells'
478cc087a1SEmmanuel Vadot
48*8bab661aSEmmanuel VadotunevaluatedProperties: false
498cc087a1SEmmanuel Vadot
508cc087a1SEmmanuel Vadotexamples:
518cc087a1SEmmanuel Vadot  - |
528cc087a1SEmmanuel Vadot    i2c {
538cc087a1SEmmanuel Vadot      #address-cells = <1>;
548cc087a1SEmmanuel Vadot      #size-cells = <0>;
558cc087a1SEmmanuel Vadot      rt9120@1a {
568cc087a1SEmmanuel Vadot        compatible = "richtek,rt9120";
578cc087a1SEmmanuel Vadot        reg = <0x1a>;
588cc087a1SEmmanuel Vadot        pwdnn-gpios = <&gpio26 2 0>;
598cc087a1SEmmanuel Vadot        dvdd-supply = <&vdd_io_reg>;
608cc087a1SEmmanuel Vadot        #sound-dai-cells = <0>;
618cc087a1SEmmanuel Vadot      };
628cc087a1SEmmanuel Vadot    };
63