Lines Matching +full:disable +full:- +full:key +full:- +full:power

1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974pro.dtsi"
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
6 #include <dt-bindings/leds/common.h>
9 chassis-type = "handset";
18 stdout-path = "serial0:115200n8";
21 gpio-keys {
22 compatible = "gpio-keys";
24 pinctrl-names = "default";
25 pinctrl-0 = <&gpio_keys_pin_a>;
27 key-volume-down {
30 linux,input-type = <1>;
32 debounce-interval = <15>;
35 key-home {
38 linux,input-type = <1>;
40 wakeup-source;
41 debounce-interval = <15>;
44 key-volume-up {
47 linux,input-type = <1>;
49 debounce-interval = <15>;
53 i2c-gpio-touchkey {
54 compatible = "i2c-gpio";
55 #address-cells = <1>;
56 #size-cells = <0>;
57 sda-gpios = <&tlmm 95 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
58 scl-gpios = <&tlmm 96 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
59 pinctrl-names = "default";
60 pinctrl-0 = <&i2c_touchkey_pins>;
63 compatible = "cypress,tm2-touchkey";
66 interrupt-parent = <&pma8084_gpios>;
68 pinctrl-names = "default";
69 pinctrl-0 = <&touchkey_pin>;
71 vcc-supply = <&max77826_ldo15>;
72 vdd-supply = <&pma8084_l19>;
78 i2c_led_gpio: i2c-gpio-led {
79 compatible = "i2c-gpio";
80 #address-cells = <1>;
81 #size-cells = <0>;
82 pinctrl-names = "default";
83 pinctrl-0 = <&i2c_led_gpioex_pins>;
85 i2c-gpio,delay-us = <2>;
91 gpio-controller;
92 #gpio-cells = <2>;
94 vcc-supply = <&pma8084_s4>;
96 pinctrl-names = "default";
97 pinctrl-0 = <&gpioex_pin>;
99 reset-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>;
102 led-controller@30 {
106 #address-cells = <1>;
107 #size-cells = <0>;
129 vreg_wlan: wlan-regulator {
130 compatible = "regulator-fixed";
132 regulator-name = "wl-reg";
133 regulator-min-microvolt = <3300000>;
134 regulator-max-microvolt = <3300000>;
137 enable-active-high;
140 vreg_panel: panel-regulator {
141 compatible = "regulator-fixed";
143 pinctrl-names = "default";
144 pinctrl-0 = <&panel_en_pin>;
146 regulator-name = "panel-vddr-reg";
147 regulator-min-microvolt = <1500000>;
148 regulator-max-microvolt = <1500000>;
151 enable-active-high;
154 vreg_vph_pwr: vreg-vph-pwr {
155 compatible = "regulator-fixed";
156 regulator-name = "vph-pwr";
158 regulator-min-microvolt = <3600000>;
159 regulator-max-microvolt = <3600000>;
161 regulator-always-on;
169 compatible = "syna,rmi4-i2c";
172 interrupt-parent = <&pma8084_gpios>;
175 vdd-supply = <&max77826_ldo13>;
176 vio-supply = <&pma8084_lvs2>;
178 pinctrl-names = "default";
179 pinctrl-0 = <&touch_pin>;
181 syna,startup-delay-ms = <100>;
183 #address-cells = <1>;
184 #size-cells = <0>;
186 rmi4-f01@1 {
188 syna,nosleep-mode = <1>;
191 rmi4-f12@12 {
193 syna,sensor-type = <1>;
207 regulator-min-microvolt = <1200000>;
208 regulator-max-microvolt = <1200000>;
212 regulator-min-microvolt = <1000000>;
213 regulator-max-microvolt = <1000000>;
217 regulator-min-microvolt = <1200000>;
218 regulator-max-microvolt = <1200000>;
222 regulator-min-microvolt = <1800000>;
223 regulator-max-microvolt = <1800000>;
227 regulator-min-microvolt = <1800000>;
228 regulator-max-microvolt = <1800000>;
232 regulator-min-microvolt = <1800000>;
233 regulator-max-microvolt = <3300000>;
237 regulator-min-microvolt = <1800000>;
238 regulator-max-microvolt = <1800000>;
242 regulator-min-microvolt = <1800000>;
243 regulator-max-microvolt = <3300000>;
247 regulator-min-microvolt = <1800000>;
248 regulator-max-microvolt = <1800000>;
252 regulator-min-microvolt = <2800000>;
253 regulator-max-microvolt = <2950000>;
257 regulator-min-microvolt = <2700000>;
258 regulator-max-microvolt = <2950000>;
262 regulator-min-microvolt = <2500000>;
263 regulator-max-microvolt = <3300000>;
267 regulator-min-microvolt = <3300000>;
268 regulator-max-microvolt = <3300000>;
272 regulator-min-microvolt = <3300000>;
273 regulator-max-microvolt = <3300000>;
277 regulator-min-microvolt = <1800000>;
278 regulator-max-microvolt = <1800000>;
282 regulator-min-microvolt = <1225000>;
283 regulator-max-microvolt = <1225000>;
287 regulator-min-microvolt = <3400000>;
288 regulator-max-microvolt = <3400000>;
305 maxim,double-soc;
308 interrupt-parent = <&pma8084_gpios>;
311 pinctrl-names = "default";
312 pinctrl-0 = <&fuelgauge_pin>;
319 pinctrl-names = "default", "sleep";
320 pinctrl-0 = <&blsp2_uart2_pins_active>;
321 pinctrl-1 = <&blsp2_uart2_pins_sleep>;
324 compatible = "brcm,bcm43540-bt";
325 max-speed = <3000000>;
326 pinctrl-names = "default";
327 pinctrl-0 = <&bt_pins>;
328 device-wakeup-gpios = <&tlmm 91 GPIO_ACTIVE_HIGH>;
329 shutdown-gpios = <&gpio_expander 9 GPIO_ACTIVE_HIGH>;
330 interrupt-parent = <&tlmm>;
332 interrupt-names = "host-wakeup";
347 vdda-supply = <&pma8084_l2>;
348 vdd-supply = <&pma8084_l22>;
349 vddio-supply = <&pma8084_l12>;
355 pinctrl-names = "default";
356 pinctrl-0 = <&panel_te_pin &panel_rst_pin>;
358 iovdd-supply = <&pma8084_lvs4>;
359 vddr-supply = <&vreg_panel>;
361 reset-gpios = <&pma8084_gpios 17 GPIO_ACTIVE_LOW>;
365 remote-endpoint = <&mdss_dsi0_out>;
372 remote-endpoint = <&panel_in>;
373 data-lanes = <0 1 2 3>;
379 vddio-supply = <&pma8084_l12>;
383 gpio_keys_pin_a: gpio-keys-active-state {
387 bias-pull-up;
388 power-source = <PMA8084_GPIO_S4>;
391 touchkey_pin: touchkey-int-state {
394 bias-disable;
395 input-enable;
396 power-source = <PMA8084_GPIO_S4>;
399 touch_pin: touchscreen-int-state {
402 bias-disable;
403 input-enable;
404 power-source = <PMA8084_GPIO_S4>;
407 panel_en_pin: panel-en-state {
410 bias-pull-up;
411 power-source = <PMA8084_GPIO_S4>;
412 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
415 wlan_sleep_clk_pin: wlan-sleep-clk-state {
419 output-high;
420 power-source = <PMA8084_GPIO_S4>;
421 qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
424 panel_rst_pin: panel-rst-state {
427 bias-disable;
428 power-source = <PMA8084_GPIO_S4>;
429 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
432 fuelgauge_pin: fuelgauge-int-state {
435 bias-disable;
436 input-enable;
437 power-source = <PMA8084_GPIO_S4>;
446 console-size = <0x100000>;
447 record-size = <0x10000>;
448 ftrace-size = <0x10000>;
449 pmsg-size = <0x80000>;
450 ecc-size = <8>;
456 cx-supply = <&pma8084_s2>;
461 cx-supply = <&pma8084_s2>;
462 mss-supply = <&pma8084_s6>;
463 mx-supply = <&pma8084_s1>;
464 pll-supply = <&pma8084_l12>;
468 regulators-0 {
469 compatible = "qcom,rpm-pma8084-regulators";
472 regulator-min-microvolt = <675000>;
473 regulator-max-microvolt = <1050000>;
474 regulator-always-on;
478 regulator-min-microvolt = <500000>;
479 regulator-max-microvolt = <1050000>;
483 regulator-min-microvolt = <1300000>;
484 regulator-max-microvolt = <1300000>;
488 regulator-min-microvolt = <1800000>;
489 regulator-max-microvolt = <1800000>;
493 regulator-min-microvolt = <2150000>;
494 regulator-max-microvolt = <2150000>;
498 regulator-min-microvolt = <1050000>;
499 regulator-max-microvolt = <1050000>;
503 regulator-min-microvolt = <1225000>;
504 regulator-max-microvolt = <1225000>;
508 regulator-min-microvolt = <1200000>;
509 regulator-max-microvolt = <1200000>;
513 regulator-min-microvolt = <1050000>;
514 regulator-max-microvolt = <1200000>;
518 regulator-min-microvolt = <1200000>;
519 regulator-max-microvolt = <1225000>;
523 regulator-min-microvolt = <1800000>;
524 regulator-max-microvolt = <1800000>;
528 regulator-min-microvolt = <1800000>;
529 regulator-max-microvolt = <1800000>;
533 regulator-min-microvolt = <1800000>;
534 regulator-max-microvolt = <1800000>;
538 regulator-min-microvolt = <1800000>;
539 regulator-max-microvolt = <1800000>;
543 regulator-min-microvolt = <1800000>;
544 regulator-max-microvolt = <2950000>;
548 regulator-min-microvolt = <1800000>;
549 regulator-max-microvolt = <2950000>;
553 regulator-min-microvolt = <1300000>;
554 regulator-max-microvolt = <1300000>;
558 regulator-min-microvolt = <1800000>;
559 regulator-max-microvolt = <1800000>;
560 regulator-always-on;
564 regulator-min-microvolt = <1800000>;
565 regulator-max-microvolt = <2950000>;
569 regulator-min-microvolt = <1800000>;
570 regulator-max-microvolt = <1800000>;
574 regulator-min-microvolt = <2050000>;
575 regulator-max-microvolt = <2050000>;
579 regulator-min-microvolt = <2700000>;
580 regulator-max-microvolt = <2700000>;
584 regulator-min-microvolt = <2850000>;
585 regulator-max-microvolt = <2850000>;
589 regulator-min-microvolt = <2850000>;
590 regulator-max-microvolt = <2850000>;
594 regulator-min-microvolt = <3300000>;
595 regulator-max-microvolt = <3300000>;
599 regulator-min-microvolt = <2950000>;
600 regulator-max-microvolt = <2950000>;
601 regulator-system-load = <200000>;
602 regulator-allow-set-load;
606 regulator-min-microvolt = <2950000>;
607 regulator-max-microvolt = <2950000>;
608 regulator-system-load = <200000>;
609 regulator-allow-set-load;
613 regulator-min-microvolt = <3000000>;
614 regulator-max-microvolt = <3300000>;
618 regulator-min-microvolt = <3000000>;
619 regulator-max-microvolt = <3000000>;
623 regulator-min-microvolt = <3075000>;
624 regulator-max-microvolt = <3075000>;
628 regulator-min-microvolt = <2100000>;
629 regulator-max-microvolt = <2100000>;
633 regulator-min-microvolt = <1800000>;
634 regulator-max-microvolt = <2050000>;
638 regulator-min-microvolt = <1000000>;
639 regulator-max-microvolt = <1225000>;
654 vmmc-supply = <&pma8084_l20>;
655 vqmmc-supply = <&pma8084_s4>;
657 pinctrl-names = "default", "sleep";
658 pinctrl-0 = <&sdc1_on>;
659 pinctrl-1 = <&sdc1_off>;
664 max-frequency = <100000000>;
665 vmmc-supply = <&vreg_wlan>;
666 vqmmc-supply = <&pma8084_s4>;
667 non-removable;
669 pinctrl-names = "default", "sleep";
670 pinctrl-0 = <&sdc2_on>;
671 pinctrl-1 = <&sdc2_off>;
675 compatible = "brcm,bcm4329-fmac";
681 brcm,board-type = "samsung,klte";
683 interrupt-parent = <&tlmm>;
685 interrupt-names = "host-wake";
687 pinctrl-names = "default";
688 pinctrl-0 = <&wlan_sleep_clk_pin &wifi_pin>;
694 max-frequency = <100000000>;
695 vmmc-supply = <&pma8084_l21>;
696 vqmmc-supply = <&pma8084_l13>;
699 * cd-gpio is intentionally disabled. If enabled, an SD card
701 * cd-gpios the driver resorts to polling, so hotplug works.
703 pinctrl-names = "default";
704 pinctrl-0 = <&sdc3_on /* &sdhc3_cd_pin */>;
705 /* cd-gpios = <&tlmm 62 GPIO_ACTIVE_LOW>; */
710 blsp2_uart2_pins_active: blsp2-uart2-pins-active-state {
713 drive-strength = <8>;
714 bias-disable;
717 blsp2_uart2_pins_sleep: blsp2-uart2-pins-sleep-state {
720 drive-strength = <2>;
721 bias-pull-down;
724 bt_pins: bt-pins-state {
725 hostwake-pins {
728 drive-strength = <16>;
731 devwake-pins {
734 drive-strength = <2>;
738 sdc1_on: sdhc1-on-state {
739 clk-pins {
741 drive-strength = <4>;
742 bias-disable;
745 cmd-data-pins {
747 drive-strength = <4>;
748 bias-pull-up;
752 sdc3_on: sdc3-on-state {
755 drive-strength = <8>;
756 bias-disable;
759 sdhc3_cd_pin: sdc3-cd-on-state {
763 drive-strength = <2>;
764 bias-disable;
767 sdc2_on: sdhc2-on-state {
768 clk-pins {
770 drive-strength = <6>;
771 bias-disable;
774 cmd-data-pins {
776 drive-strength = <6>;
777 bias-pull-up;
781 i2c_touchkey_pins: i2c-touchkey-state {
784 bias-pull-up;
787 i2c_led_gpioex_pins: i2c-led-gpioex-state {
789 bias-pull-down;
792 gpioex_pin: gpioex-state {
795 bias-pull-up;
796 drive-strength = <2>;
799 wifi_pin: wifi-state {
802 bias-pull-down;
805 panel_te_pin: panel-state {
808 drive-strength = <2>;
809 bias-disable;
817 phy-select = <&tcsr 0xb000 0>;
819 hnp-disable;
820 srp-disable;
821 adp-disable;
827 v1p8-supply = <&pma8084_l6>;
828 v3p3-supply = <&pma8084_l24>;
830 qcom,init-seq = /bits/ 8 <0x1 0x64>;