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