arm64: dts: allwinner: pinephone: Add light/proximity sensor

Pinephone has STK3311-X proximity sensor. Add support for it.

Signed-off-by: Ondrej Jirman <megous@megous.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20201105054135.24860-5-samuel@sholland.org
This commit is contained in:
Ondrej Jirman 2020-11-04 23:41:33 -06:00 committed by Maxime Ripard
parent 085d96b884
commit a966ef6297
No known key found for this signature in database
GPG Key ID: E3EF0D6F671851C5

View File

@ -160,6 +160,16 @@
vddio-supply = <&reg_dldo1>;
};
/* Light/proximity sensor */
stk3311@48 {
compatible = "sensortek,stk3311";
reg = <0x48>;
interrupt-parent = <&pio>;
interrupts = <1 0 IRQ_TYPE_EDGE_FALLING>; /* PB0 */
vdd-supply = <&reg_ldo_io0>;
leda-supply = <&reg_dldo1>;
};
/* Accelerometer/gyroscope */
mpu6050@68 {
compatible = "invensense,mpu6050";