Lines Matching +full:vddch0 +full:- +full:supply
1 // SPDX-License-Identifier: BSD-3-Clause
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
18 qcom,msm-id = <0x124 0x20000>, <0x124 0x20001>; /* 8998v2, v2.1 */
19 qcom,board-id = <8 0>;
23 compatible = "gpio-gate-clock";
24 pinctrl-0 = <&div_clk1>;
25 pinctrl-names = "default";
27 #clock-cells = <0>;
28 enable-gpios = <&pm8998_gpios 13 GPIO_ACTIVE_HIGH>;
32 board_vbat: vbat-regulator {
33 compatible = "regulator-fixed";
34 regulator-name = "VBAT";
36 regulator-min-microvolt = <4000000>;
37 regulator-max-microvolt = <4000000>;
38 regulator-always-on;
39 regulator-boot-on;
42 cam0_vdig_vreg: cam0-vdig {
43 compatible = "regulator-fixed";
44 regulator-name = "cam0_vdig";
45 startup-delay-us = <0>;
46 enable-active-high;
48 pinctrl-names = "default";
49 pinctrl-0 = <&main_cam_pwr_en>;
52 cam1_vdig_vreg: cam1-vdig {
53 compatible = "regulator-fixed";
54 regulator-name = "cam1_vdig";
55 startup-delay-us = <0>;
56 enable-active-high;
58 pinctrl-names = "default";
59 pinctrl-0 = <&chat_cam_pwr_en>;
60 vin-supply = <&vreg_s3a_1p35>;
63 cam_vio_vreg: cam-vio-vreg {
64 compatible = "regulator-fixed";
65 regulator-name = "cam_vio_vreg";
66 startup-delay-us = <0>;
67 enable-active-high;
69 pinctrl-names = "default";
70 pinctrl-0 = <&main_cam_pwr_io_en>;
71 vin-supply = <&vreg_lvs1a_1p8>;
74 touch_vddio_vreg: touch-vddio-vreg {
75 compatible = "regulator-fixed";
76 regulator-name = "touch_vddio_vreg";
77 startup-delay-us = <10000>;
79 pinctrl-names = "default";
80 pinctrl-0 = <&ts_vddio_en>;
83 vph_pwr: vph-pwr-regulator {
84 compatible = "regulator-fixed";
85 regulator-name = "vph_pwr";
86 regulator-always-on;
87 regulator-boot-on;
90 extcon_usb: extcon-usb {
91 compatible = "linux,extcon-usb-gpio";
92 id-gpios = <&tlmm 38 GPIO_ACTIVE_HIGH>;
93 vbus-gpios = <&tlmm 128 GPIO_ACTIVE_HIGH>;
94 pinctrl-names = "default";
95 pinctrl-0 = <&cc_dir_default &usb_detect_en>;
98 gpio-keys {
99 compatible = "gpio-keys";
101 pinctrl-0 = <&focus_n &snapshot_n &vol_down_n &vol_up_n>;
102 pinctrl-names = "default";
103 button-camera-focus {
107 debounce-interval = <15>;
110 button-camera-snapshot {
114 debounce-interval = <15>;
117 button-vol-down {
121 wakeup-source;
122 debounce-interval = <15>;
125 button-vol-up {
129 wakeup-source;
130 debounce-interval = <15>;
134 gpio-hall-sensor {
135 compatible = "gpio-keys";
137 pinctrl-names = "default";
138 pinctrl-0 = <&acc_cover_open>;
140 event-hall-sensor0 {
143 linux,input-type = <EV_SW>;
145 wakeup-source;
146 debounce-interval = <30>;
150 reserved-memory {
151 #address-cells = <2>;
152 #size-cells = <2>;
157 no-map;
162 no-map;
166 compatible = "shared-dma-pool";
168 no-map;
173 no-map;
178 no-map;
184 record-size = <0x10000>;
185 console-size = <0x60000>;
186 ftrace-size = <0x10000>;
187 pmsg-size = <0x20000>;
188 ecc-size = <16>;
193 compatible = "gpio-vibrator";
194 enable-gpios = <&pmi8998_gpios 5 GPIO_ACTIVE_HIGH>;
195 pinctrl-names = "default";
196 pinctrl-0 = <&vib_ldo_en>;
202 clock-frequency = <355000>;
205 compatible = "syna,rmi4-i2c";
207 #address-cells = <1>;
208 #size-cells = <0>;
209 interrupts-extended = <&tlmm 125 IRQ_TYPE_EDGE_FALLING>;
211 pinctrl-names = "default";
212 pinctrl-0 = <&ts_int_n>;
214 vdd-supply = <&vreg_l28_3p0>;
215 vio-supply = <&touch_vddio_vreg>;
217 syna,reset-delay-ms = <220>;
218 syna,startup-delay-ms = <1000>;
220 rmi4-f01@1 {
222 syna,nosleep-mode = <1>;
225 rmi4-f11@11 {
227 syna,sensor-type = <1>;
233 bias-disable;
240 compatible = "qcom,wcn3990-bt";
242 vddio-supply = <&vreg_s4a_1p8>;
243 vddxo-supply = <&vreg_l7a_1p8>;
244 vddrf-supply = <&vreg_l17a_1p3>;
245 vddch0-supply = <&vreg_l25a_3p3>;
246 max-speed = <3200000>;
263 interrupt-parent = <&tlmm>;
266 reset-gpios = <&tlmm 27 GPIO_ACTIVE_LOW>;
267 vdd-supply = <&cam_vio_vreg>;
269 pinctrl-names = "default";
270 pinctrl-0 = <&tof_int_n &tof_reset>;
275 regulator-min-microamp = <800000>;
276 regulator-max-microamp = <800000>;
277 regulator-enable-ramp-delay = <200>;
278 regulator-over-current-protection;
279 regulator-pull-down;
280 regulator-ramp-delay = <1>;
281 regulator-settling-time-up-us = <600>;
282 regulator-settling-time-down-us = <1000>;
283 regulator-soft-start;
284 qcom,discharge-resistor-kohms = <300>;
288 regulator-min-microamp = <200000>;
289 regulator-max-microamp = <200000>;
290 regulator-enable-ramp-delay = <500>;
291 regulator-over-current-protection;
292 regulator-pull-down;
293 regulator-ramp-delay = <1>;
294 regulator-settling-time-up-us = <50000>;
295 regulator-settling-time-down-us = <3000>;
296 regulator-soft-start;
300 gpio-line-names = "NC", /* GPIO_1 */
307 /* VDD_GFX supply */
309 regulator-min-microvolt = <524000>;
310 regulator-max-microvolt = <1088000>;
311 regulator-enable-ramp-delay = <500>;
313 regulator-always-on;
318 gpio-line-names = "UIM_BATT_ALARM", /* GPIO_1 */
345 vol_down_n: vol-down-n-state {
348 bias-pull-up;
349 input-enable;
350 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
353 vol_up_n: vol-up-n-state {
356 bias-pull-up;
357 input-enable;
358 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
361 focus_n: focus-n-state {
364 bias-pull-up;
365 input-enable;
366 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
369 snapshot_n: snapshot-n-state {
372 bias-pull-up;
373 input-enable;
374 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
377 div_clk1: div-clk1-state {
380 power-source = <0>;
385 gpio-line-names = "MAIN_CAM_PWR_IO_EN", /* GPIO_1 */
400 main_cam_pwr_io_en: main-cam-pwr-io-en-state {
403 bias-disable;
404 drive-push-pull;
405 output-low;
406 qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
407 power-source = <1>;
410 vib_ldo_en: vib-ldo-en-state {
413 bias-disable;
414 drive-push-pull;
415 output-low;
416 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
417 power-source = <0>;
422 qcom,power-source = <1>;
426 multi-led {
430 #address-cells = <1>;
431 #size-cells = <0>;
453 vdda-pll-supply = <&vreg_l12a_1p8>;
454 vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
458 regulators-0 {
459 compatible = "qcom,rpm-pm8998-regulators";
461 vdd_s1-supply = <&vph_pwr>;
462 vdd_s2-supply = <&vph_pwr>;
463 vdd_s3-supply = <&vph_pwr>;
464 vdd_s4-supply = <&vph_pwr>;
465 vdd_s5-supply = <&vph_pwr>;
466 vdd_s6-supply = <&vph_pwr>;
467 vdd_s7-supply = <&vph_pwr>;
468 vdd_s8-supply = <&vph_pwr>;
469 vdd_s9-supply = <&vph_pwr>;
470 vdd_s10-supply = <&vph_pwr>;
471 vdd_s11-supply = <&vph_pwr>;
472 vdd_s12-supply = <&vph_pwr>;
473 vdd_s13-supply = <&vph_pwr>;
474 vdd_l1_l27-supply = <&vreg_s7a_1p025>;
475 vdd_l2_l8_l17-supply = <&vreg_s3a_1p35>;
476 vdd_l3_l11-supply = <&vreg_s7a_1p025>;
477 vdd_l4_l5-supply = <&vreg_s7a_1p025>;
478 vdd_l6-supply = <&vreg_s5a_2p04>;
479 vdd_l7_l12_l14_l15-supply = <&vreg_s5a_2p04>;
480 vdd_l9-supply = <&vreg_bob>;
481 vdd_l10_l23_l25-supply = <&vreg_bob>;
482 vdd_l13_l19_l21-supply = <&vreg_bob>;
483 vdd_l16_l28-supply = <&vreg_bob>;
484 vdd_l18_l22-supply = <&vreg_bob>;
485 vdd_l20_l24-supply = <&vreg_bob>;
486 vdd_l26-supply = <&vreg_s3a_1p35>;
487 vdd_lvs1_lvs2-supply = <&vreg_s4a_1p8>;
490 regulator-min-microvolt = <1352000>;
491 regulator-max-microvolt = <1352000>;
495 regulator-min-microvolt = <1800000>;
496 regulator-max-microvolt = <1800000>;
497 regulator-system-load = <100000>;
498 regulator-allow-set-load;
502 regulator-min-microvolt = <1904000>;
503 regulator-max-microvolt = <2032000>;
507 regulator-min-microvolt = <900000>;
508 regulator-max-microvolt = <1028000>;
512 regulator-min-microvolt = <880000>;
513 regulator-max-microvolt = <880000>;
514 regulator-system-load = <73400>;
515 regulator-allow-set-load;
519 regulator-min-microvolt = <1200000>;
520 regulator-max-microvolt = <1200000>;
521 regulator-system-load = <12560>;
522 regulator-allow-set-load;
526 regulator-min-microvolt = <1000000>;
527 regulator-max-microvolt = <1000000>;
531 regulator-min-microvolt = <800000>;
532 regulator-max-microvolt = <800000>;
536 regulator-min-microvolt = <1800000>;
537 regulator-max-microvolt = <1800000>;
541 regulator-min-microvolt = <1800000>;
542 regulator-max-microvolt = <1800000>;
546 regulator-min-microvolt = <1200000>;
547 regulator-max-microvolt = <1200000>;
551 regulator-min-microvolt = <1808000>;
552 regulator-max-microvolt = <2960000>;
556 regulator-min-microvolt = <1808000>;
557 regulator-max-microvolt = <2960000>;
561 regulator-min-microvolt = <1000000>;
562 regulator-max-microvolt = <1000000>;
566 regulator-min-microvolt = <1800000>;
567 regulator-max-microvolt = <1800000>;
571 regulator-min-microvolt = <1808000>;
572 regulator-max-microvolt = <2960000>;
573 regulator-allow-set-load;
577 regulator-min-microvolt = <1848000>;
578 regulator-max-microvolt = <1856000>;
579 regulator-system-load = <32000>;
580 regulator-allow-set-load;
584 regulator-min-microvolt = <1800000>;
585 regulator-max-microvolt = <1800000>;
589 regulator-min-microvolt = <2704000>;
590 regulator-max-microvolt = <2704000>;
594 regulator-min-microvolt = <1304000>;
595 regulator-max-microvolt = <1304000>;
601 regulator-min-microvolt = <2696000>;
602 regulator-max-microvolt = <2704000>;
606 regulator-min-microvolt = <2960000>;
607 regulator-max-microvolt = <2960000>;
608 regulator-system-load = <10000>;
609 regulator-allow-set-load;
613 regulator-min-microvolt = <2960000>;
614 regulator-max-microvolt = <2960000>;
615 regulator-system-load = <800000>;
616 regulator-allow-set-load;
622 regulator-min-microvolt = <3312000>;
623 regulator-max-microvolt = <3312000>;
627 regulator-min-microvolt = <3088000>;
628 regulator-max-microvolt = <3088000>;
632 regulator-min-microvolt = <3104000>;
633 regulator-max-microvolt = <3312000>;
637 regulator-min-microvolt = <1200000>;
638 regulator-max-microvolt = <1200000>;
639 regulator-allow-set-load;
643 regulator-min-microvolt = <3000000>;
644 regulator-max-microvolt = <3000000>;
652 regulators-1 {
653 compatible = "qcom,rpm-pmi8998-regulators";
655 vdd_bob-supply = <&vph_pwr>;
658 regulator-min-microvolt = <3312000>;
659 regulator-max-microvolt = <3600000>;
666 cd-gpios = <&tlmm 95 GPIO_ACTIVE_HIGH>;
668 vmmc-supply = <&vreg_l21a_2p95>;
669 vqmmc-supply = <&vreg_l13a_2p95>;
671 pinctrl-names = "default", "sleep";
672 pinctrl-0 = <&sdc2_on &sdc2_cd>;
673 pinctrl-1 = <&sdc2_off &sdc2_cd>;
677 gpio-reserved-ranges = <0 4>, <81 4>;
678 gpio-line-names = "", /* GPIO_0 */
829 mdp_vsync_p: mdp-vsync-p-state {
832 drive-strength = <2>;
833 bias-pull-down;
836 nfc_ven: nfc-ven-state {
839 bias-disable;
840 drive-strength = <2>;
841 output-low;
844 cam_mclk0_active: cam-mclk0-active-state {
847 drive-strength = <2>;
848 bias-disable;
851 cam_mclk1_active: cam-mclk1-active-state {
854 drive-strength = <2>;
855 bias-disable;
858 cci0_default: cci0-default-state {
861 bias-disable;
862 drive-strength = <2>;
865 cci1_default: cci1-default-state {
868 bias-disable;
869 drive-strength = <2>;
872 main_cam_pwr_en: main-cam-pwr-en-default-state {
875 bias-disable;
876 drive-strength = <2>;
879 tof_int_n: tof-int-n-state {
882 bias-pull-up;
883 drive-strength = <2>;
886 chat_cam_pwr_en: chat-cam-pwr-en-default-state {
889 bias-disable;
890 drive-strength = <2>;
893 tof_reset: tof-reset-state {
896 bias-disable;
897 drive-strength = <2>;
900 cc_dir_default: cc-dir-active-state {
903 bias-disable;
904 drive-strength = <16>;
907 acc_cover_open: acc-cover-open-state {
910 bias-disable;
911 drive-strength = <2>;
914 ts_int_n: ts-int-n-state {
917 drive-strength = <8>;
918 bias-pull-up;
921 usb_detect_en: usb-detect-en-active-state {
924 bias-disable;
925 drive-strength = <2>;
926 output-low;
929 ts_vddio_en: ts-vddio-en-default-state {
932 bias-disable;
933 drive-strength = <2>;
934 output-low;
940 * Disable UFS until card quirks are in to avoid unrecoverable hard-brick
957 /* Force to peripheral until we have Type-C hooked up */
965 vdda-phy-supply = <&vreg_l1a_0p875>;
966 vdda-pll-supply = <&vreg_l2a_1p2>;