Kconfig 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. help
  19. Say yes here to build support for the Freescale MAG3110 3-Axis
  20. magnetometer.
  21. To compile this driver as a module, choose M here: the module
  22. will be called mag3110.
  23. config HID_SENSOR_MAGNETOMETER_3D
  24. depends on HID_SENSOR_HUB
  25. select IIO_BUFFER
  26. select IIO_TRIGGERED_BUFFER
  27. select HID_SENSOR_IIO_COMMON
  28. select HID_SENSOR_IIO_TRIGGER
  29. tristate "HID Magenetometer 3D"
  30. help
  31. Say yes here to build support for the HID SENSOR
  32. Magnetometer 3D.
  33. config IIO_ST_MAGN_3AXIS
  34. tristate "STMicroelectronics magnetometers 3-Axis Driver"
  35. depends on (I2C || SPI_MASTER) && SYSFS
  36. select IIO_ST_SENSORS_CORE
  37. select IIO_ST_MAGN_I2C_3AXIS if (I2C)
  38. select IIO_ST_MAGN_SPI_3AXIS if (SPI_MASTER)
  39. select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
  40. help
  41. Say yes here to build support for STMicroelectronics magnetometers:
  42. LSM303DLHC, LSM303DLM, LIS3MDL.
  43. This driver can also be built as a module. If so, these modules
  44. will be created:
  45. - st_magn (core functions for the driver [it is mandatory]);
  46. - st_magn_i2c (necessary for the I2C devices [optional*]);
  47. - st_magn_spi (necessary for the SPI devices [optional*]);
  48. (*) one of these is necessary to do something.
  49. config IIO_ST_MAGN_I2C_3AXIS
  50. tristate
  51. depends on IIO_ST_MAGN_3AXIS
  52. depends on IIO_ST_SENSORS_I2C
  53. config IIO_ST_MAGN_SPI_3AXIS
  54. tristate
  55. depends on IIO_ST_MAGN_3AXIS
  56. depends on IIO_ST_SENSORS_SPI
  57. endmenu