Lines Matching +full:rmi4 +full:- +full:i2c

1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974.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";
21 stdout-path = "serial0:115200n8";
24 gpio-keys {
25 compatible = "gpio-keys";
27 pinctrl-names = "default";
28 pinctrl-0 = <&gpio_keys_pin_a>;
30 key-volume-up {
33 linux,input-type = <1>;
37 key-volume-down {
40 linux,input-type = <1>;
46 compatible = "clk-pwm";
49 pinctrl-0 = <&vibrator_pin>;
50 pinctrl-names = "default";
52 #pwm-cells = <2>;
56 compatible = "pwm-vibrator";
58 pwm-names = "enable";
60 vcc-supply = <&pm8941_l19>;
61 enable-gpios = <&tlmm 60 GPIO_ACTIVE_HIGH>;
64 vreg_boost: vreg-boost {
65 compatible = "regulator-fixed";
67 regulator-name = "vreg-boost";
68 regulator-min-microvolt = <3150000>;
69 regulator-max-microvolt = <3150000>;
71 regulator-always-on;
72 regulator-boot-on;
75 enable-active-high;
77 pinctrl-names = "default";
78 pinctrl-0 = <&boost_bypass_n_pin>;
81 vreg_vph_pwr: vreg-vph-pwr {
82 compatible = "regulator-fixed";
83 regulator-name = "vph-pwr";
85 regulator-min-microvolt = <3600000>;
86 regulator-max-microvolt = <3600000>;
88 regulator-always-on;
91 vreg_wlan: wlan-regulator {
92 compatible = "regulator-fixed";
94 regulator-name = "wl-reg";
95 regulator-min-microvolt = <3300000>;
96 regulator-max-microvolt = <3300000>;
99 enable-active-high;
101 pinctrl-names = "default";
102 pinctrl-0 = <&wlan_regulator_pin>;
108 clock-frequency = <100000>;
113 interrupts-extended = <&spmi_bus 0 0xd5 0 IRQ_TYPE_EDGE_FALLING>;
115 omit-battery-class;
117 usb_otg_vbus: usb-otg-vbus { };
124 maxim,double-soc;
127 interrupt-parent = <&tlmm>;
130 pinctrl-names = "default";
131 pinctrl-0 = <&fuelgauge_pin>;
133 maxim,alert-low-soc-level = <2>;
139 clock-frequency = <355000>;
142 compatible = "syna,rmi4-i2c";
145 interrupts-extended = <&tlmm 5 IRQ_TYPE_EDGE_FALLING>;
146 vdd-supply = <&pm8941_l22>;
147 vio-supply = <&pm8941_lvs3>;
149 pinctrl-names = "default";
150 pinctrl-0 = <&touch_pin>;
152 #address-cells = <1>;
153 #size-cells = <0>;
155 rmi4-f01@1 {
157 syna,nosleep-mode = <1>;
160 rmi4-f12@12 {
162 syna,sensor-type = <1>;
169 clock-frequency = <100000>;
174 interrupts-extended = <&tlmm 61 IRQ_TYPE_EDGE_FALLING>;
175 vdd-supply = <&pm8941_l17>;
176 vddio-supply = <&pm8941_lvs1>;
177 led-max-microamp = <100000>;
178 amstaos,proximity-diodes = <0>;
184 clock-frequency = <355000>;
186 backlight: led-controller@38 {
191 #address-cells = <1>;
192 #size-cells = <0>;
196 led-sources = <0 1>;
197 label = "lcd-backlight";
198 default-brightness = <200>;
205 clock-frequency = <100000>;
210 interrupts-extended = <&tlmm 73 IRQ_TYPE_EDGE_FALLING>;
211 vddio-supply = <&pm8941_lvs1>;
213 pinctrl-names = "default";
214 pinctrl-0 = <&mpu6515_pin>;
216 mount-matrix = "0", "-1", "0",
217 "-1", "0", "0",
220 i2c-gate {
221 #address-cells = <1>;
222 #size-cells = <0>;
224 compatible = "asahi-kasei,ak8963";
227 vid-supply = <&pm8941_lvs1>;
228 vdd-supply = <&pm8941_l17>;
234 vdda-supply = <&pm8941_lvs1>;
235 vddd-supply = <&pm8941_l17>;
249 compatible = "brcm,bcm43438-bt";
250 max-speed = <3000000>;
252 pinctrl-names = "default";
253 pinctrl-0 = <&bt_pin>;
255 host-wakeup-gpios = <&tlmm 42 GPIO_ACTIVE_HIGH>;
256 device-wakeup-gpios = <&tlmm 62 GPIO_ACTIVE_HIGH>;
257 shutdown-gpios = <&tlmm 41 GPIO_ACTIVE_HIGH>;
268 vdda-supply = <&pm8941_l2>;
269 vdd-supply = <&pm8941_lvs3>;
270 vddio-supply = <&pm8941_l12>;
274 compatible = "lg,acx467akm-7";
278 pinctrl-names = "default";
279 pinctrl-0 = <&panel_pin>;
283 remote-endpoint = <&mdss_dsi0_out>;
290 remote-endpoint = <&panel_in>;
291 data-lanes = <0 1 2 3>;
297 vddio-supply = <&pm8941_l12>;
301 gpio_keys_pin_a: gpio-keys-active-state {
305 bias-pull-up;
306 power-source = <PM8941_GPIO_S3>;
309 fuelgauge_pin: fuelgauge-int-state {
313 bias-disable;
314 input-enable;
315 power-source = <PM8941_GPIO_S3>;
318 wlan_sleep_clk_pin: wl-sleep-clk-state {
322 output-high;
323 power-source = <PM8941_GPIO_S3>;
326 wlan_regulator_pin: wl-reg-active-state {
330 bias-disable;
331 power-source = <PM8941_GPIO_S3>;
334 otg-hog {
335 gpio-hog;
337 output-high;
338 line-name = "otg-gpio";
345 qcom,power-source = <1>;
347 multi-led {
351 #address-cells = <1>;
352 #size-cells = <0>;
372 cx-supply = <&pm8841_s2>;
377 cx-supply = <&pm8841_s2>;
378 mss-supply = <&pm8841_s3>;
379 mx-supply = <&pm8841_s1>;
380 pll-supply = <&pm8941_l12>;
385 regulators-0 {
386 compatible = "qcom,rpm-pm8841-regulators";
389 regulator-min-microvolt = <675000>;
390 regulator-max-microvolt = <1050000>;
394 regulator-min-microvolt = <500000>;
395 regulator-max-microvolt = <1050000>;
399 regulator-min-microvolt = <1050000>;
400 regulator-max-microvolt = <1050000>;
404 regulator-min-microvolt = <815000>;
405 regulator-max-microvolt = <900000>;
409 regulators-1 {
410 compatible = "qcom,rpm-pm8941-regulators";
412 vdd_l1_l3-supply = <&pm8941_s1>;
413 vdd_l2_lvs1_2_3-supply = <&pm8941_s3>;
414 vdd_l4_l11-supply = <&pm8941_s1>;
415 vdd_l5_l7-supply = <&pm8941_s2>;
416 vdd_l6_l12_l14_l15-supply = <&pm8941_s2>;
417 vdd_l8_l16_l18_l19-supply = <&vreg_vph_pwr>;
418 vdd_l9_l10_l17_l22-supply = <&vreg_boost>;
419 vdd_l13_l20_l23_l24-supply = <&vreg_boost>;
420 vdd_l21-supply = <&vreg_boost>;
423 regulator-min-microvolt = <1300000>;
424 regulator-max-microvolt = <1300000>;
425 regulator-always-on;
426 regulator-boot-on;
430 regulator-min-microvolt = <2150000>;
431 regulator-max-microvolt = <2150000>;
432 regulator-boot-on;
436 regulator-min-microvolt = <1800000>;
437 regulator-max-microvolt = <1800000>;
438 regulator-always-on;
439 regulator-boot-on;
443 regulator-min-microvolt = <1225000>;
444 regulator-max-microvolt = <1225000>;
445 regulator-always-on;
446 regulator-boot-on;
450 regulator-min-microvolt = <1200000>;
451 regulator-max-microvolt = <1200000>;
455 regulator-min-microvolt = <1225000>;
456 regulator-max-microvolt = <1225000>;
460 regulator-min-microvolt = <1225000>;
461 regulator-max-microvolt = <1225000>;
465 regulator-min-microvolt = <1800000>;
466 regulator-max-microvolt = <1800000>;
470 regulator-min-microvolt = <1800000>;
471 regulator-max-microvolt = <1800000>;
472 regulator-boot-on;
476 regulator-min-microvolt = <1800000>;
477 regulator-max-microvolt = <1800000>;
478 regulator-boot-on;
482 regulator-min-microvolt = <1800000>;
483 regulator-max-microvolt = <1800000>;
487 regulator-min-microvolt = <1800000>;
488 regulator-max-microvolt = <2950000>;
492 regulator-min-microvolt = <1800000>;
493 regulator-max-microvolt = <2950000>;
497 regulator-min-microvolt = <1300000>;
498 regulator-max-microvolt = <1300000>;
502 regulator-min-microvolt = <1800000>;
503 regulator-max-microvolt = <1800000>;
504 regulator-always-on;
505 regulator-boot-on;
509 regulator-min-microvolt = <1800000>;
510 regulator-max-microvolt = <2950000>;
511 regulator-boot-on;
515 regulator-min-microvolt = <1800000>;
516 regulator-max-microvolt = <1800000>;
520 regulator-min-microvolt = <2050000>;
521 regulator-max-microvolt = <2050000>;
525 regulator-min-microvolt = <2700000>;
526 regulator-max-microvolt = <2700000>;
530 regulator-min-microvolt = <2850000>;
531 regulator-max-microvolt = <2850000>;
535 regulator-min-microvolt = <2850000>;
536 regulator-max-microvolt = <2850000>;
540 regulator-min-microvolt = <3000000>;
541 regulator-max-microvolt = <3300000>;
545 regulator-min-microvolt = <2950000>;
546 regulator-max-microvolt = <2950000>;
547 regulator-system-load = <200000>;
548 regulator-allow-set-load;
549 regulator-boot-on;
553 regulator-min-microvolt = <2950000>;
554 regulator-max-microvolt = <2950000>;
555 regulator-boot-on;
559 regulator-min-microvolt = <3000000>;
560 regulator-max-microvolt = <3300000>;
564 regulator-min-microvolt = <3000000>;
565 regulator-max-microvolt = <3000000>;
569 regulator-min-microvolt = <3075000>;
570 regulator-max-microvolt = <3075000>;
571 regulator-boot-on;
582 vmmc-supply = <&pm8941_l20>;
583 vqmmc-supply = <&pm8941_s3>;
585 pinctrl-names = "default", "sleep";
586 pinctrl-0 = <&sdc1_on>;
587 pinctrl-1 = <&sdc1_off>;
593 max-frequency = <100000000>;
594 vmmc-supply = <&vreg_wlan>;
595 vqmmc-supply = <&pm8941_s3>;
596 non-removable;
598 pinctrl-names = "default", "sleep";
599 pinctrl-0 = <&sdc2_on>;
600 pinctrl-1 = <&sdc2_off>;
603 compatible = "brcm,bcm4339-fmac", "brcm,bcm4329-fmac";
606 brcm,drive-strength = <10>;
608 pinctrl-names = "default";
609 pinctrl-0 = <&wlan_sleep_clk_pin>;
614 sdc1_on: sdc1-on-state {
615 clk-pins {
617 drive-strength = <16>;
618 bias-disable;
621 cmd-data-pins {
623 drive-strength = <10>;
624 bias-pull-up;
628 sdc2_on: sdc2-on-state {
629 clk-pins {
631 drive-strength = <6>;
632 bias-disable;
635 cmd-data-pins {
637 drive-strength = <6>;
638 bias-pull-up;
642 mpu6515_pin: mpu6515-state {
645 bias-disable;
648 touch_pin: touch-state {
649 int-pins {
653 drive-strength = <2>;
654 bias-disable;
657 reset-pins {
661 drive-strength = <2>;
662 bias-pull-up;
666 panel_pin: panel-state {
669 drive-strength = <2>;
670 bias-disable;
673 bt_pin: bt-state {
674 hostwake-pins {
679 devwake-pins {
684 shutdown-pins {
690 vibrator_pin: vibrator-state {
691 core-pins {
694 drive-strength = <6>;
695 bias-disable;
698 enable-pins {
701 drive-strength = <2>;
702 bias-disable;
711 phy-select = <&tcsr 0xb000 0>;
714 vbus-supply = <&usb_otg_vbus>;
716 hnp-disable;
717 srp-disable;
718 adp-disable;
724 v1p8-supply = <&pm8941_l6>;
725 v3p3-supply = <&pm8941_l24>;
727 qcom,init-seq = /bits/ 8 <0x1 0x64>;