Commit 58601d10 authored by Ivan Drobyshevskyi's avatar Ivan Drobyshevskyi Committed by Jonathan Cameron

dt-bindings: iio: proximity: vl53l0x: Add IRQ support

Since IRQ support was added to the driver, update bindings accordingly.
Signed-off-by: default avatarIvan Drobyshevskyi <drobyshevskyi@gmail.com>
Link: https://lore.kernel.org/r/20200916074458.873359-1-drobyshevskyi@gmail.comSigned-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 322da390
...@@ -4,9 +4,15 @@ Required properties: ...@@ -4,9 +4,15 @@ Required properties:
- compatible: must be "st,vl53l0x" - compatible: must be "st,vl53l0x"
- reg: i2c address where to find the device - reg: i2c address where to find the device
Optional properties:
- interrupts: Interrupt for notifying that new measurement is ready.
If no interrupt is specified, polling is used.
Example: Example:
vl53l0x@29 { vl53l0x@29 {
compatible = "st,vl53l0x"; compatible = "st,vl53l0x";
reg = <0x29>; reg = <0x29>;
interrupt-parent = <&gpio>;
interrupts = <23 IRQ_TYPE_EDGE_FALLING>;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment