Lines Matching +full:disable +full:- +full:state
1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-pm8916.dtsi"
6 #include "msm8916-modem-qdsp6.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/leds/common.h>
15 chassis-type = "handset";
24 stdout-path = "serial0";
27 reserved-memory {
28 /delete-node/ reserved@86680000;
29 /delete-node/ rmtfs@86700000;
32 compatible = "qcom,rmtfs-mem";
34 no-map;
36 qcom,client-id = <1>;
40 gpio-keys {
41 compatible = "gpio-keys";
43 pinctrl-names = "default";
44 pinctrl-0 = <&gpio_keys_default>;
48 button-volume-up {
55 gpio-leds {
56 compatible = "gpio-leds";
58 pinctrl-names = "default";
59 pinctrl-0 = <&gpio_leds_default>;
61 led-0 {
63 linux,default-trigger = "torch";
68 reg_headphones_avdd: regulator-headphones-avdd {
69 compatible = "regulator-fixed";
70 regulator-name = "headphones_avdd";
71 regulator-min-microvolt = <1800000>;
72 regulator-max-microvolt = <1800000>;
74 enable-active-high;
75 pinctrl-0 = <&headphones_avdd_default>;
76 pinctrl-names = "default";
79 usb_id: usb-id {
80 compatible = "linux,extcon-usb-gpio";
81 id-gpios = <&tlmm 69 GPIO_ACTIVE_HIGH>;
82 pinctrl-names = "default";
83 pinctrl-0 = <&usb_id_default>;
90 headphones: audio-codec@10 {
91 compatible = "asahi-kasei,ak4375";
93 avdd-supply = <®_headphones_avdd>;
94 tvdd-supply = <&pm8916_l6>;
95 pdn-gpios = <&tlmm 114 GPIO_ACTIVE_HIGH>;
96 pinctrl-0 = <&headphones_pdn_default>;
97 pinctrl-names = "default";
98 #sound-dai-cells = <0>;
101 speaker_codec_top: audio-codec@34 {
104 vddd-supply = <&pm8916_l6>;
105 rcv-gpios = <&tlmm 50 GPIO_ACTIVE_HIGH>;
106 pinctrl-0 = <&speaker_top_default>;
107 pinctrl-names = "default";
108 sound-name-prefix = "Speaker Top";
109 #sound-dai-cells = <0>;
112 speaker_codec_bottom: audio-codec@36 {
115 vddd-supply = <&pm8916_l6>;
116 rcv-gpios = <&tlmm 111 GPIO_ACTIVE_HIGH>;
117 pinctrl-0 = <&speaker_bottom_default>;
118 pinctrl-names = "default";
119 sound-name-prefix = "Speaker Bottom";
120 #sound-dai-cells = <0>;
130 interrupt-parent = <&tlmm>;
132 reset-gpios = <&tlmm 100 GPIO_ACTIVE_LOW>;
133 pinctrl-names = "default";
134 pinctrl-0 = <&ts_int_reset_default>;
135 vdd-supply = <&pm8916_l17>;
136 vddio-supply = <&pm8916_l5>;
137 touchscreen-size-x = <2048>;
138 touchscreen-size-y = <2048>;
146 compatible = "asahi-kasei,ak09911";
148 vdd-supply = <&pm8916_l17>;
149 vid-supply = <&pm8916_l6>;
150 reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>;
151 pinctrl-names = "default";
152 pinctrl-0 = <&mag_reset_default>;
153 mount-matrix = "0", "1", "0",
154 "-1", "0", "0",
161 vdd-supply = <&pm8916_l17>;
162 vddio-supply = <&pm8916_l6>;
163 interrupt-parent = <&tlmm>;
165 pinctrl-names = "default";
166 pinctrl-0 = <&accel_int_default>;
167 mount-matrix = "-1", "0", "0",
169 "0", "0", "-1";
175 interrupt-parent = <&tlmm>;
177 pinctrl-names = "default";
178 pinctrl-0 = <&proximity_int_default>;
184 vdd-supply = <&pm8916_l17>;
185 vddio-supply = <&pm8916_l6>;
186 interrupt-parent = <&tlmm>;
189 pinctrl-names = "default";
190 pinctrl-0 = <&gyro_int_default>;
197 led-controller@68 {
198 compatible = "si-en,sn3190";
200 shutdown-gpios = <&tlmm 89 GPIO_ACTIVE_HIGH>;
201 pinctrl-names = "default";
202 pinctrl-0 = <&led_enable_default &led_shutdown_default>;
203 #address-cells = <1>;
204 #size-cells = <0>;
208 led-max-microamp = <5000>;
224 qcom,micbias1-ext-cap;
225 qcom,micbias-lvl = <2800>;
226 qcom,mbhc-vthreshold-low = <75 100 120 180 500>;
227 qcom,mbhc-vthreshold-high = <75 100 120 180 500>;
228 qcom,hphl-jack-type-normally-open;
238 regulator-min-microvolt = <2850000>;
239 regulator-max-microvolt = <2850000>;
250 qcom,sd-lines = <0>;
254 qcom,sd-lines = <0>;
265 pinctrl-names = "default", "sleep";
266 pinctrl-0 = <&sdc2_default &sdc2_cd_default>;
267 pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>;
269 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
274 model = "alcatel-idol3";
278 pin-switches = "Speaker Top", "Speaker Bottom";
279 audio-routing =
286 pinctrl-0 = <&cdc_pdm_default &pri_mi2s_default &pri_mi2s_ws_default &sec_mi2s_default>;
287 pinctrl-1 = <&cdc_pdm_sleep &pri_mi2s_sleep &pri_mi2s_ws_sleep &sec_mi2s_sleep>;
288 pinctrl-names = "default", "sleep";
290 sound_link_backend2: backend2-dai-link {
291 link-name = "Quaternary MI2S";
294 sound-dai = <&q6afedai QUATERNARY_MI2S_RX>;
297 sound-dai = <&q6routing>;
300 sound-dai = <&speaker_codec_top>, <&speaker_codec_bottom>;
307 link-name = "Secondary MI2S";
310 sound-dai = <&q6afedai SECONDARY_MI2S_RX>;
313 sound-dai = <&q6routing>;
316 sound-dai = <&headphones>;
359 accel_int_default: accel-int-default-state {
363 drive-strength = <2>;
364 bias-disable;
367 gpio_keys_default: gpio-keys-default-state {
371 drive-strength = <2>;
372 bias-pull-up;
375 gpio_leds_default: gpio-leds-default-state {
379 drive-strength = <2>;
380 bias-disable;
383 gyro_int_default: gyro-int-default-state {
387 drive-strength = <2>;
388 bias-disable;
391 headphones_avdd_default: headphones-avdd-default-state {
394 drive-strength = <2>;
395 bias-disable;
398 headphones_pdn_default: headphones-pdn-default-state {
401 drive-strength = <2>;
402 bias-disable;
407 * the si-en,sn3190 LED IC works. Since this GPIO is not
411 led_enable_default: led-enable-default-state {
415 drive-strength = <2>;
416 bias-disable;
417 output-high;
420 led_shutdown_default: led-shutdown-default-state {
424 drive-strength = <2>;
425 bias-disable;
428 mag_reset_default: mag-reset-default-state {
432 drive-strength = <2>;
433 bias-disable;
436 proximity_int_default: proximity-int-default-state {
440 drive-strength = <6>;
441 bias-pull-up;
444 sdc2_cd_default: sdc2-cd-default-state {
447 drive-strength = <2>;
448 bias-disable;
451 speaker_bottom_default: speaker-bottom-default-state {
454 drive-strength = <2>;
455 bias-disable;
458 speaker_top_default: speaker-top-default-state {
461 drive-strength = <2>;
462 bias-disable;
465 ts_int_reset_default: ts-int-reset-default-state {
469 drive-strength = <2>;
470 bias-disable;
473 usb_id_default: usb-id-default-state {
477 drive-strength = <8>;
478 bias-pull-up;