[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <290e3d7ff2a55281cd29bc48ac75cce0bd4e9af0.1552941573.git.hns@goldelico.com>
Date: Mon, 18 Mar 2019 21:39:33 +0100
From: "H. Nikolaus Schaller" <hns@...delico.com>
To: Jonathan Cameron <jic23@...nel.org>
Cc: letux-kernel@...nphoenux.org, kernel@...a-handheld.com,
Hartmut Knaack <knaack.h@....de>,
Lars-Peter Clausen <lars@...afoo.de>,
Peter Meerwald-Stadler <pmeerw@...erw.net>,
linux-kernel@...r.kernel.org, linux-iio@...r.kernel.org,
"H. Nikolaus Schaller" <hns@...delico.com>
Subject: [RFC 3/4] iio: input-bridge: add IIO_INPUT_BRIDGE kernel config option
Add the iio-input-bridge to the Kconfig.
Signed-off-by: H. Nikolaus Schaller <hns@...delico.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
Powered by blists - more mailing lists