We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e49cbe commit d5ed9a0Copy full SHA for d5ed9a0
arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts
@@ -99,6 +99,14 @@
99
pinctrl-names = "default";
100
pinctrl-0 = <&i2c3_pins>;
101
status = "okay";
102
+
103
+ proximity@48 {
104
+ compatible = "sensortek,stk3310";
105
+ reg = <0x48>;
106
+ interrupts-extended = <&pio 8 IRQ_TYPE_EDGE_FALLING>;
107
+ pinctrl-names = "default";
108
+ pinctrl-0 = <&proximity_pins>;
109
+ };
110
};
111
112
&pio {
@@ -115,6 +123,14 @@
115
123
116
124
117
125
126
+ proximity_pins: proximity-pins {
127
+ pins-irq {
128
+ pinmux = <PINMUX_GPIO8__FUNC_GPIO8>;
129
+ bias-pull-up;
130
+ input-enable;
131
132
133
118
134
i2c0_pins: i2c0-pins {
119
135
pins-bus {
120
136
pinmux = <PINMUX_GPIO45__FUNC_SDA0>,
0 commit comments