Lines Matching +full:key +full:- +full:code
2 ------------------------------------
5 - compatible: "rockchip,key"
6 - io-channels: Phandle to an ADC channel
8 Each button (key) is represented as a sub-node of "rockchip,key":
10 Required subnode-properties:
11 - label: Descriptive name of the key.
12 - linux,code: Keycode to emit.
13 - rockchip,adc_value:: Voltage ADC input when this key is pressed.
17 #include <dt-bindings/input/input.h>
19 rk_key: rockchip-key {
20 compatible = "rockchip,key";
23 io-channels = <&saradc 1>;
25 vol-up-key {
26 linux,code = <115>;
31 vol-down-key {
32 linux,code = <114>;
37 power-key {
39 linux,code = <116>;
40 pinctrl-names = "default";
41 pinctrl-0 = <&pwrbtn>;
43 gpio-key,wakeup;
46 menu-key {
47 linux,code = <59>;
52 home-key {
53 linux,code = <102>;
58 back-key {
59 linux,code = <158>;
64 camera-key {
65 linux,code = <212>;