Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # Hid Sensor common modules
0004 #
0005 menu "Hid Sensor IIO Common"
0006 
0007 config HID_SENSOR_IIO_COMMON
0008         tristate "Common modules for all HID Sensor IIO drivers"
0009         depends on HID_SENSOR_HUB
0010         select HID_SENSOR_IIO_TRIGGER if IIO_BUFFER
0011         help
0012           Say yes here to build support for HID sensor to use
0013           HID sensor common processing for attributes and IIO triggers.
0014           There are many attributes which can be shared among multiple
0015           HID sensor drivers, this module contains processing for those
0016           attributes.
0017 
0018 config HID_SENSOR_IIO_TRIGGER
0019         tristate "Common module (trigger) for all HID Sensor IIO drivers"
0020         depends on HID_SENSOR_HUB && HID_SENSOR_IIO_COMMON && IIO_BUFFER
0021         select IIO_TRIGGER
0022         select IIO_TRIGGERED_BUFFER
0023         help
0024           Say yes here to build trigger support for HID sensors.
0025           Triggers will be send if all requested attributes were read.
0026 
0027           If this driver is compiled as a module, it will be named
0028           hid-sensor-trigger.
0029 
0030 endmenu