Lines Matching +full:regulator +full:- +full:system +full:- +full:load
1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974pro.dtsi"
3 #include "qcom-pm8841.dtsi"
4 #include "qcom-pm8941.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
11 compatible = "sony,xperia-castor", "qcom,msm8974";
19 stdout-path = "serial0:115200n8";
22 gpio-keys {
23 compatible = "gpio-keys";
25 pinctrl-names = "default";
26 pinctrl-0 = <&gpio_keys_pin_a>;
28 key-volume-down {
31 linux,input-type = <1>;
35 key-camera-snapshot {
38 linux,input-type = <1>;
42 key-camera-focus {
45 linux,input-type = <1>;
49 key-volume-up {
52 linux,input-type = <1>;
57 vreg_bl_vddio: lcd-backlight-vddio {
58 compatible = "regulator-fixed";
59 regulator-name = "vreg_bl_vddio";
60 regulator-min-microvolt = <3150000>;
61 regulator-max-microvolt = <3150000>;
64 enable-active-high;
66 vin-supply = <&pm8941_s3>;
67 startup-delay-us = <70000>;
69 pinctrl-names = "default";
70 pinctrl-0 = <&lcd_backlight_en_pin_a>;
73 vreg_vsp: lcd-dcdc-regulator {
74 compatible = "regulator-fixed";
75 regulator-name = "vreg_vsp";
76 regulator-min-microvolt = <5600000>;
77 regulator-max-microvolt = <5600000>;
80 enable-active-high;
82 pinctrl-names = "default";
83 pinctrl-0 = <&lcd_dcdc_en_pin_a>;
86 vreg_wlan: wlan-regulator {
87 compatible = "regulator-fixed";
89 regulator-name = "wl-reg";
90 regulator-min-microvolt = <3300000>;
91 regulator-max-microvolt = <3300000>;
94 enable-active-high;
96 pinctrl-names = "default";
97 pinctrl-0 = <&wlan_regulator_pin>;
107 clock-frequency = <355000>;
110 compatible = "syna,rmi4-i2c";
113 interrupt-parent = <&tlmm>;
116 #address-cells = <1>;
117 #size-cells = <0>;
119 vdd-supply = <&pm8941_l22>;
120 vio-supply = <&pm8941_lvs3>;
122 pinctrl-names = "default";
123 pinctrl-0 = <&ts_int_pin>;
125 syna,startup-delay-ms = <10>;
127 rmi-f01@1 {
132 rmi-f11@11 {
134 syna,f11-flip-x = <1>;
135 syna,sensor-type = <1>;
142 clock-frequency = <355000>;
147 power-supply = <&vreg_bl_vddio>;
149 bl-name = "backlight";
150 dev-ctrl = /bits/ 8 <0x05>;
151 init-brt = /bits/ 8 <0x3f>;
153 rom-addr = /bits/ 8 <0xa0>;
154 rom-val = /bits/ 8 <0xff>;
157 rom-addr = /bits/ 8 <0xa1>;
158 rom-val = /bits/ 8 <0x3f>;
161 rom-addr = /bits/ 8 <0xa2>;
162 rom-val = /bits/ 8 <0x20>;
165 rom-addr = /bits/ 8 <0xa3>;
166 rom-val = /bits/ 8 <0x5e>;
169 rom-addr = /bits/ 8 <0xa4>;
170 rom-val = /bits/ 8 <0x02>;
173 rom-addr = /bits/ 8 <0xa5>;
174 rom-val = /bits/ 8 <0x04>;
177 rom-addr = /bits/ 8 <0xa6>;
178 rom-val = /bits/ 8 <0x80>;
181 rom-addr = /bits/ 8 <0xa7>;
182 rom-val = /bits/ 8 <0xf7>;
185 rom-addr = /bits/ 8 <0xa9>;
186 rom-val = /bits/ 8 <0x80>;
189 rom-addr = /bits/ 8 <0xaa>;
190 rom-val = /bits/ 8 <0x0f>;
193 rom-addr = /bits/ 8 <0xae>;
194 rom-val = /bits/ 8 <0x0f>;
203 compatible = "brcm,bcm43438-bt";
204 max-speed = <3000000>;
206 pinctrl-names = "default";
207 pinctrl-0 = <&bt_host_wake_pin>, <&bt_dev_wake_pin>, <&bt_reg_on_pin>;
209 host-wakeup-gpios = <&tlmm 95 GPIO_ACTIVE_HIGH>;
210 device-wakeup-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>;
211 shutdown-gpios = <&pm8941_gpios 16 GPIO_ACTIVE_HIGH>;
219 phy-select = <&tcsr 0xb000 0>;
221 vbus-supply = <&chg_otg>;
223 hnp-disable;
224 srp-disable;
225 adp-disable;
231 v1p8-supply = <&pm8941_l6>;
232 v3p3-supply = <&pm8941_l24>;
235 qcom,init-seq = /bits/ 8 <0x1 0x64>;
243 qcom,rset-ohms = <2100>;
244 qcom,vset-millivolts = <3000>;
248 gpio_keys_pin_a: gpio-keys-active-state {
252 bias-pull-up;
253 power-source = <PM8941_GPIO_S3>;
256 bt_reg_on_pin: bt-reg-on-state {
260 output-low;
261 power-source = <PM8941_GPIO_S3>;
264 wlan_sleep_clk_pin: wl-sleep-clk-state {
268 output-high;
269 power-source = <PM8941_GPIO_S3>;
272 wlan_regulator_pin: wl-reg-active-state {
276 bias-disable;
277 power-source = <PM8941_GPIO_S3>;
280 lcd_dcdc_en_pin_a: lcd-dcdc-en-active-state {
284 bias-disable;
285 power-source = <PM8941_GPIO_S3>;
286 input-disable;
287 output-low;
295 qcom,power-source = <1>;
297 rgb-led {
301 #address-cells = <1>;
302 #size-cells = <0>;
322 pm8941-regulators {
323 compatible = "qcom,rpm-pm8941-regulators";
325 vdd_l1_l3-supply = <&pm8941_s1>;
326 vdd_l2_lvs1_2_3-supply = <&pm8941_s3>;
327 vdd_l4_l11-supply = <&pm8941_s1>;
328 vdd_l5_l7-supply = <&pm8941_s2>;
329 vdd_l6_l12_l14_l15-supply = <&pm8941_s2>;
330 vdd_l9_l10_l17_l22-supply = <&vreg_boost>;
331 vdd_l13_l20_l23_l24-supply = <&vreg_boost>;
332 vdd_l21-supply = <&vreg_boost>;
335 regulator-min-microvolt = <1300000>;
336 regulator-max-microvolt = <1300000>;
337 regulator-always-on;
338 regulator-boot-on;
342 regulator-min-microvolt = <2150000>;
343 regulator-max-microvolt = <2150000>;
344 regulator-boot-on;
348 regulator-min-microvolt = <1800000>;
349 regulator-max-microvolt = <1800000>;
350 regulator-system-load = <154000>;
351 regulator-always-on;
352 regulator-boot-on;
356 regulator-min-microvolt = <5000000>;
357 regulator-max-microvolt = <5000000>;
361 regulator-min-microvolt = <1225000>;
362 regulator-max-microvolt = <1225000>;
363 regulator-always-on;
364 regulator-boot-on;
368 regulator-min-microvolt = <1200000>;
369 regulator-max-microvolt = <1200000>;
373 regulator-min-microvolt = <1200000>;
374 regulator-max-microvolt = <1200000>;
378 regulator-min-microvolt = <1225000>;
379 regulator-max-microvolt = <1225000>;
383 regulator-min-microvolt = <1800000>;
384 regulator-max-microvolt = <1800000>;
388 regulator-min-microvolt = <1800000>;
389 regulator-max-microvolt = <1800000>;
390 regulator-boot-on;
394 regulator-min-microvolt = <1800000>;
395 regulator-max-microvolt = <1800000>;
396 regulator-boot-on;
400 regulator-min-microvolt = <1800000>;
401 regulator-max-microvolt = <1800000>;
405 regulator-min-microvolt = <1800000>;
406 regulator-max-microvolt = <2950000>;
410 regulator-min-microvolt = <1300000>;
411 regulator-max-microvolt = <1350000>;
415 regulator-min-microvolt = <1800000>;
416 regulator-max-microvolt = <1800000>;
417 regulator-always-on;
418 regulator-boot-on;
422 regulator-min-microvolt = <1800000>;
423 regulator-max-microvolt = <2950000>;
424 regulator-boot-on;
428 regulator-min-microvolt = <1800000>;
429 regulator-max-microvolt = <1800000>;
433 regulator-min-microvolt = <2050000>;
434 regulator-max-microvolt = <2050000>;
438 regulator-min-microvolt = <2700000>;
439 regulator-max-microvolt = <2700000>;
443 regulator-min-microvolt = <2700000>;
444 regulator-max-microvolt = <2700000>;
448 regulator-min-microvolt = <2850000>;
449 regulator-max-microvolt = <2850000>;
453 regulator-min-microvolt = <2850000>;
454 regulator-max-microvolt = <2850000>;
458 regulator-min-microvolt = <2950000>;
459 regulator-max-microvolt = <2950000>;
460 regulator-system-load = <500000>;
461 regulator-allow-set-load;
462 regulator-boot-on;
466 regulator-min-microvolt = <2950000>;
467 regulator-max-microvolt = <2950000>;
468 regulator-boot-on;
472 regulator-min-microvolt = <3000000>;
473 regulator-max-microvolt = <3000000>;
477 regulator-min-microvolt = <2800000>;
478 regulator-max-microvolt = <2800000>;
482 regulator-min-microvolt = <3075000>;
483 regulator-max-microvolt = <3075000>;
484 regulator-boot-on;
494 vmmc-supply = <&pm8941_l20>;
495 vqmmc-supply = <&pm8941_s3>;
497 pinctrl-names = "default", "sleep";
498 pinctrl-0 = <&sdc1_on>;
499 pinctrl-1 = <&sdc1_off>;
505 vmmc-supply = <&pm8941_l21>;
506 vqmmc-supply = <&pm8941_l13>;
508 cd-gpios = <&tlmm 62 GPIO_ACTIVE_LOW>;
510 pinctrl-names = "default", "sleep";
511 pinctrl-0 = <&sdc2_on>;
512 pinctrl-1 = <&sdc2_off>;
518 max-frequency = <100000000>;
519 vmmc-supply = <&vreg_wlan>;
520 non-removable;
522 pinctrl-names = "default";
523 pinctrl-0 = <&sdc3_on>;
525 #address-cells = <1>;
526 #size-cells = <0>;
529 compatible = "brcm,bcm4339-fmac", "brcm,bcm4329-fmac";
532 brcm,drive-strength = <10>;
534 pinctrl-names = "default";
535 pinctrl-0 = <&wlan_sleep_clk_pin>;
540 qcom,fast-charge-safe-current = <1500000>;
541 qcom,fast-charge-current-limit = <1500000>;
542 qcom,dc-current-limit = <1800000>;
543 qcom,fast-charge-safe-voltage = <4400000>;
544 qcom,fast-charge-high-threshold-voltage = <4350000>;
545 qcom,fast-charge-low-threshold-voltage = <3400000>;
546 qcom,auto-recharge-threshold-voltage = <4200000>;
547 qcom,minimum-input-voltage = <4300000>;
551 lcd_backlight_en_pin_a: lcd-backlight-vddio {
553 drive-strength = <10>;
554 output-low;
555 bias-disable;
558 sdc1_on: sdc1-on {
561 drive-strength = <16>;
562 bias-disable;
565 cmd-data {
567 drive-strength = <10>;
568 bias-pull-up;
572 sdc2_on: sdc2-on {
575 drive-strength = <6>;
576 bias-disable;
579 cmd-data {
581 drive-strength = <6>;
582 bias-pull-up;
588 drive-strength = <2>;
589 bias-disable;
593 sdc3_on: sdc3-on {
597 drive-strength = <10>;
598 bias-disable;
604 drive-strength = <10>;
605 bias-pull-up;
611 drive-strength = <10>;
612 bias-pull-up;
616 ts_int_pin: ts-int-pin {
619 drive-strength = <2>;
620 bias-disable;
621 input-enable;
624 bt_host_wake_pin: bt-host-wake {
627 drive-strength = <2>;
628 bias-disable;
629 output-low;
632 bt_dev_wake_pin: bt-dev-wake {
635 drive-strength = <2>;
636 bias-disable;