Kconfig 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. #
  2. # Accelerometer drivers
  3. #
  4. # When adding new entries keep the list in alphabetical order
  5. menu "Accelerometers"
  6. config BMA180
  7. tristate "Bosch BMA180/BMA250 3-Axis Accelerometer Driver"
  8. depends on I2C
  9. select IIO_BUFFER
  10. select IIO_TRIGGERED_BUFFER
  11. help
  12. Say Y here if you want to build a driver for the Bosch BMA180 or
  13. BMA250 triaxial acceleration sensor.
  14. To compile this driver as a module, choose M here: the
  15. module will be called bma180.
  16. config BMC150_ACCEL
  17. tristate "Bosch BMC150 Accelerometer Driver"
  18. select IIO_BUFFER
  19. select IIO_TRIGGERED_BUFFER
  20. select REGMAP
  21. select BMC150_ACCEL_I2C if I2C
  22. select BMC150_ACCEL_SPI if SPI
  23. help
  24. Say yes here to build support for the following Bosch accelerometers:
  25. BMC150, BMI055, BMA250E, BMA222E, BMA255, BMA280.
  26. This is a combo module with both accelerometer and magnetometer.
  27. This driver is only implementing accelerometer part, which has
  28. its own address and register map.
  29. config BMC150_ACCEL_I2C
  30. tristate
  31. select REGMAP_I2C
  32. config BMC150_ACCEL_SPI
  33. tristate
  34. select REGMAP_SPI
  35. config HID_SENSOR_ACCEL_3D
  36. depends on HID_SENSOR_HUB
  37. select IIO_BUFFER
  38. select IIO_TRIGGERED_BUFFER
  39. select HID_SENSOR_IIO_COMMON
  40. select HID_SENSOR_IIO_TRIGGER
  41. tristate "HID Accelerometers 3D"
  42. help
  43. Say yes here to build support for the HID SENSOR
  44. accelerometers 3D.
  45. To compile this driver as a module, choose M here: the
  46. module will be called hid-sensor-accel-3d.
  47. config IIO_ST_ACCEL_3AXIS
  48. tristate "STMicroelectronics accelerometers 3-Axis Driver"
  49. depends on (I2C || SPI_MASTER) && SYSFS
  50. select IIO_ST_SENSORS_CORE
  51. select IIO_ST_ACCEL_I2C_3AXIS if (I2C)
  52. select IIO_ST_ACCEL_SPI_3AXIS if (SPI_MASTER)
  53. select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
  54. help
  55. Say yes here to build support for STMicroelectronics accelerometers:
  56. LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
  57. LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12.
  58. This driver can also be built as a module. If so, these modules
  59. will be created:
  60. - st_accel (core functions for the driver [it is mandatory]);
  61. - st_accel_i2c (necessary for the I2C devices [optional*]);
  62. - st_accel_spi (necessary for the SPI devices [optional*]);
  63. (*) one of these is necessary to do something.
  64. config IIO_ST_ACCEL_I2C_3AXIS
  65. tristate
  66. depends on IIO_ST_ACCEL_3AXIS
  67. depends on IIO_ST_SENSORS_I2C
  68. config IIO_ST_ACCEL_SPI_3AXIS
  69. tristate
  70. depends on IIO_ST_ACCEL_3AXIS
  71. depends on IIO_ST_SENSORS_SPI
  72. config KXSD9
  73. tristate "Kionix KXSD9 Accelerometer Driver"
  74. depends on SPI
  75. help
  76. Say yes here to build support for the Kionix KXSD9 accelerometer.
  77. Currently this only supports the device via an SPI interface.
  78. To compile this driver as a module, choose M here: the module
  79. will be called kxsd9.
  80. config KXCJK1013
  81. tristate "Kionix 3-Axis Accelerometer Driver"
  82. depends on I2C
  83. select IIO_BUFFER
  84. select IIO_TRIGGERED_BUFFER
  85. help
  86. Say Y here if you want to build a driver for the Kionix KXCJK-1013
  87. triaxial acceleration sensor. This driver also supports KXCJ9-1008
  88. and KXTJ2-1009.
  89. To compile this driver as a module, choose M here: the module will
  90. be called kxcjk-1013.
  91. config MMA7455
  92. tristate
  93. select IIO_BUFFER
  94. select IIO_TRIGGERED_BUFFER
  95. config MMA7455_I2C
  96. tristate "Freescale MMA7455L/MMA7456L Accelerometer I2C Driver"
  97. depends on I2C
  98. select MMA7455
  99. select REGMAP_I2C
  100. help
  101. Say yes here to build support for the Freescale MMA7455L and
  102. MMA7456L 3-axis accelerometer.
  103. To compile this driver as a module, choose M here: the module
  104. will be called mma7455_i2c.
  105. config MMA7455_SPI
  106. tristate "Freescale MMA7455L/MMA7456L Accelerometer SPI Driver"
  107. depends on SPI_MASTER
  108. select MMA7455
  109. select REGMAP_SPI
  110. help
  111. Say yes here to build support for the Freescale MMA7455L and
  112. MMA7456L 3-axis accelerometer.
  113. To compile this driver as a module, choose M here: the module
  114. will be called mma7455_spi.
  115. config MMA8452
  116. tristate "Freescale MMA8452Q and similar Accelerometers Driver"
  117. depends on I2C
  118. select IIO_BUFFER
  119. select IIO_TRIGGERED_BUFFER
  120. help
  121. Say yes here to build support for the following Freescale 3-axis
  122. accelerometers: MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC.
  123. To compile this driver as a module, choose M here: the module
  124. will be called mma8452.
  125. config MMA9551_CORE
  126. tristate
  127. config MMA9551
  128. tristate "Freescale MMA9551L Intelligent Motion-Sensing Platform Driver"
  129. depends on I2C
  130. select MMA9551_CORE
  131. help
  132. Say yes here to build support for the Freescale MMA9551L
  133. Intelligent Motion-Sensing Platform Driver.
  134. To compile this driver as a module, choose M here: the module
  135. will be called mma9551.
  136. config MMA9553
  137. tristate "Freescale MMA9553L Intelligent Pedometer Platform Driver"
  138. depends on I2C
  139. select MMA9551_CORE
  140. help
  141. Say yes here to build support for the Freescale MMA9553L
  142. Intelligent Pedometer Platform Driver.
  143. To compile this driver as a module, choose M here: the module
  144. will be called mma9553.
  145. config MXC4005
  146. tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver"
  147. depends on I2C
  148. select IIO_BUFFER
  149. select IIO_TRIGGERED_BUFFER
  150. select REGMAP_I2C
  151. help
  152. Say yes here to build support for the Memsic MXC4005XC 3-axis
  153. accelerometer.
  154. To compile this driver as a module, choose M. The module will be
  155. called mxc4005.
  156. config MXC6255
  157. tristate "Memsic MXC6255 Orientation Sensing Accelerometer Driver"
  158. depends on I2C
  159. select REGMAP_I2C
  160. help
  161. Say yes here to build support for the Memsic MXC6255 Orientation
  162. Sensing Accelerometer Driver.
  163. To compile this driver as a module, choose M here: the module will be
  164. called mxc6255.
  165. config STK8312
  166. tristate "Sensortek STK8312 3-Axis Accelerometer Driver"
  167. depends on I2C
  168. select IIO_BUFFER
  169. select IIO_TRIGGERED_BUFFER
  170. help
  171. Say yes here to get support for the Sensortek STK8312 3-axis
  172. accelerometer.
  173. Choosing M will build the driver as a module. If so, the module
  174. will be called stk8312.
  175. config STK8BA50
  176. tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver"
  177. depends on I2C
  178. depends on IIO_TRIGGER
  179. help
  180. Say yes here to get support for the Sensortek STK8BA50 3-axis
  181. accelerometer.
  182. Choosing M will build the driver as a module. If so, the module
  183. will be called stk8ba50.
  184. endmenu