blob: d9279802cc9cbcbc78bbf6043c7a8b5cca073b39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
Device-Tree bindings for input/keyboard/rpmsg-keys.c keys driver over
rpmsg. On i.mx7ULP keys are connected on M4 side, so rpmsg-keys driver
needed to get the key status from M4 side by rpmsg.
Required properties:
- compatible = "fsl,rpmsg-keys";
Each button/key looked as the sub node:
Required properties:
- label: the key name
- linux,code: the key value defined in
include/dt-bindings/input/input.h
Optional property:
- rpmsg-key,wakeup: wakeup feature, the keys can wakeup from
suspend if the keys with this property pressed.
Example nodes:
rpmsg_keys: rpmsg-keys {
compatible = "fsl,rpmsg-keys";
volume-up {
label = "Volume Up";
rpmsg-key,wakeup;
linux,code = <KEY_VOLUMEUP>;
};
volume-down {
label = "Volume Down";
rpmsg-key,wakeup;
linux,code = <KEY_VOLUMEDOWN>;
};
};
|