Kconfig 1.3 KB

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