summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLee Jones2012-10-04 15:21:35 +0200
committerLee Jones2012-11-01 13:02:18 +0100
commit092778190d693a10d2d364b5e99f5deca903fe41 (patch)
tree39c775f04cb4b985e54fb7768a7a799355b5b0af
parentARM: ux500: Apply a Device Tree node for the STMPE MFD (diff)
downloadkernel-qcow2-linux-092778190d693a10d2d364b5e99f5deca903fe41.tar.gz
kernel-qcow2-linux-092778190d693a10d2d364b5e99f5deca903fe41.tar.xz
kernel-qcow2-linux-092778190d693a10d2d364b5e99f5deca903fe41.zip
ARM: ux500: Supply the STMPE keypad Device Tree node to the STUIB DT
This patch allows the STMPE keypad driver to be successfully probed and initialised during a Device Tree enabled boot sequence. It contains all of the required properties needed to setup and map each key on the 6x3 keypad located on the ST User Interface Board. Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r--arch/arm/boot/dts/stuib.dtsi27
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stuib.dtsi b/arch/arm/boot/dts/stuib.dtsi
index d6e36b5757a3..6c7e492f220b 100644
--- a/arch/arm/boot/dts/stuib.dtsi
+++ b/arch/arm/boot/dts/stuib.dtsi
@@ -21,6 +21,33 @@
wakeup-source;
st,autosleep-timeout = <1024>;
+
+ stmpe_keypad {
+ compatible = "st,stmpe-keypad";
+
+ debounce-interval = <64>;
+ st,scan-count = <8>;
+ st,no-autorepeat;
+
+ linux,keymap = <0x205006b
+ 0x4010074
+ 0x3050072
+ 0x1030004
+ 0x502006a
+ 0x500000a
+ 0x5008b
+ 0x706001c
+ 0x405000b
+ 0x6070003
+ 0x3040067
+ 0x303006c
+ 0x60400e7
+ 0x602009e
+ 0x4020073
+ 0x5050002
+ 0x4030069
+ 0x3020008>;
+ };
};
};