Path: blob/main/sys/contrib/device-tree/Bindings/iio/st-sensors.txt
48378 views
STMicroelectronics MEMS sensors12The STMicroelectronics sensor devices are pretty straight-forward I2C or3SPI devices, all sharing the same device tree descriptions no matter what4type of sensor it is.56Required properties:7- compatible: see the list of valid compatible strings below8- reg: the I2C or SPI address the device will respond to910Optional properties:11- vdd-supply: an optional regulator that needs to be on to provide VDD12power to the sensor.13- vddio-supply: an optional regulator that needs to be on to provide the14VDD IO power to the sensor.15- st,drdy-int-pin: the pin on the package that will be used to signal16"data ready" (valid values: 1 or 2). This property is not configurable17on all sensors.18- drive-open-drain: the interrupt/data ready line will be configured19as open drain, which is useful if several sensors share the same20interrupt line. (This binding is taken from pinctrl/pinctrl-bindings.txt)21This is a boolean property.2223Sensors may also have applicable pin control settings, those use the24standard bindings from pinctrl/pinctrl-bindings.txt.2526Valid compatible strings:2728Accelerometers:29- st,lis3lv02d (deprecated, use st,lis3lv02dl-accel)30- st,lis302dl-spi (deprecated, use st,lis3lv02dl-accel)31- st,lis3lv02dl-accel32- st,lsm303dlh-accel33- st,lsm303dlhc-accel34- st,lis3dh-accel35- st,lsm330d-accel36- st,lsm330dl-accel37- st,lsm330dlc-accel38- st,lis331dl-accel39- st,lis331dlh-accel40- st,lsm303dl-accel41- st,lsm303dlm-accel42- st,lsm330-accel43- st,lsm303agr-accel44- st,lis2dh12-accel45- st,h3lis331dl-accel46- st,lng2dm-accel47- st,lis3l02dq48- st,lis2dw1249- st,lis3dhh50- st,lis3de51- st,lis2de1252- st,lis2hh125354Gyroscopes:55- st,l3g4200d-gyro56- st,lsm330d-gyro57- st,lsm330dl-gyro58- st,lsm330dlc-gyro59- st,l3gd20-gyro60- st,l3gd20h-gyro61- st,l3g4is-gyro62- st,lsm330-gyro63- st,lsm9ds0-gyro6465Magnetometers:66- st,lsm303agr-magn67- st,lsm303dlh-magn68- st,lsm303dlhc-magn69- st,lsm303dlm-magn70- st,lis3mdl-magn71- st,lis2mdl72- st,lsm9ds1-magn7374Pressure sensors:75- st,lps001wp-press76- st,lps25h-press77- st,lps331ap-press78- st,lps22hb-press79- st,lps33hw80- st,lps35hw81- st,lps22hh828384