1#
2# Hid Sensor common modules
3#
4menu "Hid Sensor IIO Common"
5
6config 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
17config HID_SENSOR_IIO_TRIGGER
18	tristate "Common module (trigger) for all HID Sensor IIO drivers"
19	depends on HID_SENSOR_HUB && HID_SENSOR_IIO_COMMON && IIO_BUFFER
20	select IIO_TRIGGER
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
25	  If this driver is compiled as a module, it will be named
26	  hid-sensor-trigger.
27
28endmenu
29