Lines Matching +full:hall +full:- +full:enable

1 // SPDX-License-Identifier: GPL-2.0-only
3 #include "msm8916-pm8916.dtsi"
4 #include "msm8916-modem-qdsp6.dtsi"
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
10 #include <dt-bindings/sound/apq8016-lpass.h>
20 stdout-path = "serial0";
23 reserved-memory {
25 tz-apps@85500000 {
27 no-map;
32 compatible = "clk-pwm";
33 #pwm-cells = <2>;
37 pinctrl-names = "default";
38 pinctrl-0 = <&motor_pwm_default>;
42 gpio-keys {
43 compatible = "gpio-keys";
45 pinctrl-names = "default";
46 pinctrl-0 = <&gpio_keys_default>;
50 button-volume-up {
56 button-home {
63 gpio-hall-sensor {
64 compatible = "gpio-keys";
66 pinctrl-names = "default";
67 pinctrl-0 = <&gpio_hall_sensor_default>;
69 label = "GPIO Hall Effect Sensor";
71 event-hall-sensor {
72 label = "Hall Effect Sensor";
74 linux,input-type = <EV_SW>;
76 linux,can-disable;
82 * driver IC but A3 connects the same signal to an ENABLE pin of
85 reg_motor_vdd: regulator-motor-vdd {
86 compatible = "regulator-fixed";
87 regulator-name = "motor_vdd";
88 regulator-min-microvolt = <3000000>;
89 regulator-max-microvolt = <3000000>;
92 enable-active-high;
94 pinctrl-names = "default";
95 pinctrl-0 = <&motor_en_default>;
98 reg_vdd_tsp_a: regulator-vdd-tsp-a {
99 compatible = "regulator-fixed";
100 regulator-name = "vdd_tsp_a";
101 regulator-min-microvolt = <3300000>;
102 regulator-max-microvolt = <3300000>;
105 enable-active-high;
107 pinctrl-names = "default";
108 pinctrl-0 = <&tsp_en_default>;
111 i2c-muic {
112 compatible = "i2c-gpio";
113 sda-gpios = <&tlmm 105 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
114 scl-gpios = <&tlmm 106 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
116 pinctrl-names = "default";
117 pinctrl-0 = <&muic_i2c_default>;
119 #address-cells = <1>;
120 #size-cells = <0>;
123 compatible = "siliconmitus,sm5502-muic";
126 interrupt-parent = <&tlmm>;
129 pinctrl-names = "default";
130 pinctrl-0 = <&muic_int_default>;
134 i2c-tkey {
135 compatible = "i2c-gpio";
136 sda-gpios = <&tlmm 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
137 scl-gpios = <&tlmm 17 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
139 pinctrl-names = "default";
140 pinctrl-0 = <&tkey_i2c_default>;
142 #address-cells = <1>;
143 #size-cells = <0>;
147 compatible = "coreriver,tc360-touchkey";
150 interrupt-parent = <&tlmm>;
153 /* vcc/vdd-supply are board-specific */
154 vddio-supply = <&pm8916_l6>;
158 pinctrl-names = "default";
159 pinctrl-0 = <&tkey_default>;
163 i2c-nfc {
164 compatible = "i2c-gpio";
165 sda-gpios = <&tlmm 0 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
166 scl-gpios = <&tlmm 1 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
168 pinctrl-names = "default";
169 pinctrl-0 = <&nfc_i2c_default>;
171 #address-cells = <1>;
172 #size-cells = <0>;
175 compatible = "samsung,s3fwrn5-i2c";
178 interrupt-parent = <&tlmm>;
181 en-gpios = <&tlmm 20 GPIO_ACTIVE_LOW>;
182 wake-gpios = <&tlmm 49 GPIO_ACTIVE_HIGH>;
186 pinctrl-names = "default";
187 pinctrl-0 = <&nfc_default &nfc_clk_req>;
192 compatible = "pwm-vibrator";
195 pwm-names = "enable";
197 vcc-supply = <&reg_motor_vdd>;
205 speaker_codec: audio-codec@34 {
208 vddd-supply = <&pm8916_l5>;
209 sound-name-prefix = "Speaker";
210 #sound-dai-cells = <0>;
220 interrupt-parent = <&tlmm>;
223 vdd-supply = <&pm8916_l17>;
224 vddio-supply = <&pm8916_l5>;
226 pinctrl-names = "default";
227 pinctrl-0 = <&accel_int_default>;
234 vdd-supply = <&pm8916_l17>;
235 vddio-supply = <&pm8916_l5>;
243 compatible = "richtek,rt5033-battery";
245 interrupt-parent = <&tlmm>;
248 pinctrl-names = "default";
249 pinctrl-0 = <&fg_alert_default>;
274 dai-link@3 {
276 qcom,playback-sd-lines = <1>;
285 pinctrl-names = "default", "sleep";
286 pinctrl-0 = <&mdss_default>;
287 pinctrl-1 = <&mdss_sleep>;
301 regulator-min-microvolt = <2850000>;
302 regulator-max-microvolt = <2850000>;
309 qcom,sd-lines = <1>;
320 pinctrl-names = "default", "sleep";
321 pinctrl-0 = <&sdc2_default &sdc2_cd_default>;
322 pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>;
324 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
328 model = "samsung-a2015";
329 audio-routing =
334 pinctrl-0 = <&cdc_pdm_default &sec_mi2s_default>;
335 pinctrl-1 = <&cdc_pdm_sleep &sec_mi2s_sleep>;
336 pinctrl-names = "default", "sleep";
338 sound_link_backend2: backend2-dai-link {
339 link-name = "Quaternary MI2S";
342 sound-dai = <&q6afedai QUATERNARY_MI2S_RX>;
345 sound-dai = <&q6routing>;
348 sound-dai = <&speaker_codec>;
371 accel_int_default: accel-int-default-state {
375 drive-strength = <2>;
376 bias-disable;
379 fg_alert_default: fg-alert-default-state {
383 drive-strength = <2>;
384 bias-disable;
387 gpio_keys_default: gpio-keys-default-state {
391 drive-strength = <2>;
392 bias-pull-up;
395 gpio_hall_sensor_default: gpio-hall-sensor-default-state {
399 drive-strength = <2>;
400 bias-disable;
403 mdss_default: mdss-default-state {
407 drive-strength = <8>;
408 bias-disable;
410 mdss_sleep: mdss-sleep-state {
414 drive-strength = <2>;
415 bias-pull-down;
418 motor_en_default: motor-en-default-state {
422 drive-strength = <2>;
423 bias-disable;
426 motor_pwm_default: motor-pwm-default-state {
431 muic_i2c_default: muic-i2c-default-state {
435 drive-strength = <2>;
436 bias-disable;
439 muic_int_default: muic-int-default-state {
443 drive-strength = <2>;
444 bias-disable;
447 nfc_default: nfc-default-state {
448 nfc-pins {
452 drive-strength = <2>;
453 bias-disable;
456 irq-pins {
460 drive-strength = <2>;
461 bias-pull-down;
465 nfc_i2c_default: nfc-i2c-default-state {
469 drive-strength = <2>;
470 bias-disable;
473 sdc2_cd_default: sdc2-cd-default-state {
476 drive-strength = <2>;
477 bias-disable;
480 tkey_default: tkey-default-state {
484 drive-strength = <2>;
485 bias-disable;
488 tkey_i2c_default: tkey-i2c-default-state {
492 drive-strength = <2>;
493 bias-disable;
496 tsp_en_default: tsp-en-default-state {
500 drive-strength = <2>;
501 bias-disable;
504 ts_int_default: ts-int-default-state {
508 drive-strength = <2>;
509 bias-disable;
514 nfc_clk_req: nfc-clk-req-state {
518 input-enable;
519 bias-disable;
520 power-source = <PM8916_GPIO_L2>;