1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/regulator/richtek,rt5190a-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Richtek RT5190A PMIC Regulator
10 - ChiYuan Huang <cy_huang@richtek.com>
13 The RT5190A integrates 1 channel buck controller, 3 channels high efficiency
14 synchronous buck converters, 1 LDO, I2C control interface and peripheral
17 It also supports mute AC OFF depop sound and quick setting storage while
18 input power is removed.
32 description: phandle to buck2 input voltage.
35 description: phandle to buck3 input voltage.
38 description: phandle to buck4 input voltage.
41 description: phandle to ldo input voltage
45 The mute function uses 'mutein', 'muteout', and 'vdet' pins as the control
46 signal. When enabled, The normal behavior is to bypass the 'mutein' signal
47 'muteout'. But if the power source removal is detected from 'vdet',
48 whatever the 'mutein' signal is, it will pull down the 'muteout' to force
49 speakers mute. this function is commonly used to prevent the speaker pop
50 noise during AC power turned off in the modern TV system design.
61 regulator description for buck1 to buck4, and ldo.
64 regulator-allowed-modes:
66 buck operating mode, only buck1/4 support mode operating.
72 richtek,latchup-enable:
75 If specified, undervolt protection mode changes from the default
78 unevaluatedProperties: false
80 additionalProperties: false
87 additionalProperties: false
91 #include <dt-bindings/interrupt-controller/irq.h>
92 #include <dt-bindings/regulator/richtek,rt5190a-regulator.h>
99 compatible = "richtek,rt5190a";
101 interrupts-extended = <&gpio26 0 IRQ_TYPE_LEVEL_LOW>;
102 vin2-supply = <&rt5190_buck1>;
103 vin3-supply = <&rt5190_buck1>;
104 vin4-supply = <&rt5190_buck1>;
107 rt5190_buck1: buck1 {
108 regulator-name = "rt5190a-buck1";
109 regulator-min-microvolt = <5090000>;
110 regulator-max-microvolt = <5090000>;
111 regulator-allowed-modes = <RT5190A_OPMODE_AUTO RT5190A_OPMODE_FPWM>;
115 regulator-name = "rt5190a-buck2";
116 regulator-min-microvolt = <600000>;
117 regulator-max-microvolt = <1400000>;
121 regulator-name = "rt5190a-buck3";
122 regulator-min-microvolt = <600000>;
123 regulator-max-microvolt = <1400000>;
127 regulator-name = "rt5190a-buck4";
128 regulator-min-microvolt = <850000>;
129 regulator-max-microvolt = <850000>;
130 regulator-allowed-modes = <RT5190A_OPMODE_AUTO RT5190A_OPMODE_FPWM>;
134 regulator-name = "rt5190a-ldo";
135 regulator-min-microvolt = <1200000>;
136 regulator-max-microvolt = <1200000>;