Merge tag 'for-linus-20190524' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git] / drivers / iio / common / hid-sensors / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Hid Sensor common modules
4 #
5 menu "Hid Sensor IIO Common"
6
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
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
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
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
29 endmenu