Kconfig 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. #
  2. # Magnetometer sensors
  3. #
  4. # When adding new entries keep the list in alphabetical order
  5. menu "Magnetometer sensors"
  6. config AK8975
  7. tristate "Asahi Kasei AK8975 3-Axis Magnetometer"
  8. depends on I2C
  9. depends on GPIOLIB
  10. help
  11. Say yes here to build support for Asahi Kasei AK8975 3-Axis
  12. Magnetometer.
  13. To compile this driver as a module, choose M here: the module
  14. will be called ak8975.
  15. config MAG3110
  16. tristate "Freescale MAG3110 3-Axis Magnetometer"
  17. depends on I2C
  18. select IIO_BUFFER
  19. select IIO_TRIGGERED_BUFFER
  20. help
  21. Say yes here to build support for the Freescale MAG3110 3-Axis
  22. magnetometer.
  23. To compile this driver as a module, choose M here: the module
  24. will be called mag3110.
  25. config HID_SENSOR_MAGNETOMETER_3D
  26. depends on HID_SENSOR_HUB
  27. select IIO_BUFFER
  28. select IIO_TRIGGERED_BUFFER
  29. select HID_SENSOR_IIO_COMMON
  30. select HID_SENSOR_IIO_TRIGGER
  31. tristate "HID Magenetometer 3D"
  32. help
  33. Say yes here to build support for the HID SENSOR
  34. Magnetometer 3D.
  35. config IIO_ST_MAGN_3AXIS
  36. tristate "STMicroelectronics magnetometers 3-Axis Driver"
  37. depends on (I2C || SPI_MASTER) && SYSFS
  38. select IIO_ST_SENSORS_CORE
  39. select IIO_ST_MAGN_I2C_3AXIS if (I2C)
  40. select IIO_ST_MAGN_SPI_3AXIS if (SPI_MASTER)
  41. select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
  42. help
  43. Say yes here to build support for STMicroelectronics magnetometers:
  44. LSM303DLHC, LSM303DLM, LIS3MDL.
  45. This driver can also be built as a module. If so, these modules
  46. will be created:
  47. - st_magn (core functions for the driver [it is mandatory]);
  48. - st_magn_i2c (necessary for the I2C devices [optional*]);
  49. - st_magn_spi (necessary for the SPI devices [optional*]);
  50. (*) one of these is necessary to do something.
  51. config IIO_ST_MAGN_I2C_3AXIS
  52. tristate
  53. depends on IIO_ST_MAGN_3AXIS
  54. depends on IIO_ST_SENSORS_I2C
  55. config IIO_ST_MAGN_SPI_3AXIS
  56. tristate
  57. depends on IIO_ST_MAGN_3AXIS
  58. depends on IIO_ST_SENSORS_SPI
  59. endmenu