]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/iio/st-sensors.txt
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[karo-tx-linux.git] / Documentation / devicetree / bindings / iio / st-sensors.txt
1 STMicroelectronics MEMS sensors
2
3 The STMicroelectronics sensor devices are pretty straight-forward I2C or
4 SPI devices, all sharing the same device tree descriptions no matter what
5 type of sensor it is.
6
7 Required properties:
8 - compatible: see the list of valid compatible strings below
9 - reg: the I2C or SPI address the device will respond to
10
11 Optional 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
20 Sensors may also have applicable pin control settings, those use the
21 standard bindings from pinctrl/pinctrl-bindings.txt.
22
23 Valid compatible strings:
24
25 Accelerometers:
26 - st,lis3lv02dl-accel
27 - st,lsm303dlh-accel
28 - st,lsm303dlhc-accel
29 - st,lis3dh-accel
30 - st,lsm330d-accel
31 - st,lsm330dl-accel
32 - st,lsm330dlc-accel
33 - st,lis331dl-accel
34 - st,lis331dlh-accel
35 - st,lsm303dl-accel
36 - st,lsm303dlm-accel
37 - st,lsm330-accel
38 - st,lsm303agr-accel
39
40 Gyroscopes:
41 - st,l3g4200d-gyro
42 - st,lsm330d-gyro
43 - st,lsm330dl-gyro
44 - st,lsm330dlc-gyro
45 - st,l3gd20-gyro
46 - st,l3g4is-gyro
47 - st,lsm330-gyro
48
49 Magnetometers:
50 - st,lsm303agr-magn
51 - st,lsm303dlh-magn
52 - st,lsm303dlhc-magn
53 - st,lsm303dlm-magn
54 - st,lis3mdl-magn
55
56 Pressure sensors:
57 - st,lps001wp-press
58 - st,lps25h-press
59 - st,lps331ap-press