Lines Matching +full:audio +full:- +full:widgets

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";
39 * This seems to be actually an analog switch that either routes audio
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>;
172 pinctrl-0 = <&blsp_uart2_console_default>;
173 pinctrl-1 = <&blsp_uart2_console_sleep>;
174 pinctrl-names = "default", "sleep";
182 qcom,micbias1-ext-cap;
183 qcom,micbias-lvl = <2800>;
184 qcom,mbhc-vthreshold-low = <75 100 120 180 500>;
185 qcom,mbhc-vthreshold-high = <75 100 120 180 500>;
186 qcom,hphl-jack-type-normally-open;
197 * L16 is only used for AW2013 which is fine with 2.5-3.3V.
200 regulator-min-microvolt = <2800000>;
201 regulator-max-microvolt = <3300000>;
205 regulator-min-microvolt = <2850000>;
206 regulator-max-microvolt = <2850000>;
220 non-removable;
225 * Provide widgets/pin-switches to allow enabling speaker and headphones
229 widgets =
232 pin-switches = "Speaker", "Headphones";
233 audio-routing =
244 aux-devs = <&speaker_amp>, <&headphones_switch>;
277 camera_flash_default: camera-flash-default-state {
281 drive-strength = <2>;
282 bias-disable;
285 gpio_keys_default: gpio-keys-default-state {
289 drive-strength = <2>;
290 bias-pull-up;
293 headphones_switch_default: headphones-switch-default-state {
296 drive-strength = <2>;
297 bias-disable;
300 imu_default: imu-default-state {
304 drive-strength = <2>;
305 bias-disable;
308 speaker_amp_default: speaker-amp-default-state {
311 drive-strength = <2>;
312 bias-disable;
315 touchscreen_default: touchscreen-default-state {
316 touchscreen-pins {
320 drive-strength = <2>;
321 bias-pull-up;
323 reset-pins {
327 drive-strength = <2>;
328 bias-disable;
332 usb_id_default: usb-id-default-state {
336 drive-strength = <8>;
337 bias-pull-up;