[Letux-kernel] [RFC 3/4] iio: input-bridge: add IIO_INPUT_BRIDGE kernel config option

H. Nikolaus Schaller hns at goldelico.com
Mon Mar 18 21:39:33 CET 2019


Add the iio-input-bridge to the Kconfig.

Signed-off-by: H. Nikolaus Schaller <hns at goldelico.com>
---
 drivers/iio/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/iio/Kconfig b/drivers/iio/Kconfig
index d08aeb41cd07..d85afe002613 100644
--- a/drivers/iio/Kconfig
+++ b/drivers/iio/Kconfig
@@ -68,6 +68,13 @@ config IIO_TRIGGERED_EVENT
 	help
 	  Provides helper functions for setting up triggered events.
 
+config IIO_INPUT_BRIDGE
+	bool "Enable accelerometer bridge to input driver"
+	help
+	  Provides a /dev/input/event* device for accelerometers
+	  to use as a 3D input device, e.g. for gaming or auto-rotation
+	  of screen contents.
+
 source "drivers/iio/accel/Kconfig"
 source "drivers/iio/adc/Kconfig"
 source "drivers/iio/afe/Kconfig"
-- 
2.19.1



More information about the Letux-kernel mailing list