]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - drivers/iio/common/hid-sensors/Kconfig
Merge remote-tracking branch 'regmap/fix/debugfs' into tmp
[karo-tx-linux.git] / drivers / iio / common / hid-sensors / Kconfig
1 #
2 # Hid Sensor common modules
3 #
4 menu "Hid Sensor IIO Common"
5
6 config 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
17 config 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
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
28 config HID_SENSOR_ENUM_BASE_QUIRKS
29         bool "ENUM base quirks for HID Sensor IIO drivers"
30         depends on HID_SENSOR_IIO_COMMON
31         help
32           Say yes here to build support for sensor hub FW using
33           enumeration, which is using 1 as base instead of 0.
34           Since logical minimum is still set 0 instead of 1,
35           there is no easy way to differentiate.
36
37 endmenu