2014-07-07 17:48:00 +08: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 16:45:21 +08: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 17:48:00 +08:00
|
|
|
|
|
|
|
Sensors may also have applicable pin control settings, those use the
|
|
|
|
standard bindings from pinctrl/pinctrl-bindings.txt.
|
|
|
|
|
|
|
|
Valid compatible strings:
|
|
|
|
|
|
|
|
Accelerometers:
|
2015-03-18 17:52:06 +08:00
|
|
|
- st,lis3lv02dl-accel
|
2014-07-07 17:48:00 +08:00
|
|
|
- st,lsm303dlh-accel
|
|
|
|
- st,lsm303dlhc-accel
|
|
|
|
- st,lis3dh-accel
|
|
|
|
- st,lsm330d-accel
|
|
|
|
- st,lsm330dl-accel
|
|
|
|
- st,lsm330dlc-accel
|
2015-05-19 21:37:18 +08:00
|
|
|
- st,lis331dl-accel
|
2014-07-07 17:48:00 +08:00
|
|
|
- st,lis331dlh-accel
|
|
|
|
- st,lsm303dl-accel
|
|
|
|
- st,lsm303dlm-accel
|
|
|
|
- st,lsm330-accel
|
2015-07-21 16:35:44 +08:00
|
|
|
- st,lsm303agr-accel
|
2015-11-12 15:36:49 +08:00
|
|
|
- st,lis2dh12-accel
|
2016-03-09 20:06:14 +08:00
|
|
|
- st,h3lis331dl-accel
|
2014-07-07 17:48:00 +08:00
|
|
|
|
|
|
|
Gyroscopes:
|
|
|
|
- st,l3g4200d-gyro
|
|
|
|
- st,lsm330d-gyro
|
|
|
|
- st,lsm330dl-gyro
|
|
|
|
- st,lsm330dlc-gyro
|
|
|
|
- st,l3gd20-gyro
|
|
|
|
- st,l3g4is-gyro
|
|
|
|
- st,lsm330-gyro
|
2016-04-19 20:02:11 +08:00
|
|
|
- st,lsm9ds0-gyro
|
2014-07-07 17:48:00 +08:00
|
|
|
|
|
|
|
Magnetometers:
|
2015-07-21 16:35:45 +08:00
|
|
|
- st,lsm303agr-magn
|
2015-04-30 21:15:50 +08:00
|
|
|
- st,lsm303dlh-magn
|
2014-07-07 17:48:00 +08:00
|
|
|
- st,lsm303dlhc-magn
|
|
|
|
- st,lsm303dlm-magn
|
|
|
|
- st,lis3mdl-magn
|
|
|
|
|
|
|
|
Pressure sensors:
|
|
|
|
- st,lps001wp-press
|
|
|
|
- st,lps25h-press
|
|
|
|
- st,lps331ap-press
|
2016-04-19 17:18:32 +08:00
|
|
|
- st,lps22hb-press
|