2014-07-07 16:48:00 +07:00
|
|
|
STMicroelectronics MEMS sensors
|
|
|
|
|
|
|
|
The STMicroelectronics sensor devices are pretty straight-forward I2C or
|
|
|
|
SPI devices, all sharing the same device tree descriptions no matter what
|
|
|
|
type of sensor it is.
|
|
|
|
|
|
|
|
Required properties:
|
|
|
|
- compatible: see the list of valid compatible strings below
|
|
|
|
- reg: the I2C or SPI address the device will respond to
|
|
|
|
|
|
|
|
Optional properties:
|
|
|
|
- vdd-supply: an optional regulator that needs to be on to provide VDD
|
|
|
|
power to the sensor.
|
|
|
|
- vddio-supply: an optional regulator that needs to be on to provide the
|
|
|
|
VDD IO power to the sensor.
|
|
|
|
- st,drdy-int-pin: the pin on the package that will be used to signal
|
|
|
|
"data ready" (valid values: 1 or 2). This property is not configurable
|
|
|
|
on all sensors.
|
2016-04-14 15:45:21 +07:00
|
|
|
- drive-open-drain: the interrupt/data ready line will be configured
|
|
|
|
as open drain, which is useful if several sensors share the same
|
|
|
|
interrupt line. (This binding is taken from pinctrl/pinctrl-bindings.txt)
|
|
|
|
This is a boolean property.
|
2014-07-07 16:48:00 +07:00
|
|
|
|
|
|
|
Sensors may also have applicable pin control settings, those use the
|
|
|
|
standard bindings from pinctrl/pinctrl-bindings.txt.
|
|
|
|
|
|
|
|
Valid compatible strings:
|
|
|
|
|
|
|
|
Accelerometers:
|
2017-01-05 20:32:33 +07:00
|
|
|
- st,lis3lv02d (deprecated, use st,lis3lv02dl-accel)
|
|
|
|
- st,lis302dl-spi (deprecated, use st,lis3lv02dl-accel)
|
2015-03-18 16:52:06 +07:00
|
|
|
- st,lis3lv02dl-accel
|
2014-07-07 16:48:00 +07:00
|
|
|
- st,lsm303dlh-accel
|
|
|
|
- st,lsm303dlhc-accel
|
|
|
|
- st,lis3dh-accel
|
|
|
|
- st,lsm330d-accel
|
|
|
|
- st,lsm330dl-accel
|
|
|
|
- st,lsm330dlc-accel
|
2015-05-19 20:37:18 +07:00
|
|
|
- st,lis331dl-accel
|
2014-07-07 16:48:00 +07:00
|
|
|
- st,lis331dlh-accel
|
|
|
|
- st,lsm303dl-accel
|
|
|
|
- st,lsm303dlm-accel
|
|
|
|
- st,lsm330-accel
|
2015-07-21 15:35:44 +07:00
|
|
|
- st,lsm303agr-accel
|
2015-11-12 14:36:49 +07:00
|
|
|
- st,lis2dh12-accel
|
2016-03-09 19:06:14 +07:00
|
|
|
- st,h3lis331dl-accel
|
2016-10-26 04:09:04 +07:00
|
|
|
- st,lng2dm-accel
|
2017-06-25 22:50:50 +07:00
|
|
|
- st,lis3l02dq
|
2017-08-30 18:50:43 +07:00
|
|
|
- st,lis2dw12
|
2017-09-17 23:17:12 +07:00
|
|
|
- st,lis3dhh
|
2018-11-07 22:45:21 +07:00
|
|
|
- st,lis3de
|
2019-04-11 07:12:08 +07:00
|
|
|
- st,lis2de12
|
2014-07-07 16:48:00 +07:00
|
|
|
|
|
|
|
Gyroscopes:
|
|
|
|
- st,l3g4200d-gyro
|
|
|
|
- st,lsm330d-gyro
|
|
|
|
- st,lsm330dl-gyro
|
|
|
|
- st,lsm330dlc-gyro
|
|
|
|
- st,l3gd20-gyro
|
2017-06-20 03:04:31 +07:00
|
|
|
- st,l3gd20h-gyro
|
2014-07-07 16:48:00 +07:00
|
|
|
- st,l3g4is-gyro
|
|
|
|
- st,lsm330-gyro
|
2016-04-19 19:02:11 +07:00
|
|
|
- st,lsm9ds0-gyro
|
2014-07-07 16:48:00 +07:00
|
|
|
|
|
|
|
Magnetometers:
|
2015-07-21 15:35:45 +07:00
|
|
|
- st,lsm303agr-magn
|
2015-04-30 20:15:50 +07:00
|
|
|
- st,lsm303dlh-magn
|
2014-07-07 16:48:00 +07:00
|
|
|
- st,lsm303dlhc-magn
|
|
|
|
- st,lsm303dlm-magn
|
|
|
|
- st,lis3mdl-magn
|
2017-08-17 00:02:53 +07:00
|
|
|
- st,lis2mdl
|
2018-10-26 09:38:12 +07:00
|
|
|
- st,lsm9ds1-magn
|
2014-07-07 16:48:00 +07:00
|
|
|
|
|
|
|
Pressure sensors:
|
|
|
|
- st,lps001wp-press
|
|
|
|
- st,lps25h-press
|
|
|
|
- st,lps331ap-press
|
2016-04-19 16:18:32 +07:00
|
|
|
- st,lps22hb-press
|
2017-09-03 00:39:15 +07:00
|
|
|
- st,lps33hw
|
|
|
|
- st,lps35hw
|
2019-01-20 03:47:53 +07:00
|
|
|
- st,lps22hh
|