31 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2#3# Hid Sensor common modules4#5menu "Hid Sensor IIO Common"6 7config HID_SENSOR_IIO_COMMON8 tristate "Common modules for all HID Sensor IIO drivers"9 depends on HID_SENSOR_HUB10 select HID_SENSOR_IIO_TRIGGER if IIO_BUFFER11 help12 Say yes here to build support for HID sensor to use13 HID sensor common processing for attributes and IIO triggers.14 There are many attributes which can be shared among multiple15 HID sensor drivers, this module contains processing for those16 attributes.17 18config HID_SENSOR_IIO_TRIGGER19 tristate "Common module (trigger) for all HID Sensor IIO drivers"20 depends on HID_SENSOR_HUB && HID_SENSOR_IIO_COMMON && IIO_BUFFER21 select IIO_TRIGGER22 select IIO_TRIGGERED_BUFFER23 help24 Say yes here to build trigger support for HID sensors.25 Triggers will be send if all requested attributes were read.26 27 If this driver is compiled as a module, it will be named28 hid-sensor-trigger.29 30endmenu31