• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# SPDX-License-Identifier: GPL-2.0-only
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
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
18config 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	select IIO_TRIGGERED_BUFFER
23	help
24	  Say yes here to build trigger support for HID sensors.
25	  Triggers will be send if all requested attributes were read.
26
27	  If this driver is compiled as a module, it will be named
28	  hid-sensor-trigger.
29
30endmenu
31