Kconfig 965 B

123456789101112131415161718192021222324252627282930
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Hid Sensor common modules
  4. #
  5. menu "Hid Sensor IIO Common"
  6. config HID_SENSOR_IIO_COMMON
  7. tristate "Common modules for all HID Sensor IIO drivers"
  8. depends on HID_SENSOR_HUB
  9. select HID_SENSOR_IIO_TRIGGER if IIO_BUFFER
  10. help
  11. Say yes here to build support for HID sensor to use
  12. HID sensor common processing for attributes and IIO triggers.
  13. There are many attributes which can be shared among multiple
  14. HID sensor drivers, this module contains processing for those
  15. attributes.
  16. config HID_SENSOR_IIO_TRIGGER
  17. tristate "Common module (trigger) for all HID Sensor IIO drivers"
  18. depends on HID_SENSOR_HUB && HID_SENSOR_IIO_COMMON && IIO_BUFFER
  19. select IIO_TRIGGER
  20. select IIO_TRIGGERED_BUFFER
  21. help
  22. Say yes here to build trigger support for HID sensors.
  23. Triggers will be send if all requested attributes were read.
  24. If this driver is compiled as a module, it will be named
  25. hid-sensor-trigger.
  26. endmenu