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:
parent
085d96b884
commit
a966ef6297
@ -160,6 +160,16 @@
|
||||
vddio-supply = <®_dldo1>;
|
||||
};
|
||||
|
||||
/* Light/proximity sensor */
|
||||
stk3311@48 {
|
||||
compatible = "sensortek,stk3311";
|
||||
reg = <0x48>;
|
||||
interrupt-parent = <&pio>;
|
||||
interrupts = <1 0 IRQ_TYPE_EDGE_FALLING>; /* PB0 */
|
||||
vdd-supply = <®_ldo_io0>;
|
||||
leda-supply = <®_dldo1>;
|
||||
};
|
||||
|
||||
/* Accelerometer/gyroscope */
|
||||
mpu6050@68 {
|
||||
compatible = "invensense,mpu6050";
|
||||
|
Loading…
Reference in New Issue
Block a user