Lines Matching +full:onkey +full:- +full:falling
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
12 - pascal Paillet <p.paillet@foss.st.com>
24 "#interrupt-cells":
27 interrupt-controller: true
29 onkey:
36 const: st,stpmic1-onkey
40 - description: onkey-falling, happens when onkey is pressed. IT_PONKEY_F of pmic
41 - description: onkey-rising, happens when onkey is released. IT_PONKEY_R of pmic
43 interrupt-names:
45 - const: onkey-falling
46 - const: onkey-rising
48 st,onkey-clear-cc-flag:
49 description: onkey is able power on after an over-current shutdown event.
52 st,onkey-pu-inactive:
53 description: onkey pull up is not active
56 power-off-time-sec:
61 - compatible
62 - interrupts
63 - interrupt-names
74 const: st,stpmic1-wdt
76 timeout-sec: true
79 - compatible
88 - buck1 for Buck BUCK1
89 - buck2 for Buck BUCK2
90 - buck3 for Buck BUCK3
91 - buck4 for Buck BUCK4
92 - ldo1 for LDO LDO1
93 - ldo2 for LDO LDO2
94 - ldo3 for LDO LDO3
95 - ldo4 for LDO LDO4
96 - ldo5 for LDO LDO5
97 - ldo6 for LDO LDO6
98 - vref_ddr for LDO Vref DDR
99 - boost for Buck BOOST
100 - pwr_sw1 for VBUS_OTG switch
101 - pwr_sw2 for SW_OUT switch
106 const: st,stpmic1-regulators
116 st,mask-reset:
121 regulator-name: true
122 regulator-boot-on: true
123 regulator-always-on: true
124 regulator-min-microvolt: true
125 regulator-max-microvolt: true
126 regulator-allow-bypass: true
127 regulator-over-current-protection: true
139 st,mask-reset:
144 regulator-name: true
145 regulator-boot-on: true
146 regulator-always-on: true
147 regulator-min-microvolt: true
148 regulator-max-microvolt: true
149 regulator-over-current-protection: true
161 st,mask-reset:
166 regulator-name: true
167 regulator-boot-on: true
168 regulator-always-on: true
180 st,mask-reset:
185 regulator-name: true
186 regulator-boot-on: true
187 regulator-always-on: true
188 regulator-over-current-protection: true
193 "^(buck[1-4]|ldo[1-6]|vref_ddr|boost|pwr_sw[1-2])-supply$":
196 "^ldo[1-2,5-6]$":
204 st,mask-reset:
209 regulator-name: true
210 regulator-boot-on: true
211 regulator-always-on: true
212 regulator-min-microvolt: true
213 regulator-max-microvolt: true
214 regulator-over-current-protection: true
215 regulator-enable-ramp-delay: true
219 "^buck[1-4]$":
227 st,mask-reset:
232 regulator-name: true
233 regulator-boot-on: true
234 regulator-always-on: true
235 regulator-min-microvolt: true
236 regulator-max-microvolt: true
237 regulator-initial-mode: true
238 regulator-pull-down: true
239 regulator-over-current-protection: true
240 regulator-enable-ramp-delay: true
244 "^pwr_sw[1-2]$":
252 regulator-name: true
253 regulator-boot-on: true
254 regulator-always-on: true
255 regulator-over-current-protection: true
256 regulator-active-discharge: true
261 - compatible
268 - compatible
269 - reg
270 - interrupts
271 - "#interrupt-cells"
272 - interrupt-controller
275 - |
276 #include <dt-bindings/mfd/st,stpmic1.h>
277 #include <dt-bindings/interrupt-controller/arm-gic.h>
279 #address-cells = <1>;
280 #size-cells = <0>;
284 interrupt-parent = <&gpioa>;
287 interrupt-controller;
288 #interrupt-cells = <2>;
290 onkey {
291 compatible = "st,stpmic1-onkey";
293 interrupt-names = "onkey-falling", "onkey-rising";
294 power-off-time-sec = <10>;
298 compatible = "st,stpmic1-wdt";
302 compatible = "st,stpmic1-regulators";
304 ldo6-supply = <&v3v3>;
307 regulator-name = "vdd_core";
309 st,mask-reset;
310 regulator-boot-on;
311 regulator-min-microvolt = <700000>;
312 regulator-max-microvolt = <1200000>;
316 regulator-name = "vdd";
317 regulator-min-microvolt = <3300000>;
318 regulator-max-microvolt = <3300000>;
319 regulator-boot-on;
320 regulator-pull-down;
324 regulator-name = "v3v3";
326 regulator-min-microvolt = <3300000>;
327 regulator-max-microvolt = <3300000>;
331 regulator-name = "v1v8";
332 regulator-min-microvolt = <1800000>;
333 regulator-max-microvolt = <1800000>;
334 regulator-over-current-protection;