summaryrefslogtreecommitdiff
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorFugang Duan <fugang.duan@nxp.com>2018-03-16 14:07:05 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:31:04 +0800
commitc27af720522fdac486fc8484afe2fcd5cf241f68 (patch)
tree5e5133077b69774dc80ad71fe1898b254d6ec31c /Documentation/devicetree
parent9fb65873a7e23701da6ee3a91a4a3ab598ec2cf3 (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/devicetree')
-rw-r--r--Documentation/devicetree/bindings/input/imx-rpmsg-input.txt12
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";
+ };