Lines Matching +full:msm8916 +full:- +full:pinctrl

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>
11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
15 compatible = "longcheer,l8910", "qcom,msm8916";
16 chassis-type = "handset";
25 stdout-path = "serial0";
28 speaker_amp: audio-amplifier {
30 mode-gpios = <&tlmm 114 GPIO_ACTIVE_HIGH>;
32 sound-name-prefix = "Speaker Amp";
34 pinctrl-0 = <&spk_ext_pa_default>;
35 pinctrl-names = "default";
38 flash-led-controller {
40 enable-gpios = <&tlmm 49 GPIO_ACTIVE_HIGH>;
41 flash-gpios = <&tlmm 119 GPIO_ACTIVE_HIGH>;
43 pinctrl-0 = <&camera_front_flash_default>;
44 pinctrl-names = "default";
49 flash-max-timeout-us = <250000>;
53 gpio-keys {
54 compatible = "gpio-keys";
56 pinctrl-names = "default";
57 pinctrl-0 = <&gpio_keys_default>;
61 button-volume-up {
69 compatible = "gpio-leds";
71 led-0 {
74 default-state = "off";
77 pinctrl-names = "default";
78 pinctrl-0 = <&button_backlight_default>;
82 usb_id: usb-id {
83 compatible = "linux,extcon-usb-gpio";
84 id-gpios = <&tlmm 110 GPIO_ACTIVE_HIGH>;
85 pinctrl-names = "default";
86 pinctrl-0 = <&usb_id_default>;
93 led-controller@30 {
96 #address-cells = <1>;
97 #size-cells = <0>;
99 vin-supply = <&pm8916_l17>;
100 vio-supply = <&pm8916_l6>;
102 pinctrl-0 = <&status_led_default>;
103 pinctrl-names = "default";
105 multi-led {
109 #address-cells = <1>;
110 #size-cells = <0>;
134 compatible = "asahi-kasei,ak09911";
137 vdd-supply = <&pm8916_l17>;
138 vid-supply = <&pm8916_l6>;
140 reset-gpios = <&tlmm 111 GPIO_ACTIVE_LOW>;
142 pinctrl-names = "default";
143 pinctrl-0 = <&mag_reset_default>;
150 vdd-supply = <&pm8916_l17>;
151 vddio-supply = <&pm8916_l6>;
153 mount-matrix = "0", "1", "0",
154 "-1", "0", "0",
168 qcom,micbias-lvl = <2800>;
169 qcom,mbhc-vthreshold-low = <75 100 120 180 500>;
170 qcom,mbhc-vthreshold-high = <75 100 120 180 500>;
171 qcom,hphl-jack-type-normally-open;
175 status_led_default: status-led-default-state {
178 power-source = <PM8916_GPIO_VPH>;
179 bias-disable;
180 output-high;
191 regulator-min-microvolt = <2850000>;
192 regulator-max-microvolt = <2850000>;
207 pinctrl-names = "default", "sleep";
208 pinctrl-0 = <&sdc2_default &sdc2_cd_default>;
209 pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>;
211 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
216 * Provide widgets/pin-switches to allow enabling speaker separately.
220 model = "bq-paella";
224 pin-switches = "Speaker";
225 audio-routing =
233 aux-devs = <&speaker_amp>;
266 button_backlight_default: button-backlight-default-state {
270 drive-strength = <2>;
271 bias-disable;
274 camera_front_flash_default: camera-front-flash-default-state {
277 drive-strength = <2>;
278 bias-disable;
281 gpio_keys_default: gpio-keys-default-state {
285 drive-strength = <2>;
286 bias-pull-up;
289 mag_reset_default: mag-reset-default-state {
293 drive-strength = <2>;
294 bias-disable;
297 sdc2_cd_default: sdc2-cd-default-state {
300 drive-strength = <2>;
301 bias-disable;
304 spk_ext_pa_default: spk-ext-pa-default-state {
307 drive-strength = <2>;
308 bias-disable;
311 usb_id_default: usb-id-default-state {
315 drive-strength = <8>;
316 bias-pull-up;