Thread (17 messages) flat view 17 messages, 3 authors, 2016-03-30

[PATCH v4 3/5] ARM: dts: omap3-sniper: TWL4030 keypad support

From: Paul Kocialkowski <hidden>
Date: 2016-03-01 19:19:38
Also in: linux-devicetree, linux-omap, lkml

Hi,

Le dimanche 28 f?vrier 2016 ? 13:39 +0100, Paul Kocialkowski a ?crit?:
This adds support for the volume and gesture keys, using TWL4030 keypad.
I noticed this patch hadn't been picked up in:?https://git.kernel.org/cgit/linux
/kernel/git/tmlind/linux-omap.git/log/?h=omap-for-v4.6/dt

Should I submit it somewhere else instead?
quoted hunk ↗ jump to hunk
Signed-off-by: Paul Kocialkowski <redacted>
---
?arch/arm/boot/dts/omap3-sniper.dts | 9 +++++++++
?1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-sniper.dts b/arch/arm/boot/dts/omap3-
sniper.dts
index 6e31daf..78a1184 100644
--- a/arch/arm/boot/dts/omap3-sniper.dts
+++ b/arch/arm/boot/dts/omap3-sniper.dts
@@ -8,6 +8,7 @@
?/dts-v1/;
?
?#include "omap36xx.dtsi"
+#include <dt-bindings/input/input.h>
?
?/ {
?	model = "LG Optimus Black";
@@ -226,6 +227,14 @@
?#include "twl4030.dtsi"
?#include "twl4030_omap3.dtsi"
?
+&twl_keypad {
+	linux,keymap = <
+		MATRIX_KEY(0x00, 0x00, KEY_VOLUMEUP)
+		MATRIX_KEY(0x01, 0x00, KEY_VOLUMEDOWN)
+		MATRIX_KEY(0x02, 0x00, KEY_SELECT)
+	>;
+};
+
?/*
? * The TWL4030 VAUX2 and VDAC regulators power sensors that are slaves on
I2C3.
? * When not powered, these sensors cause the I2C3 clock to stay low at all
times,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160301/b4af7293/attachment-0001.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help