162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Hid Sensor common modules
462306a36Sopenharmony_ci#
562306a36Sopenharmony_cimenu "Hid Sensor IIO Common"
662306a36Sopenharmony_ci
762306a36Sopenharmony_ciconfig HID_SENSOR_IIO_COMMON
862306a36Sopenharmony_ci	tristate "Common modules for all HID Sensor IIO drivers"
962306a36Sopenharmony_ci	depends on HID_SENSOR_HUB
1062306a36Sopenharmony_ci	select HID_SENSOR_IIO_TRIGGER if IIO_BUFFER
1162306a36Sopenharmony_ci	help
1262306a36Sopenharmony_ci	  Say yes here to build support for HID sensor to use
1362306a36Sopenharmony_ci	  HID sensor common processing for attributes and IIO triggers.
1462306a36Sopenharmony_ci	  There are many attributes which can be shared among multiple
1562306a36Sopenharmony_ci	  HID sensor drivers, this module contains processing for those
1662306a36Sopenharmony_ci	  attributes.
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ciconfig HID_SENSOR_IIO_TRIGGER
1962306a36Sopenharmony_ci	tristate "Common module (trigger) for all HID Sensor IIO drivers"
2062306a36Sopenharmony_ci	depends on HID_SENSOR_HUB && HID_SENSOR_IIO_COMMON && IIO_BUFFER
2162306a36Sopenharmony_ci	select IIO_TRIGGER
2262306a36Sopenharmony_ci	select IIO_TRIGGERED_BUFFER
2362306a36Sopenharmony_ci	help
2462306a36Sopenharmony_ci	  Say yes here to build trigger support for HID sensors.
2562306a36Sopenharmony_ci	  Triggers will be send if all requested attributes were read.
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ci	  If this driver is compiled as a module, it will be named
2862306a36Sopenharmony_ci	  hid-sensor-trigger.
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ciendmenu
31