Lines Matching +full:cd +full:- +full:inverted

1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-pm8916.dtsi"
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/leds/common.h>
14 chassis-type = "tablet";
23 stdout-path = "serial0";
26 flash-led-controller {
27 /* Actually qcom,leds-gpio-flash */
29 enable-gpios = <&tlmm 31 GPIO_ACTIVE_HIGH>;
30 flash-gpios = <&tlmm 32 GPIO_ACTIVE_HIGH>;
32 pinctrl-0 = <&camera_flash_default>;
33 pinctrl-names = "default";
38 flash-max-timeout-us = <250000>;
42 gpio-keys {
43 compatible = "gpio-keys";
45 pinctrl-0 = <&gpio_keys_default>;
46 pinctrl-names = "default";
48 button-volume-up {
55 gpio-leds {
56 compatible = "gpio-leds";
58 pinctrl-0 = <&gpio_leds_default>;
59 pinctrl-names = "default";
61 led-red {
65 retain-state-suspended;
68 led-green {
72 retain-state-suspended;
76 usb_id: usb-id {
77 compatible = "linux,extcon-usb-gpio";
78 id-gpios = <&tlmm 110 GPIO_ACTIVE_HIGH>;
79 pinctrl-0 = <&usb_id_default>;
80 pinctrl-names = "default";
89 compatible = "edt,edt-ft5406";
92 interrupt-parent = <&tlmm>;
95 reset-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
97 vcc-supply = <&pm8916_l17>;
98 iovcc-supply = <&pm8916_l6>;
100 touchscreen-size-x = <800>;
101 touchscreen-size-y = <500>;
102 touchscreen-inverted-x;
103 touchscreen-swapped-x-y;
105 pinctrl-0 = <&touchscreen_default>;
106 pinctrl-names = "default";
121 regulator-min-microvolt = <2850000>;
122 regulator-max-microvolt = <2850000>;
135 pinctrl-0 = <&sdc2_default &sdc2_cd_default>;
136 pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>;
137 pinctrl-names = "default", "sleep";
139 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
174 camera_flash_default: camera-flash-default-state {
177 drive-strength = <2>;
178 bias-disable;
181 gpio_keys_default: gpio-keys-default-state {
184 drive-strength = <2>;
185 bias-pull-up;
188 gpio_leds_default: gpio-led-default-state {
191 drive-strength = <2>;
192 bias-disable;
195 sdc2_cd_default: sdc2-cd-default-state {
198 drive-strength = <2>;
199 bias-disable;
202 touchscreen_default: touchscreen-default-state {
203 reset-pins {
206 drive-strength = <2>;
207 bias-disable;
210 touchscreen-pins {
213 drive-strength = <2>;
214 bias-pull-up;
218 usb_id_default: usb-id-default-state {
221 drive-strength = <8>;
222 bias-pull-up;