Kconfig 1.5 KB

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