1STMicro VL6180 - ALS, range and proximity sensor 2 3Link to datasheet: https://www.st.com/resource/en/datasheet/vl6180x.pdf 4 5Required properties: 6 7 -compatible: should be "st,vl6180" 8 -reg: the I2C address of the sensor 9 10Optional properties: 11 -avdd-gpio: gpio to enable or disable the digital/analog power supply 12 -chip-enable-gpio: gpio to enable or disable chip select (CE) 13 14Example: 15 16vl6180@29 { 17 compatible = "st,vl6180"; 18 reg = <0x29>; 19}; 20 21Here an example with power controlled by gpio: 22 23vl6180@29 { 24 compatible = "st,vl6180"; 25 reg = <0x29>; 26 avdd-gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>; 27 chip-enable-gpio = <&gpio1 3 GPIO_ACTIVE_HIGH>; 28}; 29