1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# Hid Sensor common modules 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyunmenu "Hid Sensor IIO Common" 6*4882a593Smuzhiyun 7*4882a593Smuzhiyunconfig HID_SENSOR_IIO_COMMON 8*4882a593Smuzhiyun tristate "Common modules for all HID Sensor IIO drivers" 9*4882a593Smuzhiyun depends on HID_SENSOR_HUB 10*4882a593Smuzhiyun select HID_SENSOR_IIO_TRIGGER if IIO_BUFFER 11*4882a593Smuzhiyun help 12*4882a593Smuzhiyun Say yes here to build support for HID sensor to use 13*4882a593Smuzhiyun HID sensor common processing for attributes and IIO triggers. 14*4882a593Smuzhiyun There are many attributes which can be shared among multiple 15*4882a593Smuzhiyun HID sensor drivers, this module contains processing for those 16*4882a593Smuzhiyun attributes. 17*4882a593Smuzhiyun 18*4882a593Smuzhiyunconfig HID_SENSOR_IIO_TRIGGER 19*4882a593Smuzhiyun tristate "Common module (trigger) for all HID Sensor IIO drivers" 20*4882a593Smuzhiyun depends on HID_SENSOR_HUB && HID_SENSOR_IIO_COMMON && IIO_BUFFER 21*4882a593Smuzhiyun select IIO_TRIGGER 22*4882a593Smuzhiyun select IIO_TRIGGERED_BUFFER 23*4882a593Smuzhiyun help 24*4882a593Smuzhiyun Say yes here to build trigger support for HID sensors. 25*4882a593Smuzhiyun Triggers will be send if all requested attributes were read. 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun If this driver is compiled as a module, it will be named 28*4882a593Smuzhiyun hid-sensor-trigger. 29*4882a593Smuzhiyun 30*4882a593Smuzhiyunendmenu 31