xref: /linux/drivers/iio/common/hid-sensors/Kconfig (revision b889fcf63cb62e7fdb7816565e28f44dbe4a76a5)
1#
2# Hid Sensor common modules
3#
4menu "Hid Sensor IIO Common"
5
6config HID_SENSOR_IIO_COMMON
7	tristate "Common modules for all HID Sensor IIO drivers"
8	depends on HID_SENSOR_HUB
9	select 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
17config HID_SENSOR_ENUM_BASE_QUIRKS
18	bool "ENUM base quirks for HID Sensor IIO drivers"
19	depends on HID_SENSOR_IIO_COMMON
20	help
21	  Say yes here to build support for sensor hub FW using
22	  enumeration, which is using 1 as base instead of 0.
23	  Since logical minimum is still set 0 instead of 1,
24	  there is no easy way to differentiate.
25
26endmenu
27