Kconfig 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. if MPU3050
  2. menu "InvenSense Motion Sensors Support"
  3. choice
  4. prompt "Motion Processing Unit"
  5. depends on I2C
  6. default MPU_SENSORS_MPU3050
  7. config MPU_NONE
  8. bool "None"
  9. help
  10. This disables support for motion processing using the MPU family of
  11. motion processing units.
  12. config MPU_SENSORS_MPU3050
  13. tristate "MPU3050"
  14. depends on I2C
  15. help
  16. If you say yes here you get support for the MPU3050 Gyroscope driver
  17. This driver can also be built as a module. If so, the module
  18. will be called mpu3050.
  19. config MPU_SENSORS_MPU6000
  20. tristate "MPU6000"
  21. depends on I2C
  22. help
  23. If you say yes here you get support for the MPU6000 Gyroscope driver
  24. This driver can also be built as a module. If so, the module
  25. will be called mpu6000.
  26. endchoice
  27. choice
  28. prompt "Accelerometer Type"
  29. depends on MPU_SENSORS_MPU3050
  30. default MPU_SENSORS_MMA845X
  31. config MPU_SENSORS_ACCELEROMETER_NONE
  32. bool "NONE"
  33. depends on MPU_SENSORS_MPU3050 || MPU_SENSORS_MPU6000
  34. help
  35. This disables accelerometer support for the MPU3050
  36. config MPU_SENSORS_ADXL346
  37. bool "ADI adxl346"
  38. depends on MPU_SENSORS_MPU3050
  39. help
  40. This enables support for the ADI adxl346 accelerometer
  41. config MPU_SENSORS_BMA150
  42. bool "Bosch BMA150"
  43. depends on MPU_SENSORS_MPU3050
  44. help
  45. This enables support for the Bosch BMA150 accelerometer
  46. config MPU_SENSORS_BMA222
  47. bool "Bosch BMA222"
  48. depends on MPU_SENSORS_MPU3050
  49. help
  50. This enables support for the Bosch BMA222 accelerometer
  51. config MPU_SENSORS_KXSD9
  52. bool "Kionix KXSD9"
  53. depends on MPU_SENSORS_MPU3050
  54. help
  55. This enables support for the Kionix KXSD9 accelerometer
  56. config MPU_SENSORS_KXTF9
  57. bool "Kionix KXTF9"
  58. depends on MPU_SENSORS_MPU3050
  59. help
  60. This enables support for the Kionix KXFT9 accelerometer
  61. config MPU_SENSORS_LIS331DLH
  62. bool "ST lis331dlh"
  63. depends on MPU_SENSORS_MPU3050
  64. help
  65. This enables support for the ST lis331dlh accelerometer
  66. config MPU_SENSORS_LIS3DH
  67. bool "ST lis3dh"
  68. depends on MPU_SENSORS_MPU3050
  69. help
  70. This enables support for the ST lis3dh accelerometer
  71. config MPU_SENSORS_LSM303DLHA
  72. bool "ST lsm303dlh"
  73. depends on MPU_SENSORS_MPU3050
  74. help
  75. This enables support for the ST lsm303dlh accelerometer
  76. config MPU_SENSORS_MMA8450
  77. bool "Freescale mma8450"
  78. depends on MPU_SENSORS_MPU3050
  79. help
  80. This enables support for the Freescale mma8450 accelerometer
  81. config MPU_SENSORS_MMA845X
  82. bool "Freescale mma8451/8452/8453"
  83. depends on MPU_SENSORS_MPU3050
  84. help
  85. This enables support for the Freescale mma8451/8452/8453 accelerometer
  86. endchoice
  87. choice
  88. prompt "Compass Type"
  89. depends on MPU_SENSORS_MPU6000 || MPU_SENSORS_MPU3050
  90. default MPU_SENSORS_COMPASS_NONE
  91. config MPU_SENSORS_COMPASS_NONE
  92. bool "NONE"
  93. depends on MPU_SENSORS_MPU6000 || MPU_SENSORS_MPU3050
  94. help
  95. This disables compass support for the MPU6000
  96. config MPU_SENSORS_AK8975
  97. bool "AKM ak8975"
  98. depends on MPU_SENSORS_MPU6000 || MPU_SENSORS_MPU3050
  99. help
  100. This enables support for the AKM ak8975 compass
  101. config MPU_SENSORS_MMC314X
  102. bool "MEMSIC mmc314x"
  103. depends on MPU_SENSORS_MPU3050
  104. help
  105. This enables support for the MEMSIC mmc314x compass
  106. config MPU_SENSORS_MMC328X
  107. bool "MEMSIC mmc328x"
  108. depends on MPU_SENSORS_MPU3050
  109. help
  110. This enables support for the MEMSIC mmc328x compass
  111. config MPU_SENSORS_AMI30X
  112. bool "Aichi Steel ami30X"
  113. depends on MPU_SENSORS_MPU3050
  114. help
  115. This enables support for the Aichi Steel ami304/ami305 compass
  116. config MPU_SENSORS_AMI306
  117. bool "Aichi Steel ami306"
  118. depends on MPU_SENSORS_MPU3050
  119. help
  120. This enables support for the Aichi Steel ami306 compass
  121. config MPU_SENSORS_HMC5883
  122. bool "Honeywell hmc5883"
  123. depends on MPU_SENSORS_MPU3050
  124. help
  125. This enables support for the Honeywell hmc5883 compass
  126. config MPU_SENSORS_LSM303DLHM
  127. bool "ST lsm303dlh"
  128. depends on MPU_SENSORS_MPU3050
  129. help
  130. This enables support for the ST lsm303dlh compass
  131. config MPU_SENSORS_MMC314X
  132. bool "MEMSIC mmc314xMS"
  133. depends on MPU_SENSORS_MPU3050
  134. help
  135. This enables support for the MEMSIC mmc314xMS compass
  136. config MPU_SENSORS_YAS529
  137. bool "Yamaha yas529"
  138. depends on MPU_SENSORS_MPU3050
  139. help
  140. This enables support for the Yamaha yas529 compass
  141. config MPU_SENSORS_YAS530
  142. bool "Yamaha yas530"
  143. depends on MPU_SENSORS_MPU3050
  144. help
  145. This enables support for the Yamaha yas530 compass
  146. config MPU_SENSORS_HSCDTD002B
  147. bool "Alps hscdtd002b"
  148. depends on MPU_SENSORS_MPU3050
  149. help
  150. This enables support for the Alps hscdtd002b compass
  151. config MPU_SENSORS_HSCDTD004A
  152. bool "Alps hscdtd004a"
  153. depends on MPU_SENSORS_MPU3050
  154. help
  155. This enables support for the Alps hscdtd004a compass
  156. endchoice
  157. choice
  158. prompt "Pressure Type"
  159. depends on MPU_SENSORS_MPU6000 || MPU_SENSORS_MPU3050
  160. default MPU_SENSORS_PRESSURE_NONE
  161. config MPU_SENSORS_PRESSURE_NONE
  162. bool "NONE"
  163. depends on MPU_SENSORS_MPU6000 || MPU_SENSORS_MPU3050
  164. help
  165. This disables pressure sensor support for the MPU6000
  166. config MPU_SENSORS_BMA085
  167. bool "Bosch BMA085"
  168. depends on MPU_SENSORS_MPU6000 || MPU_SENSORS_MPU3050
  169. help
  170. This enables support for the Bosch bma085 pressure sensor
  171. endchoice
  172. config MPU_SENSORS_TIMERIRQ
  173. tristate "Timer IRQ"
  174. help
  175. If you say yes here you get access to the timerirq device handle which
  176. can be used to select on. This can be used instead of IRQ's, sleeping,
  177. or timer threads. Reading from this device returns the same type of
  178. information as reading from the MPU and slave IRQ's.
  179. endmenu
  180. endif # MPU3050