Lines Matching +full:gpio +full:- +full:keys
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>
18 stdout-path = "serial0";
21 gpio-keys {
22 compatible = "gpio-keys";
24 pinctrl-0 = <&gpio_keys_default>;
25 pinctrl-names = "default";
27 label = "GPIO Buttons";
29 volume-up-button {
33 debounce-interval = <15>;
37 usb_id: usb-id {
38 compatible = "linux,extcon-usb-gpio";
39 id-gpios = <&tlmm 91 GPIO_ACTIVE_HIGH>;
40 pinctrl-0 = <&usb_id_default>;
41 pinctrl-1 = <&usb_id_sleep>;
42 pinctrl-names = "default", "sleep";
50 compatible = "syna,rmi4-i2c";
52 #address-cells = <1>;
53 #size-cells = <0>;
55 vio-supply = <&pm8916_l6>;
57 syna,startup-delay-ms = <100>;
59 rmi4-f01@1 {
61 syna,nosleep-mode = <1>; /* Allow sleeping */
64 rmi4-f11@11 {
66 syna,sensor-type = <1>; /* Touchscreen */
86 regulator-min-microvolt = <3100000>;
87 regulator-max-microvolt = <3300000>;
141 gpio_keys_default: gpio-keys-default-state {
143 function = "gpio";
144 drive-strength = <2>;
145 bias-pull-up;
148 usb_id_default: usb-id-default-state {
150 function = "gpio";
151 drive-strength = <8>;
152 bias-pull-up;
155 usb_id_sleep: usb-id-sleep-state {
157 function = "gpio";
158 drive-strength = <8>;
159 bias-disable;