Lines Matching +full:active +full:-
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/regulator/active-semi,act8945a.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Active-semi ACT8945a regulator
10 - Paul Cercueil <paul@crapouillou.net>
14 const: active-semi,act8945a
19 system-power-controller:
25 active-semi,vsel-high:
42 vp1-supply:
51 vp2-supply:
60 vp3-supply:
64 "^REG_LDO[1-2]$":
70 inl45-supply:
73 "^REG_LDO[3-4]$":
79 inl67-supply:
88 const: active-semi,act8945a-charger
93 active-semi,chglev-gpios:
97 active-semi,lbo-gpios:
101 active-semi,input-voltage-threshold-microvolt:
105 active-semi,precondition-timeout:
109 active-semi,total-timeout:
114 - compatible
115 - interrupts
120 - reg
121 - compatible
122 - regulators
125 - |
126 #include <dt-bindings/gpio/gpio.h>
127 #include <dt-bindings/interrupt-controller/irq.h>
128 #include <dt-bindings/mfd/atmel-flexcom.h>
129 #include <dt-bindings/regulator/active-semi,8945a-regulator.h>
132 #address-cells = <1>;
133 #size-cells = <0>;
136 compatible = "active-semi,act8945a";
138 active-semi,vsel-high;
142 regulator-name = "VDD_1V35";
143 regulator-min-microvolt = <1350000>;
144 regulator-max-microvolt = <1350000>;
145 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
147 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_FIXED>;
148 regulator-always-on;
150 regulator-state-mem {
151 regulator-on-in-suspend;
152 regulator-suspend-min-microvolt = <1400000>;
153 regulator-suspend-max-microvolt = <1400000>;
154 regulator-changeable-in-suspend;
155 regulator-mode = <ACT8945A_REGULATOR_MODE_LOWPOWER>;
160 regulator-name = "VDD_1V2";
161 regulator-min-microvolt = <1100000>;
162 regulator-max-microvolt = <1300000>;
163 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
165 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_FIXED>;
166 regulator-always-on;
168 regulator-state-mem {
169 regulator-off-in-suspend;
174 regulator-name = "VDD_3V3";
175 regulator-min-microvolt = <3300000>;
176 regulator-max-microvolt = <3300000>;
177 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
179 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_FIXED>;
180 regulator-always-on;
182 regulator-state-mem {
183 regulator-off-in-suspend;
188 regulator-name = "VDD_FUSE";
189 regulator-min-microvolt = <2500000>;
190 regulator-max-microvolt = <2500000>;
191 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
193 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_NORMAL>;
194 regulator-always-on;
196 regulator-state-mem {
197 regulator-off-in-suspend;
202 regulator-name = "VDD_3V3_LP";
203 regulator-min-microvolt = <3300000>;
204 regulator-max-microvolt = <3300000>;
205 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
207 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_NORMAL>;
208 regulator-always-on;
210 regulator-state-mem {
211 regulator-off-in-suspend;
216 regulator-name = "VDD_LED";
217 regulator-min-microvolt = <3300000>;
218 regulator-max-microvolt = <3300000>;
219 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
221 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_NORMAL>;
222 regulator-always-on;
224 regulator-state-mem {
225 regulator-off-in-suspend;
230 regulator-name = "VDD_SDHC_1V8";
231 regulator-min-microvolt = <1800000>;
232 regulator-max-microvolt = <1800000>;
233 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
235 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_NORMAL>;
236 regulator-always-on;
238 regulator-state-mem {
239 regulator-off-in-suspend;
245 compatible = "active-semi,act8945a-charger";
246 pinctrl-names = "default";
247 pinctrl-0 = <&pinctrl_charger_chglev &pinctrl_charger_lbo &pinctrl_charger_irq>;
248 interrupt-parent = <&pioA>;
251 active-semi,chglev-gpios = <&pioA 12 GPIO_ACTIVE_HIGH>;
252 active-semi,lbo-gpios = <&pioA 72 GPIO_ACTIVE_LOW>;
253 active-semi,input-voltage-threshold-microvolt = <6600>;
254 active-semi,precondition-timeout = <40>;
255 active-semi,total-timeout = <3>;