summaryrefslogtreecommitdiffstats
path: root/drivers/iio/common/hid-sensors/Kconfig
blob: 1178121b55b032989257e3167c6724815458ec26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#
# Hid Sensor common modules
#
menu "Hid Sensor IIO Common"

config HID_SENSOR_IIO_COMMON
	tristate "Common modules for all HID Sensor IIO drivers"
	depends on HID_SENSOR_HUB
	select HID_SENSOR_IIO_TRIGGER if IIO_BUFFER
	help
	  Say yes here to build support for HID sensor to use
	  HID sensor common processing for attributes and IIO triggers.
	  There are many attributes which can be shared among multiple
	  HID sensor drivers, this module contains processing for those
	  attributes.

config HID_SENSOR_IIO_TRIGGER
	tristate "Common module (trigger) for all HID Sensor IIO drivers"
	depends on HID_SENSOR_HUB && HID_SENSOR_IIO_COMMON
	select IIO_TRIGGER
	help
	  Say yes here to build trigger support for HID sensors.
	  Triggers will be send if all requested attributes were read.

	  If this driver is compiled as a module, it will be named
	  hid-sensor-trigger.

config HID_SENSOR_ENUM_BASE_QUIRKS
	bool "ENUM base quirks for HID Sensor IIO drivers"
	depends on HID_SENSOR_IIO_COMMON
	help
	  Say yes here to build support for sensor hub FW using
	  enumeration, which is using 1 as base instead of 0.
	  Since logical minimum is still set 0 instead of 1,
	  there is no easy way to differentiate.

endmenu
OpenPOWER on IntegriCloud