Lines Matching +full:mic +full:- +full:bias +full:- +full:gpios
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 = "simple-battery";
33 precharge-current-microamp = <450000>;
34 precharge-upper-limit-microvolt = <3500000>;
38 compatible = "clk-pwm";
39 #pwm-cells = <2>;
43 pinctrl-names = "default";
44 pinctrl-0 = <&motor_pwm_default>;
48 gpio-keys {
49 compatible = "gpio-keys";
51 pinctrl-names = "default";
52 pinctrl-0 = <&gpio_keys_default>;
56 button-volume-up {
58 gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
62 button-home {
64 gpios = <&tlmm 109 GPIO_ACTIVE_LOW>;
69 gpio-hall-sensor {
70 compatible = "gpio-keys";
72 pinctrl-names = "default";
73 pinctrl-0 = <&gpio_hall_sensor_default>;
77 event-hall-sensor {
79 gpios = <&tlmm 52 GPIO_ACTIVE_LOW>;
80 linux,input-type = <EV_SW>;
82 linux,can-disable;
91 reg_motor_vdd: regulator-motor-vdd {
92 compatible = "regulator-fixed";
93 regulator-name = "motor_vdd";
94 regulator-min-microvolt = <3000000>;
95 regulator-max-microvolt = <3000000>;
98 enable-active-high;
100 pinctrl-names = "default";
101 pinctrl-0 = <&motor_en_default>;
104 reg_vdd_tsp_a: regulator-vdd-tsp-a {
105 compatible = "regulator-fixed";
106 regulator-name = "vdd_tsp_a";
107 regulator-min-microvolt = <3300000>;
108 regulator-max-microvolt = <3300000>;
111 enable-active-high;
113 pinctrl-names = "default";
114 pinctrl-0 = <&tsp_en_default>;
117 i2c-muic {
118 compatible = "i2c-gpio";
119 sda-gpios = <&tlmm 105 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
120 scl-gpios = <&tlmm 106 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
122 pinctrl-names = "default";
123 pinctrl-0 = <&muic_i2c_default>;
125 #address-cells = <1>;
126 #size-cells = <0>;
129 compatible = "siliconmitus,sm5502-muic";
132 interrupt-parent = <&tlmm>;
135 pinctrl-names = "default";
136 pinctrl-0 = <&muic_int_default>;
139 compatible = "usb-b-connector";
140 label = "micro-USB";
146 i2c-tkey {
147 compatible = "i2c-gpio";
148 sda-gpios = <&tlmm 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
149 scl-gpios = <&tlmm 17 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
151 pinctrl-names = "default";
152 pinctrl-0 = <&tkey_i2c_default>;
154 #address-cells = <1>;
155 #size-cells = <0>;
159 compatible = "coreriver,tc360-touchkey";
162 interrupt-parent = <&tlmm>;
165 /* vcc/vdd-supply are board-specific */
166 vddio-supply = <&pm8916_l6>;
170 pinctrl-names = "default";
171 pinctrl-0 = <&tkey_default>;
175 i2c-nfc {
176 compatible = "i2c-gpio";
177 sda-gpios = <&tlmm 0 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
178 scl-gpios = <&tlmm 1 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
180 pinctrl-names = "default";
181 pinctrl-0 = <&nfc_i2c_default>;
183 #address-cells = <1>;
184 #size-cells = <0>;
187 compatible = "samsung,s3fwrn5-i2c";
190 interrupt-parent = <&tlmm>;
193 en-gpios = <&tlmm 20 GPIO_ACTIVE_LOW>;
194 wake-gpios = <&tlmm 49 GPIO_ACTIVE_HIGH>;
198 pinctrl-names = "default";
199 pinctrl-0 = <&nfc_default &nfc_clk_req>;
204 compatible = "pwm-vibrator";
207 pwm-names = "enable";
209 vcc-supply = <®_motor_vdd>;
217 speaker_codec: audio-codec@34 {
220 vddd-supply = <&pm8916_l5>;
221 sound-name-prefix = "Speaker";
222 #sound-dai-cells = <0>;
232 interrupt-parent = <&tlmm>;
235 vdd-supply = <&pm8916_l17>;
236 vddio-supply = <&pm8916_l5>;
238 pinctrl-names = "default";
239 pinctrl-0 = <&accel_int_default>;
246 vdd-supply = <&pm8916_l17>;
247 vddio-supply = <&pm8916_l5>;
254 fuel-gauge@35 {
255 compatible = "richtek,rt5033-battery";
257 interrupt-parent = <&tlmm>;
260 pinctrl-names = "default";
261 pinctrl-0 = <&fg_alert_default>;
263 power-supplies = <&charger>;
274 interrupts-extended = <&tlmm 62 IRQ_TYPE_EDGE_FALLING>;
276 pinctrl-0 = <&pmic_int_default>;
277 pinctrl-names = "default";
281 regulator-min-microvolt = <4900000>;
282 regulator-max-microvolt = <4900000>;
283 regulator-always-on;
296 compatible = "richtek,rt5033-charger";
297 monitored-battery = <&battery>;
298 richtek,usb-connector = <&usb_con>;
324 dai-link@3 {
326 qcom,playback-sd-lines = <1>;
335 pinctrl-names = "default", "sleep";
336 pinctrl-0 = <&mdss_default>;
337 pinctrl-1 = <&mdss_sleep>;
351 regulator-min-microvolt = <2850000>;
352 regulator-max-microvolt = <2850000>;
359 qcom,sd-lines = <1>;
370 pinctrl-names = "default", "sleep";
371 pinctrl-0 = <&sdc2_default &sdc2_cd_default>;
372 pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>;
374 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
378 model = "samsung-a2015";
379 audio-routing =
380 "AMIC1", "MIC BIAS External1",
381 "AMIC2", "MIC BIAS Internal2",
382 "AMIC3", "MIC BIAS External1";
384 pinctrl-0 = <&cdc_pdm_default &sec_mi2s_default>;
385 pinctrl-1 = <&cdc_pdm_sleep &sec_mi2s_sleep>;
386 pinctrl-names = "default", "sleep";
388 sound_link_backend2: backend2-dai-link {
389 link-name = "Quaternary MI2S";
392 sound-dai = <&q6afedai QUATERNARY_MI2S_RX>;
395 sound-dai = <&q6routing>;
398 sound-dai = <&speaker_codec>;
421 accel_int_default: accel-int-default-state {
425 drive-strength = <2>;
426 bias-disable;
429 fg_alert_default: fg-alert-default-state {
433 drive-strength = <2>;
434 bias-disable;
437 gpio_keys_default: gpio-keys-default-state {
441 drive-strength = <2>;
442 bias-pull-up;
445 gpio_hall_sensor_default: gpio-hall-sensor-default-state {
449 drive-strength = <2>;
450 bias-disable;
453 mdss_default: mdss-default-state {
457 drive-strength = <8>;
458 bias-disable;
460 mdss_sleep: mdss-sleep-state {
464 drive-strength = <2>;
465 bias-pull-down;
468 motor_en_default: motor-en-default-state {
472 drive-strength = <2>;
473 bias-disable;
476 motor_pwm_default: motor-pwm-default-state {
481 muic_i2c_default: muic-i2c-default-state {
485 drive-strength = <2>;
486 bias-disable;
489 muic_int_default: muic-int-default-state {
493 drive-strength = <2>;
494 bias-disable;
497 nfc_default: nfc-default-state {
498 nfc-pins {
502 drive-strength = <2>;
503 bias-disable;
506 irq-pins {
510 drive-strength = <2>;
511 bias-pull-down;
515 nfc_i2c_default: nfc-i2c-default-state {
519 drive-strength = <2>;
520 bias-disable;
523 pmic_int_default: pmic-int-default-state {
526 drive-strength = <2>;
527 bias-disable;
530 sdc2_cd_default: sdc2-cd-default-state {
533 drive-strength = <2>;
534 bias-disable;
537 tkey_default: tkey-default-state {
541 drive-strength = <2>;
542 bias-disable;
545 tkey_i2c_default: tkey-i2c-default-state {
549 drive-strength = <2>;
550 bias-disable;
553 tsp_en_default: tsp-en-default-state {
557 drive-strength = <2>;
558 bias-disable;
561 ts_int_default: ts-int-default-state {
565 drive-strength = <2>;
566 bias-disable;
571 nfc_clk_req: nfc-clk-req-state {
575 input-enable;
576 bias-disable;
577 power-source = <PM8916_GPIO_L2>;