summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2018-01-02 13:59:48 +0100
committerTony Lindgren <tony@atomide.com>2018-01-19 07:40:13 -0800
commit0e6e6dcce8d578516ef3aea2c9f9b4d0a0d53194 (patch)
tree2bd6a5e4cf58ff8ab09167ab7d67c1ae2e5050ed /arch/arm
parent64c358b3bdb08d0692e0601b6e7a3e3308661dee (diff)
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: Pavel Machek <pavel@ucw.cz> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/omap3-n9.dts7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-n9.dts b/arch/arm/boot/dts/omap3-n9.dts
index 39e35f8b8206..e44d93fc644c 100644
--- a/arch/arm/boot/dts/omap3-n9.dts
+++ b/arch/arm/boot/dts/omap3-n9.dts
@@ -11,6 +11,7 @@
/dts-v1/;
#include "omap3-n950-n9.dtsi"
+#include <dt-bindings/input/input.h>
/ {
model = "Nokia N9";
@@ -72,3 +73,9 @@
st,max-limit-y = <46>;
st,max-limit-z = <46>;
};
+
+&twl_keypad {
+ linux,keymap = < MATRIX_KEY(6, 8, KEY_VOLUMEUP)
+ MATRIX_KEY(7, 8, KEY_VOLUMEDOWN)
+ >;
+};