treewide: Add SPDX license identifier - Makefile/Kconfig
[linux-2.6-block.git] / drivers / iio / common / hid-sensors / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
73c6768b 2#
3# Hid Sensor common modules
4#
5menu "Hid Sensor IIO Common"
6
7config HID_SENSOR_IIO_COMMON
8 tristate "Common modules for all HID Sensor IIO drivers"
9 depends on HID_SENSOR_HUB
9541cc39 10 select HID_SENSOR_IIO_TRIGGER if IIO_BUFFER
73c6768b 11 help
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
16 attributes.
17
9541cc39
AH
18config HID_SENSOR_IIO_TRIGGER
19 tristate "Common module (trigger) for all HID Sensor IIO drivers"
0483fff4 20 depends on HID_SENSOR_HUB && HID_SENSOR_IIO_COMMON && IIO_BUFFER
9541cc39
AH
21 select IIO_TRIGGER
22 help
23 Say yes here to build trigger support for HID sensors.
24 Triggers will be send if all requested attributes were read.
25
26 If this driver is compiled as a module, it will be named
27 hid-sensor-trigger.
28
73c6768b 29endmenu