st-sensors.txt 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. STMicroelectronics MEMS sensors
  2. The STMicroelectronics sensor devices are pretty straight-forward I2C or
  3. SPI devices, all sharing the same device tree descriptions no matter what
  4. type of sensor it is.
  5. Required properties:
  6. - compatible: see the list of valid compatible strings below
  7. - reg: the I2C or SPI address the device will respond to
  8. Optional properties:
  9. - vdd-supply: an optional regulator that needs to be on to provide VDD
  10. power to the sensor.
  11. - vddio-supply: an optional regulator that needs to be on to provide the
  12. VDD IO power to the sensor.
  13. - st,drdy-int-pin: the pin on the package that will be used to signal
  14. "data ready" (valid values: 1 or 2). This property is not configurable
  15. on all sensors.
  16. - drive-open-drain: the interrupt/data ready line will be configured
  17. as open drain, which is useful if several sensors share the same
  18. interrupt line. (This binding is taken from pinctrl/pinctrl-bindings.txt)
  19. This is a boolean property.
  20. Sensors may also have applicable pin control settings, those use the
  21. standard bindings from pinctrl/pinctrl-bindings.txt.
  22. Valid compatible strings:
  23. Accelerometers:
  24. - st,lis3lv02d (deprecated, use st,lis3lv02dl-accel)
  25. - st,lis302dl-spi (deprecated, use st,lis3lv02dl-accel)
  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. - st,lis2dh12-accel
  40. - st,h3lis331dl-accel
  41. - st,lng2dm-accel
  42. - st,lis3l02dq
  43. - st,lis2dw12
  44. - st,lis3dhh
  45. Gyroscopes:
  46. - st,l3g4200d-gyro
  47. - st,lsm330d-gyro
  48. - st,lsm330dl-gyro
  49. - st,lsm330dlc-gyro
  50. - st,l3gd20-gyro
  51. - st,l3gd20h-gyro
  52. - st,l3g4is-gyro
  53. - st,lsm330-gyro
  54. - st,lsm9ds0-gyro
  55. Magnetometers:
  56. - st,lsm303agr-magn
  57. - st,lsm303dlh-magn
  58. - st,lsm303dlhc-magn
  59. - st,lsm303dlm-magn
  60. - st,lis3mdl-magn
  61. - st,lis2mdl
  62. Pressure sensors:
  63. - st,lps001wp-press
  64. - st,lps25h-press
  65. - st,lps331ap-press
  66. - st,lps22hb-press
  67. - st,lps33hw
  68. - st,lps35hw