提交 3f3ed400 编写于 作者: L Lee Jones 提交者: Linus Walleij

ARM: ux500: Rename gpio_keys in the Device Tree file

Ensure each button is individually identifiable by using
their correct unique given device names.
Acked-by: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NLee Jones <lee.jones@linaro.org>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 b55ac4ea
...@@ -36,28 +36,28 @@ ...@@ -36,28 +36,28 @@
debounce_interval = <50>; debounce_interval = <50>;
wakeup = <1>; wakeup = <1>;
linux,code = <3>; linux,code = <3>;
label = "userpb"; label = "extkb1";
gpios = <&gpio4 23 0>; gpios = <&gpio4 23 0>;
}; };
button@3 { button@3 {
debounce_interval = <50>; debounce_interval = <50>;
wakeup = <1>; wakeup = <1>;
linux,code = <4>; linux,code = <4>;
label = "userpb"; label = "extkb2";
gpios = <&gpio4 24 0>; gpios = <&gpio4 24 0>;
}; };
button@4 { button@4 {
debounce_interval = <50>; debounce_interval = <50>;
wakeup = <1>; wakeup = <1>;
linux,code = <5>; linux,code = <5>;
label = "userpb"; label = "extkb3";
gpios = <&gpio5 1 0>; gpios = <&gpio5 1 0>;
}; };
button@5 { button@5 {
debounce_interval = <50>; debounce_interval = <50>;
wakeup = <1>; wakeup = <1>;
linux,code = <6>; linux,code = <6>;
label = "userpb"; label = "extkb4";
gpios = <&gpio5 2 0>; gpios = <&gpio5 2 0>;
}; };
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册