18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Hid Sensor common modules
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_cimenu "Hid Sensor IIO Common"
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ciconfig HID_SENSOR_IIO_COMMON
88c2ecf20Sopenharmony_ci	tristate "Common modules for all HID Sensor IIO drivers"
98c2ecf20Sopenharmony_ci	depends on HID_SENSOR_HUB
108c2ecf20Sopenharmony_ci	select HID_SENSOR_IIO_TRIGGER if IIO_BUFFER
118c2ecf20Sopenharmony_ci	help
128c2ecf20Sopenharmony_ci	  Say yes here to build support for HID sensor to use
138c2ecf20Sopenharmony_ci	  HID sensor common processing for attributes and IIO triggers.
148c2ecf20Sopenharmony_ci	  There are many attributes which can be shared among multiple
158c2ecf20Sopenharmony_ci	  HID sensor drivers, this module contains processing for those
168c2ecf20Sopenharmony_ci	  attributes.
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciconfig HID_SENSOR_IIO_TRIGGER
198c2ecf20Sopenharmony_ci	tristate "Common module (trigger) for all HID Sensor IIO drivers"
208c2ecf20Sopenharmony_ci	depends on HID_SENSOR_HUB && HID_SENSOR_IIO_COMMON && IIO_BUFFER
218c2ecf20Sopenharmony_ci	select IIO_TRIGGER
228c2ecf20Sopenharmony_ci	select IIO_TRIGGERED_BUFFER
238c2ecf20Sopenharmony_ci	help
248c2ecf20Sopenharmony_ci	  Say yes here to build trigger support for HID sensors.
258c2ecf20Sopenharmony_ci	  Triggers will be send if all requested attributes were read.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ci	  If this driver is compiled as a module, it will be named
288c2ecf20Sopenharmony_ci	  hid-sensor-trigger.
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ciendmenu
31