aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/iio/st-sensors.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/devicetree/bindings/iio/st-sensors.txt')
-rw-r--r--Documentation/devicetree/bindings/iio/st-sensors.txt54
1 files changed, 54 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/st-sensors.txt b/Documentation/devicetree/bindings/iio/st-sensors.txt
new file mode 100644
index 000000000000..a7a0a15913ad
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/st-sensors.txt
@@ -0,0 +1,54 @@
1STMicroelectronics MEMS sensors
2
3The STMicroelectronics sensor devices are pretty straight-forward I2C or
4SPI devices, all sharing the same device tree descriptions no matter what
5type of sensor it is.
6
7Required properties:
8- compatible: see the list of valid compatible strings below
9- reg: the I2C or SPI address the device will respond to
10
11Optional properties:
12- vdd-supply: an optional regulator that needs to be on to provide VDD
13 power to the sensor.
14- vddio-supply: an optional regulator that needs to be on to provide the
15 VDD IO power to the sensor.
16- st,drdy-int-pin: the pin on the package that will be used to signal
17 "data ready" (valid values: 1 or 2). This property is not configurable
18 on all sensors.
19
20Sensors may also have applicable pin control settings, those use the
21standard bindings from pinctrl/pinctrl-bindings.txt.
22
23Valid compatible strings:
24
25Accelerometers:
26- st,lsm303dlh-accel
27- st,lsm303dlhc-accel
28- st,lis3dh-accel
29- st,lsm330d-accel
30- st,lsm330dl-accel
31- st,lsm330dlc-accel
32- st,lis331dlh-accel
33- st,lsm303dl-accel
34- st,lsm303dlm-accel
35- st,lsm330-accel
36
37Gyroscopes:
38- st,l3g4200d-gyro
39- st,lsm330d-gyro
40- st,lsm330dl-gyro
41- st,lsm330dlc-gyro
42- st,l3gd20-gyro
43- st,l3g4is-gyro
44- st,lsm330-gyro
45
46Magnetometers:
47- st,lsm303dlhc-magn
48- st,lsm303dlm-magn
49- st,lis3mdl-magn
50
51Pressure sensors:
52- st,lps001wp-press
53- st,lps25h-press
54- st,lps331ap-press