Merge remote-tracking branch 'spi/fix/core' into spi-linus
[sfrench/cifs-2.6.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,lis331dlh-accel
34 - st,lsm303dl-accel
35 - st,lsm303dlm-accel
36 - st,lsm330-accel
37
38 Gyroscopes:
39 - st,l3g4200d-gyro
40 - st,lsm330d-gyro
41 - st,lsm330dl-gyro
42 - st,lsm330dlc-gyro
43 - st,l3gd20-gyro
44 - st,l3g4is-gyro
45 - st,lsm330-gyro
46
47 Magnetometers:
48 - st,lsm303dlhc-magn
49 - st,lsm303dlm-magn
50 - st,lis3mdl-magn
51
52 Pressure sensors:
53 - st,lps001wp-press
54 - st,lps25h-press
55 - st,lps331ap-press