summaryrefslogtreecommitdiff
path: root/drivers/input/misc/Kconfig
diff options
context:
space:
mode:
authorFugang Duan <fugang.duan@nxp.com>2018-03-16 14:07:05 +0800
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-24 12:41:33 +0300
commit0ebe9c9f6952d8f3a0f45c7b9d03a0ab089aca25 (patch)
treee3dd7c69aaff3b1931867e647fcc0c7cd3cf0106 /drivers/input/misc/Kconfig
parente0898567b1a7afd935fc28f07dce1feca72ea824 (diff)
MLK-17837-01 input: misc: rpmsg_input: add rpmsg virtual sensor driver
NXP i.MX7ULP EVK boards all sensors connect with M4 core, A core has to conmunicate with sensors by virtual io bus like rpmsg bus. The driver implement the virtual sensor input driver to configure sensors active/idle/delay actions and report the sensors' event to user space. Supply below sysfs for user to enable/disable detector and counter, set poll delay: /sys/class/misc/step_counter/enable /sys/class/misc/step_detector/enable /sys/class/misc/step_counter/poll_delay Reviewed-by: Elven Wang <elven.wang@nxp.com> Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Diffstat (limited to 'drivers/input/misc/Kconfig')
-rw-r--r--drivers/input/misc/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc/Kconfig
index c6aefc266fbb..adeac9208505 100644
--- a/drivers/input/misc/Kconfig
+++ b/drivers/input/misc/Kconfig
@@ -846,6 +846,16 @@ config SENSOR_FXLS8471
depends on I2C
default n
+config SENSOR_IMX_RPMSG
+ tristate "NXP IMX rpmsg virtual sensor device driver"
+ depends on (SOC_IMX7ULP)
+ depends on RPMSG && SYSFS
+ depends on OF
+ default n
+ help
+ This is rpmsg virtual sensor driver on i.mx7ulp, because some
+ sensors connect with M4 core.
+
config INPUT_ISL29023
tristate "Intersil ISL29023 ambient light sensor"
depends on I2C && SYSFS