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_wlan: wlan-regulator {
64 compatible = "regulator-fixed";
66 regulator-name = "wl-reg";
67 regulator-min-microvolt = <3300000>;
68 regulator-max-microvolt = <3300000>;
71 enable-active-high;
73 pinctrl-names = "default";
74 pinctrl-0 = <&wlan_regulator_pin>;
80 clock-frequency = <100000>;
82 charger: bq24192@6b { label
85 interrupts-extended = <&spmi_bus 0 0xd5 0 IRQ_TYPE_EDGE_FALLING>;
87 omit-battery-class;
89 usb_otg_vbus: usb-otg-vbus { };
96 maxim,double-soc;
99 interrupt-parent = <&tlmm>;
102 pinctrl-names = "default";
103 pinctrl-0 = <&fuelgauge_pin>;
105 maxim,alert-low-soc-level = <2>;
111 clock-frequency = <355000>;
114 compatible = "syna,rmi4-i2c";
117 interrupts-extended = <&tlmm 5 IRQ_TYPE_EDGE_FALLING>;
118 vdd-supply = <&pm8941_l22>;
119 vio-supply = <&pm8941_lvs3>;
121 pinctrl-names = "default";
122 pinctrl-0 = <&touch_pin>;
124 #address-cells = <1>;
125 #size-cells = <0>;
127 rmi4-f01@1 {
129 syna,nosleep-mode = <1>;
132 rmi4-f12@12 {
134 syna,sensor-type = <1>;
141 clock-frequency = <100000>;
146 interrupts-extended = <&tlmm 61 IRQ_TYPE_EDGE_FALLING>;
147 vdd-supply = <&pm8941_l17>;
148 vddio-supply = <&pm8941_lvs1>;
149 led-max-microamp = <100000>;
150 amstaos,proximity-diodes = <0>;
156 clock-frequency = <355000>;
158 led-controller@38 {
163 #address-cells = <1>;
164 #size-cells = <0>;
168 led-sources = <0 1>;
169 label = "lcd-backlight";
170 default-brightness = <200>;
177 clock-frequency = <100000>;
182 interrupts-extended = <&tlmm 73 IRQ_TYPE_EDGE_FALLING>;
183 vddio-supply = <&pm8941_lvs1>;
185 pinctrl-names = "default";
186 pinctrl-0 = <&mpu6515_pin>;
188 mount-matrix = "0", "-1", "0",
189 "-1", "0", "0",
192 i2c-gate {
193 #address-cells = <1>;
194 #size-cells = <0>;
196 compatible = "asahi-kasei,ak8963";
199 vid-supply = <&pm8941_lvs1>;
200 vdd-supply = <&pm8941_l17>;
206 vdda-supply = <&pm8941_lvs1>;
207 vddd-supply = <&pm8941_l17>;
221 compatible = "brcm,bcm43438-bt";
222 max-speed = <3000000>;
224 pinctrl-names = "default";
225 pinctrl-0 = <&bt_pin>;
227 host-wakeup-gpios = <&tlmm 42 GPIO_ACTIVE_HIGH>;
228 device-wakeup-gpios = <&tlmm 62 GPIO_ACTIVE_HIGH>;
229 shutdown-gpios = <&tlmm 41 GPIO_ACTIVE_HIGH>;
240 vdda-supply = <&pm8941_l2>;
241 vdd-supply = <&pm8941_lvs3>;
242 vddio-supply = <&pm8941_l12>;
246 compatible = "lg,acx467akm-7";
248 pinctrl-names = "default";
249 pinctrl-0 = <&panel_pin>;
253 remote-endpoint = <&mdss_dsi0_out>;
260 remote-endpoint = <&panel_in>;
261 data-lanes = <0 1 2 3>;
267 vddio-supply = <&pm8941_l12>;
271 gpio_keys_pin_a: gpio-keys-active-state {
275 bias-pull-up;
276 power-source = <PM8941_GPIO_S3>;
279 fuelgauge_pin: fuelgauge-int-state {
283 bias-disable;
284 input-enable;
285 power-source = <PM8941_GPIO_S3>;
288 wlan_sleep_clk_pin: wl-sleep-clk-state {
292 output-high;
293 power-source = <PM8941_GPIO_S3>;
296 wlan_regulator_pin: wl-reg-active-state {
300 bias-disable;
301 power-source = <PM8941_GPIO_S3>;
305 gpio-hog;
307 output-high;
308 line-name = "otg-gpio";
315 qcom,power-source = <1>;
317 multi-led {
321 #address-cells = <1>;
322 #size-cells = <0>;
342 cx-supply = <&pm8841_s2>;
346 cx-supply = <&pm8841_s2>;
347 mss-supply = <&pm8841_s3>;
348 mx-supply = <&pm8841_s1>;
349 pll-supply = <&pm8941_l12>;
353 regulators-0 {
354 compatible = "qcom,rpm-pm8841-regulators";
357 regulator-min-microvolt = <675000>;
358 regulator-max-microvolt = <1050000>;
362 regulator-min-microvolt = <500000>;
363 regulator-max-microvolt = <1050000>;
367 regulator-min-microvolt = <1050000>;
368 regulator-max-microvolt = <1050000>;
372 regulator-min-microvolt = <815000>;
373 regulator-max-microvolt = <900000>;
377 regulators-1 {
378 compatible = "qcom,rpm-pm8941-regulators";
380 vdd_l1_l3-supply = <&pm8941_s1>;
381 vdd_l2_lvs1_2_3-supply = <&pm8941_s3>;
382 vdd_l4_l11-supply = <&pm8941_s1>;
383 vdd_l5_l7-supply = <&pm8941_s2>;
384 vdd_l6_l12_l14_l15-supply = <&pm8941_s2>;
385 vdd_l8_l16_l18_l19-supply = <&vreg_vph_pwr>;
386 vdd_l9_l10_l17_l22-supply = <&vreg_boost>;
387 vdd_l13_l20_l23_l24-supply = <&vreg_boost>;
388 vdd_l21-supply = <&vreg_boost>;
391 regulator-min-microvolt = <1300000>;
392 regulator-max-microvolt = <1300000>;
393 regulator-always-on;
394 regulator-boot-on;
398 regulator-min-microvolt = <2150000>;
399 regulator-max-microvolt = <2150000>;
400 regulator-boot-on;
404 regulator-min-microvolt = <1800000>;
405 regulator-max-microvolt = <1800000>;
406 regulator-always-on;
407 regulator-boot-on;
411 regulator-min-microvolt = <1225000>;
412 regulator-max-microvolt = <1225000>;
413 regulator-always-on;
414 regulator-boot-on;
418 regulator-min-microvolt = <1200000>;
419 regulator-max-microvolt = <1200000>;
423 regulator-min-microvolt = <1225000>;
424 regulator-max-microvolt = <1225000>;
428 regulator-min-microvolt = <1225000>;
429 regulator-max-microvolt = <1225000>;
433 regulator-min-microvolt = <1800000>;
434 regulator-max-microvolt = <1800000>;
438 regulator-min-microvolt = <1800000>;
439 regulator-max-microvolt = <1800000>;
440 regulator-boot-on;
444 regulator-min-microvolt = <1800000>;
445 regulator-max-microvolt = <1800000>;
446 regulator-boot-on;
450 regulator-min-microvolt = <1800000>;
451 regulator-max-microvolt = <1800000>;
455 regulator-min-microvolt = <1800000>;
456 regulator-max-microvolt = <2950000>;
460 regulator-min-microvolt = <1800000>;
461 regulator-max-microvolt = <2950000>;
465 regulator-min-microvolt = <1300000>;
466 regulator-max-microvolt = <1300000>;
470 regulator-min-microvolt = <1800000>;
471 regulator-max-microvolt = <1800000>;
472 regulator-always-on;
473 regulator-boot-on;
477 regulator-min-microvolt = <1800000>;
478 regulator-max-microvolt = <2950000>;
479 regulator-boot-on;
483 regulator-min-microvolt = <1800000>;
484 regulator-max-microvolt = <1800000>;
488 regulator-min-microvolt = <2050000>;
489 regulator-max-microvolt = <2050000>;
493 regulator-min-microvolt = <2700000>;
494 regulator-max-microvolt = <2700000>;
498 regulator-min-microvolt = <2850000>;
499 regulator-max-microvolt = <2850000>;
503 regulator-min-microvolt = <2850000>;
504 regulator-max-microvolt = <2850000>;
508 regulator-min-microvolt = <3000000>;
509 regulator-max-microvolt = <3300000>;
513 regulator-min-microvolt = <2950000>;
514 regulator-max-microvolt = <2950000>;
515 regulator-system-load = <200000>;
516 regulator-allow-set-load;
517 regulator-boot-on;
521 regulator-min-microvolt = <2950000>;
522 regulator-max-microvolt = <2950000>;
523 regulator-boot-on;
527 regulator-min-microvolt = <3000000>;
528 regulator-max-microvolt = <3300000>;
532 regulator-min-microvolt = <3000000>;
533 regulator-max-microvolt = <3000000>;
537 regulator-min-microvolt = <3075000>;
538 regulator-max-microvolt = <3075000>;
539 regulator-boot-on;
550 vmmc-supply = <&pm8941_l20>;
551 vqmmc-supply = <&pm8941_s3>;
553 pinctrl-names = "default", "sleep";
554 pinctrl-0 = <&sdc1_on>;
555 pinctrl-1 = <&sdc1_off>;
561 max-frequency = <100000000>;
562 vmmc-supply = <&vreg_wlan>;
563 vqmmc-supply = <&pm8941_s3>;
564 non-removable;
566 pinctrl-names = "default", "sleep";
567 pinctrl-0 = <&sdc2_on>;
568 pinctrl-1 = <&sdc2_off>;
571 compatible = "brcm,bcm4339-fmac", "brcm,bcm4329-fmac";
574 brcm,drive-strength = <10>;
576 pinctrl-names = "default";
577 pinctrl-0 = <&wlan_sleep_clk_pin>;
582 sdc1_on: sdc1-on-state {
583 clk-pins {
585 drive-strength = <16>;
586 bias-disable;
589 cmd-data-pins {
591 drive-strength = <10>;
592 bias-pull-up;
596 sdc2_on: sdc2-on-state {
597 clk-pins {
599 drive-strength = <6>;
600 bias-disable;
603 cmd-data-pins {
605 drive-strength = <6>;
606 bias-pull-up;
610 mpu6515_pin: mpu6515-state {
613 bias-disable;
616 touch_pin: touch-state {
617 int-pins {
621 drive-strength = <2>;
622 bias-disable;
625 reset-pins {
629 drive-strength = <2>;
630 bias-pull-up;
634 panel_pin: panel-state {
637 drive-strength = <2>;
638 bias-disable;
641 bt_pin: bt-state {
642 hostwake-pins {
647 devwake-pins {
652 shutdown-pins {
658 vibrator_pin: vibrator-state {
659 core-pins {
662 drive-strength = <6>;
663 bias-disable;
666 enable-pins {
669 drive-strength = <2>;
670 bias-disable;
679 phy-select = <&tcsr 0xb000 0>;
681 extcon = <&charger>, <&usb_id>;
682 vbus-supply = <&usb_otg_vbus>;
684 hnp-disable;
685 srp-disable;
686 adp-disable;
692 v1p8-supply = <&pm8941_l6>;
693 v3p3-supply = <&pm8941_l24>;
695 qcom,init-seq = /bits/ 8 <0x1 0x64>;