提交 0e6e6dcc 编写于 作者: P Pavel Machek 提交者: Tony Lindgren

ARM: dts: Nokia N9: add support for up/down keys in the dts

This adds support for volume up/down keys in the dts.
Signed-off-by: NPavel Machek <pavel@ucw.cz>
Reviewed-by: NSebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: NTony Lindgren <tony@atomide.com>
上级 64c358b3
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
/dts-v1/; /dts-v1/;
#include "omap3-n950-n9.dtsi" #include "omap3-n950-n9.dtsi"
#include <dt-bindings/input/input.h>
/ { / {
model = "Nokia N9"; model = "Nokia N9";
...@@ -72,3 +73,9 @@ ...@@ -72,3 +73,9 @@
st,max-limit-y = <46>; st,max-limit-y = <46>;
st,max-limit-z = <46>; st,max-limit-z = <46>;
}; };
&twl_keypad {
linux,keymap = < MATRIX_KEY(6, 8, KEY_VOLUMEUP)
MATRIX_KEY(7, 8, KEY_VOLUMEDOWN)
>;
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册