diff options
author | Fugang Duan <fugang.duan@nxp.com> | 2018-03-16 14:07:05 +0800 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2018-08-24 12:41:33 +0300 |
commit | 0ebe9c9f6952d8f3a0f45c7b9d03a0ab089aca25 (patch) | |
tree | e3dd7c69aaff3b1931867e647fcc0c7cd3cf0106 /Documentation | |
parent | e0898567b1a7afd935fc28f07dce1feca72ea824 (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 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/input/imx-rpmsg-input.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/imx-rpmsg-input.txt b/Documentation/devicetree/bindings/input/imx-rpmsg-input.txt new file mode 100644 index 000000000000..397d1957e6fd --- /dev/null +++ b/Documentation/devicetree/bindings/input/imx-rpmsg-input.txt @@ -0,0 +1,12 @@ +Device-Tree bindings for inputc/rpmsg_input.c input driver over +rpmsg. For NXP i.MX7ULP EVK platform, all sensors connect with +M4, A core access sensor should communicate with M4 core by rpmsg +bus. + +Required properties: + - compatible = "fsl,rpmsg-input"; + +Examples: + rpmsg_sensor: rpmsg-sensor { + compatible = "fsl,rpmsg-input"; + }; |