Lines Matching +full:pm8941 +full:- +full:charger
1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974.dtsi"
4 #include "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>
12 chassis-type = "handset";
20 stdout-path = "serial0:115200n8";
23 gpio-keys {
24 compatible = "gpio-keys";
26 pinctrl-names = "default";
27 pinctrl-0 = <&gpio_keys_pin_a>;
29 key-volume-up {
32 linux,input-type = <1>;
36 key-volume-down {
39 linux,input-type = <1>;
45 compatible = "clk-pwm";
48 pinctrl-0 = <&vibrator_pin>;
49 pinctrl-names = "default";
51 #pwm-cells = <2>;
55 compatible = "pwm-vibrator";
57 pwm-names = "enable";
59 vcc-supply = <&pm8941_l19>;
60 enable-gpios = <&tlmm 60 GPIO_ACTIVE_HIGH>;
63 vreg_boost: vreg-boost {
64 compatible = "regulator-fixed";
66 regulator-name = "vreg-boost";
67 regulator-min-microvolt = <3150000>;
68 regulator-max-microvolt = <3150000>;
70 regulator-always-on;
71 regulator-boot-on;
74 enable-active-high;
76 pinctrl-names = "default";
77 pinctrl-0 = <&boost_bypass_n_pin>;
80 vreg_vph_pwr: vreg-vph-pwr {
81 compatible = "regulator-fixed";
82 regulator-name = "vph-pwr";
84 regulator-min-microvolt = <3600000>;
85 regulator-max-microvolt = <3600000>;
87 regulator-always-on;
90 vreg_wlan: wlan-regulator {
91 compatible = "regulator-fixed";
93 regulator-name = "wl-reg";
94 regulator-min-microvolt = <3300000>;
95 regulator-max-microvolt = <3300000>;
98 enable-active-high;
100 pinctrl-names = "default";
101 pinctrl-0 = <&wlan_regulator_pin>;
107 clock-frequency = <100000>;
109 charger: bq24192@6b {
112 interrupts-extended = <&spmi_bus 0 0xd5 0 IRQ_TYPE_EDGE_FALLING>;
114 omit-battery-class;
116 usb_otg_vbus: usb-otg-vbus { };
123 maxim,double-soc;
126 interrupt-parent = <&tlmm>;
129 pinctrl-names = "default";
130 pinctrl-0 = <&fuelgauge_pin>;
132 maxim,alert-low-soc-level = <2>;
138 clock-frequency = <355000>;
141 compatible = "syna,rmi4-i2c";
144 interrupts-extended = <&tlmm 5 IRQ_TYPE_EDGE_FALLING>;
145 vdd-supply = <&pm8941_l22>;
146 vio-supply = <&pm8941_lvs3>;
148 pinctrl-names = "default";
149 pinctrl-0 = <&touch_pin>;
151 #address-cells = <1>;
152 #size-cells = <0>;
154 rmi4-f01@1 {
156 syna,nosleep-mode = <1>;
159 rmi4-f12@12 {
161 syna,sensor-type = <1>;
168 clock-frequency = <100000>;
173 interrupts-extended = <&tlmm 61 IRQ_TYPE_EDGE_FALLING>;
174 vdd-supply = <&pm8941_l17>;
175 vddio-supply = <&pm8941_lvs1>;
176 led-max-microamp = <100000>;
177 amstaos,proximity-diodes = <0>;
183 clock-frequency = <355000>;
185 led-controller@38 {
190 #address-cells = <1>;
191 #size-cells = <0>;
195 led-sources = <0 1>;
196 label = "lcd-backlight";
197 default-brightness = <200>;
204 clock-frequency = <100000>;
209 interrupts-extended = <&tlmm 73 IRQ_TYPE_EDGE_FALLING>;
210 vddio-supply = <&pm8941_lvs1>;
212 pinctrl-names = "default";
213 pinctrl-0 = <&mpu6515_pin>;
215 mount-matrix = "0", "-1", "0",
216 "-1", "0", "0",
219 i2c-gate {
220 #address-cells = <1>;
221 #size-cells = <0>;
223 compatible = "asahi-kasei,ak8963";
226 vid-supply = <&pm8941_lvs1>;
227 vdd-supply = <&pm8941_l17>;
233 vdda-supply = <&pm8941_lvs1>;
234 vddd-supply = <&pm8941_l17>;
248 compatible = "brcm,bcm43438-bt";
249 max-speed = <3000000>;
251 pinctrl-names = "default";
252 pinctrl-0 = <&bt_pin>;
254 host-wakeup-gpios = <&tlmm 42 GPIO_ACTIVE_HIGH>;
255 device-wakeup-gpios = <&tlmm 62 GPIO_ACTIVE_HIGH>;
256 shutdown-gpios = <&tlmm 41 GPIO_ACTIVE_HIGH>;
267 vdda-supply = <&pm8941_l2>;
268 vdd-supply = <&pm8941_lvs3>;
269 vddio-supply = <&pm8941_l12>;
273 compatible = "lg,acx467akm-7";
275 pinctrl-names = "default";
276 pinctrl-0 = <&panel_pin>;
280 remote-endpoint = <&mdss_dsi0_out>;
287 remote-endpoint = <&panel_in>;
288 data-lanes = <0 1 2 3>;
294 vddio-supply = <&pm8941_l12>;
298 gpio_keys_pin_a: gpio-keys-active-state {
302 bias-pull-up;
303 power-source = <PM8941_GPIO_S3>;
306 fuelgauge_pin: fuelgauge-int-state {
310 bias-disable;
311 input-enable;
312 power-source = <PM8941_GPIO_S3>;
315 wlan_sleep_clk_pin: wl-sleep-clk-state {
319 output-high;
320 power-source = <PM8941_GPIO_S3>;
323 wlan_regulator_pin: wl-reg-active-state {
327 bias-disable;
328 power-source = <PM8941_GPIO_S3>;
332 gpio-hog;
334 output-high;
335 line-name = "otg-gpio";
342 qcom,power-source = <1>;
344 multi-led {
348 #address-cells = <1>;
349 #size-cells = <0>;
369 cx-supply = <&pm8841_s2>;
374 cx-supply = <&pm8841_s2>;
375 mss-supply = <&pm8841_s3>;
376 mx-supply = <&pm8841_s1>;
377 pll-supply = <&pm8941_l12>;
382 regulators-0 {
383 compatible = "qcom,rpm-pm8841-regulators";
386 regulator-min-microvolt = <675000>;
387 regulator-max-microvolt = <1050000>;
391 regulator-min-microvolt = <500000>;
392 regulator-max-microvolt = <1050000>;
396 regulator-min-microvolt = <1050000>;
397 regulator-max-microvolt = <1050000>;
401 regulator-min-microvolt = <815000>;
402 regulator-max-microvolt = <900000>;
406 regulators-1 {
407 compatible = "qcom,rpm-pm8941-regulators";
409 vdd_l1_l3-supply = <&pm8941_s1>;
410 vdd_l2_lvs1_2_3-supply = <&pm8941_s3>;
411 vdd_l4_l11-supply = <&pm8941_s1>;
412 vdd_l5_l7-supply = <&pm8941_s2>;
413 vdd_l6_l12_l14_l15-supply = <&pm8941_s2>;
414 vdd_l8_l16_l18_l19-supply = <&vreg_vph_pwr>;
415 vdd_l9_l10_l17_l22-supply = <&vreg_boost>;
416 vdd_l13_l20_l23_l24-supply = <&vreg_boost>;
417 vdd_l21-supply = <&vreg_boost>;
420 regulator-min-microvolt = <1300000>;
421 regulator-max-microvolt = <1300000>;
422 regulator-always-on;
423 regulator-boot-on;
427 regulator-min-microvolt = <2150000>;
428 regulator-max-microvolt = <2150000>;
429 regulator-boot-on;
433 regulator-min-microvolt = <1800000>;
434 regulator-max-microvolt = <1800000>;
435 regulator-always-on;
436 regulator-boot-on;
440 regulator-min-microvolt = <1225000>;
441 regulator-max-microvolt = <1225000>;
442 regulator-always-on;
443 regulator-boot-on;
447 regulator-min-microvolt = <1200000>;
448 regulator-max-microvolt = <1200000>;
452 regulator-min-microvolt = <1225000>;
453 regulator-max-microvolt = <1225000>;
457 regulator-min-microvolt = <1225000>;
458 regulator-max-microvolt = <1225000>;
462 regulator-min-microvolt = <1800000>;
463 regulator-max-microvolt = <1800000>;
467 regulator-min-microvolt = <1800000>;
468 regulator-max-microvolt = <1800000>;
469 regulator-boot-on;
473 regulator-min-microvolt = <1800000>;
474 regulator-max-microvolt = <1800000>;
475 regulator-boot-on;
479 regulator-min-microvolt = <1800000>;
480 regulator-max-microvolt = <1800000>;
484 regulator-min-microvolt = <1800000>;
485 regulator-max-microvolt = <2950000>;
489 regulator-min-microvolt = <1800000>;
490 regulator-max-microvolt = <2950000>;
494 regulator-min-microvolt = <1300000>;
495 regulator-max-microvolt = <1300000>;
499 regulator-min-microvolt = <1800000>;
500 regulator-max-microvolt = <1800000>;
501 regulator-always-on;
502 regulator-boot-on;
506 regulator-min-microvolt = <1800000>;
507 regulator-max-microvolt = <2950000>;
508 regulator-boot-on;
512 regulator-min-microvolt = <1800000>;
513 regulator-max-microvolt = <1800000>;
517 regulator-min-microvolt = <2050000>;
518 regulator-max-microvolt = <2050000>;
522 regulator-min-microvolt = <2700000>;
523 regulator-max-microvolt = <2700000>;
527 regulator-min-microvolt = <2850000>;
528 regulator-max-microvolt = <2850000>;
532 regulator-min-microvolt = <2850000>;
533 regulator-max-microvolt = <2850000>;
537 regulator-min-microvolt = <3000000>;
538 regulator-max-microvolt = <3300000>;
542 regulator-min-microvolt = <2950000>;
543 regulator-max-microvolt = <2950000>;
544 regulator-system-load = <200000>;
545 regulator-allow-set-load;
546 regulator-boot-on;
550 regulator-min-microvolt = <2950000>;
551 regulator-max-microvolt = <2950000>;
552 regulator-boot-on;
556 regulator-min-microvolt = <3000000>;
557 regulator-max-microvolt = <3300000>;
561 regulator-min-microvolt = <3000000>;
562 regulator-max-microvolt = <3000000>;
566 regulator-min-microvolt = <3075000>;
567 regulator-max-microvolt = <3075000>;
568 regulator-boot-on;
579 vmmc-supply = <&pm8941_l20>;
580 vqmmc-supply = <&pm8941_s3>;
582 pinctrl-names = "default", "sleep";
583 pinctrl-0 = <&sdc1_on>;
584 pinctrl-1 = <&sdc1_off>;
590 max-frequency = <100000000>;
591 vmmc-supply = <&vreg_wlan>;
592 vqmmc-supply = <&pm8941_s3>;
593 non-removable;
595 pinctrl-names = "default", "sleep";
596 pinctrl-0 = <&sdc2_on>;
597 pinctrl-1 = <&sdc2_off>;
600 compatible = "brcm,bcm4339-fmac", "brcm,bcm4329-fmac";
603 brcm,drive-strength = <10>;
605 pinctrl-names = "default";
606 pinctrl-0 = <&wlan_sleep_clk_pin>;
611 sdc1_on: sdc1-on-state {
612 clk-pins {
614 drive-strength = <16>;
615 bias-disable;
618 cmd-data-pins {
620 drive-strength = <10>;
621 bias-pull-up;
625 sdc2_on: sdc2-on-state {
626 clk-pins {
628 drive-strength = <6>;
629 bias-disable;
632 cmd-data-pins {
634 drive-strength = <6>;
635 bias-pull-up;
639 mpu6515_pin: mpu6515-state {
642 bias-disable;
645 touch_pin: touch-state {
646 int-pins {
650 drive-strength = <2>;
651 bias-disable;
654 reset-pins {
658 drive-strength = <2>;
659 bias-pull-up;
663 panel_pin: panel-state {
666 drive-strength = <2>;
667 bias-disable;
670 bt_pin: bt-state {
671 hostwake-pins {
676 devwake-pins {
681 shutdown-pins {
687 vibrator_pin: vibrator-state {
688 core-pins {
691 drive-strength = <6>;
692 bias-disable;
695 enable-pins {
698 drive-strength = <2>;
699 bias-disable;
708 phy-select = <&tcsr 0xb000 0>;
710 extcon = <&charger>, <&usb_id>;
711 vbus-supply = <&usb_otg_vbus>;
713 hnp-disable;
714 srp-disable;
715 adp-disable;
721 v1p8-supply = <&pm8941_l6>;
722 v3p3-supply = <&pm8941_l24>;
724 qcom,init-seq = /bits/ 8 <0x1 0x64>;