How do I use the IIO driver of the VL53L0x sensor?
I want to use the ST VL53L0x sensor with a Raspberry Pi 3 which is supported by the Linux Kernel's IIO driver. Reference 1 and reference 2 state that I need to provide a device overlay so I wrote the following code: /dts-v1/; /plugin/; /{ compatible = “brcm, bcm2837; fragment@0 { target = <&i2c1>; overlay { #address-cells = <1>; #size-cells = <0>; status = “okay”; lv53@29{ reg = <0x29>; compatible = “st,vl53l0x”; }; }; }; }; It doesn't compile due to a syntax error. Which steps are necessary to use this driver and write the correct device overlay?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.