Merge remote-tracking branches 'spi/topic/loopback', 'spi/topic/omap2-mcspi', 'spi...
[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 - drive-open-drain: the interrupt/data ready line will be configured
20   as open drain, which is useful if several sensors share the same
21   interrupt line. (This binding is taken from pinctrl/pinctrl-bindings.txt)
22   This is a boolean property.
23
24 Sensors may also have applicable pin control settings, those use the
25 standard bindings from pinctrl/pinctrl-bindings.txt.
26
27 Valid compatible strings:
28
29 Accelerometers:
30 - st,lis3lv02d (deprecated, use st,lis3lv02dl-accel)
31 - st,lis302dl-spi (deprecated, use st,lis3lv02dl-accel)
32 - st,lis3lv02dl-accel
33 - st,lsm303dlh-accel
34 - st,lsm303dlhc-accel
35 - st,lis3dh-accel
36 - st,lsm330d-accel
37 - st,lsm330dl-accel
38 - st,lsm330dlc-accel
39 - st,lis331dl-accel
40 - st,lis331dlh-accel
41 - st,lsm303dl-accel
42 - st,lsm303dlm-accel
43 - st,lsm330-accel
44 - st,lsm303agr-accel
45 - st,lis2dh12-accel
46 - st,h3lis331dl-accel
47 - st,lng2dm-accel
48
49 Gyroscopes:
50 - st,l3g4200d-gyro
51 - st,lsm330d-gyro
52 - st,lsm330dl-gyro
53 - st,lsm330dlc-gyro
54 - st,l3gd20-gyro
55 - st,l3g4is-gyro
56 - st,lsm330-gyro
57 - st,lsm9ds0-gyro
58
59 Magnetometers:
60 - st,lsm303agr-magn
61 - st,lsm303dlh-magn
62 - st,lsm303dlhc-magn
63 - st,lsm303dlm-magn
64 - st,lis3mdl-magn
65
66 Pressure sensors:
67 - st,lps001wp-press
68 - st,lps25h-press
69 - st,lps331ap-press
70 - st,lps22hb-press