diff mbox series

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

Message ID 290e3d7ff2a55281cd29bc48ac75cce0bd4e9af0.1552941573.git.hns@goldelico.com (mailing list archive)
State New, archived
Headers show
Series iio-input-bridge so that accelerometers which only have an iio driver can still present evdev input events | expand

Commit Message

H. Nikolaus Schaller March 18, 2019, 8:39 p.m. UTC
Add the iio-input-bridge to the Kconfig.

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

Patch

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"