19 lines
416 B
Plaintext
19 lines
416 B
Plaintext
ST VL53L0X ToF ranging sensor
|
|
|
|
Required properties:
|
|
- compatible: must be "st,vl53l0x"
|
|
- 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:
|
|
|
|
vl53l0x@29 {
|
|
compatible = "st,vl53l0x";
|
|
reg = <0x29>;
|
|
interrupt-parent = <&gpio>;
|
|
interrupts = <23 IRQ_TYPE_EDGE_FALLING>;
|
|
};
|