Lines Matching +full:v +full:- +full:amic1 +full:- +full:supply

1 // SPDX-License-Identifier: GPL-2.0-only
6 /dts-v1/;
8 #include "msm8916-pm8916.dtsi"
9 #include "msm8916-modem-qdsp6.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/leds/common.h>
18 chassis-type = "handset";
27 stdout-path = "serial0";
30 speaker_amp: audio-amplifier {
31 compatible = "simple-audio-amplifier";
32 enable-gpios = <&tlmm 117 GPIO_ACTIVE_HIGH>;
33 sound-name-prefix = "Speaker Amp";
34 pinctrl-0 = <&speaker_amp_default>;
35 pinctrl-names = "default";
41 * to get sound on headphones, modelling it as simple-audio-amplifier
44 headphones_switch: audio-switch {
45 compatible = "simple-audio-amplifier";
46 enable-gpios = <&tlmm 8 GPIO_ACTIVE_HIGH>;
47 sound-name-prefix = "Headphones Switch";
48 pinctrl-0 = <&headphones_switch_default>;
49 pinctrl-names = "default";
52 flash-led-controller {
54 enable-gpios = <&tlmm 31 GPIO_ACTIVE_HIGH>;
55 flash-gpios = <&tlmm 32 GPIO_ACTIVE_HIGH>;
57 pinctrl-names = "default";
58 pinctrl-0 = <&camera_flash_default>;
66 gpio-keys {
67 compatible = "gpio-keys";
69 pinctrl-names = "default";
70 pinctrl-0 = <&gpio_keys_default>;
74 button-volume-up {
81 usb_id: usb-id {
82 compatible = "linux,extcon-usb-gpio";
83 id-gpios = <&tlmm 110 GPIO_ACTIVE_HIGH>;
84 pinctrl-names = "default";
85 pinctrl-0 = <&usb_id_default>;
96 interrupt-parent = <&tlmm>;
99 vdd-supply = <&pm8916_l17>;
100 vddio-supply = <&pm8916_l6>;
102 pinctrl-names = "default";
103 pinctrl-0 = <&imu_default>;
105 mount-matrix = "1", "0", "0",
106 "0", "-1", "0",
116 compatible = "edt,edt-ft5506";
119 interrupt-parent = <&tlmm>;
122 reset-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
124 vcc-supply = <&pm8916_l17>;
125 iovcc-supply = <&pm8916_l6>;
127 touchscreen-size-x = <720>;
128 touchscreen-size-y = <1280>;
130 pinctrl-names = "default";
131 pinctrl-0 = <&touchscreen_default>;
138 led-controller@45 {
141 #address-cells = <1>;
142 #size-cells = <0>;
144 vcc-supply = <&pm8916_l16>;
145 vio-supply = <&pm8916_l5>;
149 led-max-microamp = <15000>;
156 led-max-microamp = <15000>;
163 led-max-microamp = <15000>;
179 qcom,micbias1-ext-cap;
180 qcom,micbias-lvl = <2800>;
181 qcom,mbhc-vthreshold-low = <75 100 120 180 500>;
182 qcom,mbhc-vthreshold-high = <75 100 120 180 500>;
183 qcom,hphl-jack-type-normally-open;
194 * L16 is only used for AW2013 which is fine with 2.5-3.3V.
195 * Use the recommended typical voltage of 2.8V as minimum.
197 regulator-min-microvolt = <2800000>;
198 regulator-max-microvolt = <3300000>;
202 regulator-min-microvolt = <2850000>;
203 regulator-max-microvolt = <2850000>;
217 non-removable;
222 * Provide widgets/pin-switches to allow enabling speaker and headphones
229 pin-switches = "Speaker", "Headphones";
230 audio-routing =
239 "AMIC1", "MIC BIAS External1",
241 aux-devs = <&speaker_amp>, <&headphones_switch>;
274 camera_flash_default: camera-flash-default-state {
278 drive-strength = <2>;
279 bias-disable;
282 gpio_keys_default: gpio-keys-default-state {
286 drive-strength = <2>;
287 bias-pull-up;
290 headphones_switch_default: headphones-switch-default-state {
293 drive-strength = <2>;
294 bias-disable;
297 imu_default: imu-default-state {
301 drive-strength = <2>;
302 bias-disable;
305 speaker_amp_default: speaker-amp-default-state {
308 drive-strength = <2>;
309 bias-disable;
312 touchscreen_default: touchscreen-default-state {
313 touchscreen-pins {
317 drive-strength = <2>;
318 bias-pull-up;
320 reset-pins {
324 drive-strength = <2>;
325 bias-disable;
329 usb_id_default: usb-id-default-state {
333 drive-strength = <8>;
334 bias-pull-up;