1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/regulator/richtek,rtq2208.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Richtek RTQ2208 SubPMIC Regulator
10 - Alina Yu <alina_yu@richtek.com>
13 RTQ2208 is a highly integrated power converter that offers functional safety dual
14 multi-configurable synchronous buck converters and two LDOs.
16 Bucks support "regulator-allowed-modes" and "regulator-mode". The former defines the permitted
17 switching operation in normal mode; the latter defines the operation in suspend to RAM mode.
19 No matter the RTQ2208 is configured to normal or suspend to RAM mode, there are two switching
20 operation modes for all buck rails, automatic power saving mode (Auto mode) and forced continuous
21 conduction mode (FCCM).
23 The definition of modes is in the datasheet which is available in below link
24 and their meaning is::
25 0 - Auto mode for power saving, which reducing the switching frequency at light load condition
26 to maintain high frequency.
27 1 - FCCM to meet the strict voltage regulation accuracy, which keeping constant switching frequency.
29 Datasheet will be available soon at
30 https://www.richtek.com/assets/Products
46 vout register selection based on this boolean value.
47 false - Using DVS0 register setting to adjust vout
48 true - Using DVS1 register setting to adjust vout
52 additionalProperties: false
58 unevaluatedProperties: false
60 description for buck-[a-h] regulator.
63 regulator-allowed-modes:
65 two buck modes in different switching accuracy.
74 unevaluatedProperties: false
76 regulator description for ldo[1-2].
83 additionalProperties: false
87 #include <dt-bindings/interrupt-controller/irq.h>
93 compatible = "richtek,rtq2208";
95 interrupts-extended = <&gpio26 0 IRQ_TYPE_LEVEL_LOW>;
100 regulator-min-microvolt = <400000>;
101 regulator-max-microvolt = <2050000>;
102 regulator-allowed-modes = <0 1>;
104 regulator-state-mem {
105 regulator-on-in-suspend;
106 regulator-mode = <1>;
110 regulator-min-microvolt = <400000>;
111 regulator-max-microvolt = <2050000>;
112 regulator-allowed-modes = <0 1>;
114 regulator-state-mem {
115 regulator-on-in-suspend;
116 regulator-mode = <1>;
120 regulator-min-microvolt = <400000>;
121 regulator-max-microvolt = <2050000>;
122 regulator-allowed-modes = <0 1>;
124 regulator-state-mem {
125 regulator-on-in-suspend;
126 regulator-mode = <1>;
130 regulator-min-microvolt = <400000>;
131 regulator-max-microvolt = <2050000>;
132 regulator-allowed-modes = <0 1>;
134 regulator-state-mem {
135 regulator-on-in-suspend;
136 regulator-mode = <1>;
140 regulator-min-microvolt = <400000>;
141 regulator-max-microvolt = <2050000>;
142 regulator-allowed-modes = <0 1>;
144 regulator-state-mem {
145 regulator-on-in-suspend;
146 regulator-mode = <1>;
150 regulator-min-microvolt = <400000>;
151 regulator-max-microvolt = <2050000>;
152 regulator-allowed-modes = <0 1>;
154 regulator-state-mem {
155 regulator-on-in-suspend;
156 regulator-mode = <1>;
160 regulator-min-microvolt = <400000>;
161 regulator-max-microvolt = <2050000>;
162 regulator-allowed-modes = <0 1>;
164 regulator-state-mem {
165 regulator-on-in-suspend;
166 regulator-mode = <1>;
170 regulator-min-microvolt = <400000>;
171 regulator-max-microvolt = <2050000>;
172 regulator-allowed-modes = <0 1>;
174 regulator-state-mem {
175 regulator-on-in-suspend;
176 regulator-mode = <1>;
180 regulator-min-microvolt = <1200000>;
181 regulator-max-microvolt = <1200000>;
183 regulator-state-mem {
184 regulator-on-in-suspend;
188 regulator-min-microvolt = <3300000>;
189 regulator-max-microvolt = <3300000>;
191 regulator-state-mem {
192 regulator-on-in-suspend;