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

From: H. Nikolaus Schaller
Date: Mon Mar 18 2019 - 16:40:01 EST


Add the iio-input-bridge to the Kconfig.

Signed-off-by: H. Nikolaus Schaller <hns@xxxxxxxxxxxxx>
---
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