1*c66ec88fSEmmanuel VadotSTMicroelectronics MEMS sensors 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotThe STMicroelectronics sensor devices are pretty straight-forward I2C or 4*c66ec88fSEmmanuel VadotSPI devices, all sharing the same device tree descriptions no matter what 5*c66ec88fSEmmanuel Vadottype of sensor it is. 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel VadotRequired properties: 8*c66ec88fSEmmanuel Vadot- compatible: see the list of valid compatible strings below 9*c66ec88fSEmmanuel Vadot- reg: the I2C or SPI address the device will respond to 10*c66ec88fSEmmanuel Vadot 11*c66ec88fSEmmanuel VadotOptional properties: 12*c66ec88fSEmmanuel Vadot- vdd-supply: an optional regulator that needs to be on to provide VDD 13*c66ec88fSEmmanuel Vadot power to the sensor. 14*c66ec88fSEmmanuel Vadot- vddio-supply: an optional regulator that needs to be on to provide the 15*c66ec88fSEmmanuel Vadot VDD IO power to the sensor. 16*c66ec88fSEmmanuel Vadot- st,drdy-int-pin: the pin on the package that will be used to signal 17*c66ec88fSEmmanuel Vadot "data ready" (valid values: 1 or 2). This property is not configurable 18*c66ec88fSEmmanuel Vadot on all sensors. 19*c66ec88fSEmmanuel Vadot- drive-open-drain: the interrupt/data ready line will be configured 20*c66ec88fSEmmanuel Vadot as open drain, which is useful if several sensors share the same 21*c66ec88fSEmmanuel Vadot interrupt line. (This binding is taken from pinctrl/pinctrl-bindings.txt) 22*c66ec88fSEmmanuel Vadot This is a boolean property. 23*c66ec88fSEmmanuel Vadot 24*c66ec88fSEmmanuel VadotSensors may also have applicable pin control settings, those use the 25*c66ec88fSEmmanuel Vadotstandard bindings from pinctrl/pinctrl-bindings.txt. 26*c66ec88fSEmmanuel Vadot 27*c66ec88fSEmmanuel VadotValid compatible strings: 28*c66ec88fSEmmanuel Vadot 29*c66ec88fSEmmanuel VadotAccelerometers: 30*c66ec88fSEmmanuel Vadot- st,lis3lv02d (deprecated, use st,lis3lv02dl-accel) 31*c66ec88fSEmmanuel Vadot- st,lis302dl-spi (deprecated, use st,lis3lv02dl-accel) 32*c66ec88fSEmmanuel Vadot- st,lis3lv02dl-accel 33*c66ec88fSEmmanuel Vadot- st,lsm303dlh-accel 34*c66ec88fSEmmanuel Vadot- st,lsm303dlhc-accel 35*c66ec88fSEmmanuel Vadot- st,lis3dh-accel 36*c66ec88fSEmmanuel Vadot- st,lsm330d-accel 37*c66ec88fSEmmanuel Vadot- st,lsm330dl-accel 38*c66ec88fSEmmanuel Vadot- st,lsm330dlc-accel 39*c66ec88fSEmmanuel Vadot- st,lis331dl-accel 40*c66ec88fSEmmanuel Vadot- st,lis331dlh-accel 41*c66ec88fSEmmanuel Vadot- st,lsm303dl-accel 42*c66ec88fSEmmanuel Vadot- st,lsm303dlm-accel 43*c66ec88fSEmmanuel Vadot- st,lsm330-accel 44*c66ec88fSEmmanuel Vadot- st,lsm303agr-accel 45*c66ec88fSEmmanuel Vadot- st,lis2dh12-accel 46*c66ec88fSEmmanuel Vadot- st,h3lis331dl-accel 47*c66ec88fSEmmanuel Vadot- st,lng2dm-accel 48*c66ec88fSEmmanuel Vadot- st,lis3l02dq 49*c66ec88fSEmmanuel Vadot- st,lis2dw12 50*c66ec88fSEmmanuel Vadot- st,lis3dhh 51*c66ec88fSEmmanuel Vadot- st,lis3de 52*c66ec88fSEmmanuel Vadot- st,lis2de12 53*c66ec88fSEmmanuel Vadot- st,lis2hh12 54*c66ec88fSEmmanuel Vadot 55*c66ec88fSEmmanuel VadotGyroscopes: 56*c66ec88fSEmmanuel Vadot- st,l3g4200d-gyro 57*c66ec88fSEmmanuel Vadot- st,lsm330d-gyro 58*c66ec88fSEmmanuel Vadot- st,lsm330dl-gyro 59*c66ec88fSEmmanuel Vadot- st,lsm330dlc-gyro 60*c66ec88fSEmmanuel Vadot- st,l3gd20-gyro 61*c66ec88fSEmmanuel Vadot- st,l3gd20h-gyro 62*c66ec88fSEmmanuel Vadot- st,l3g4is-gyro 63*c66ec88fSEmmanuel Vadot- st,lsm330-gyro 64*c66ec88fSEmmanuel Vadot- st,lsm9ds0-gyro 65*c66ec88fSEmmanuel Vadot 66*c66ec88fSEmmanuel VadotMagnetometers: 67*c66ec88fSEmmanuel Vadot- st,lsm303agr-magn 68*c66ec88fSEmmanuel Vadot- st,lsm303dlh-magn 69*c66ec88fSEmmanuel Vadot- st,lsm303dlhc-magn 70*c66ec88fSEmmanuel Vadot- st,lsm303dlm-magn 71*c66ec88fSEmmanuel Vadot- st,lis3mdl-magn 72*c66ec88fSEmmanuel Vadot- st,lis2mdl 73*c66ec88fSEmmanuel Vadot- st,lsm9ds1-magn 74*c66ec88fSEmmanuel Vadot 75*c66ec88fSEmmanuel VadotPressure sensors: 76*c66ec88fSEmmanuel Vadot- st,lps001wp-press 77*c66ec88fSEmmanuel Vadot- st,lps25h-press 78*c66ec88fSEmmanuel Vadot- st,lps331ap-press 79*c66ec88fSEmmanuel Vadot- st,lps22hb-press 80*c66ec88fSEmmanuel Vadot- st,lps33hw 81*c66ec88fSEmmanuel Vadot- st,lps35hw 82*c66ec88fSEmmanuel Vadot- st,lps22hh 83