Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1345238
| From | Paul Kocialkowski <contact@paulk.fr> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v4 3/5] ARM: dts: omap3-sniper: TWL4030 keypad support |
| Date | 2016-02-28 13:50 +0100 |
| Message-ID | <r78Xp-2mr-31@gated-at.bofh.it> (permalink) |
| References | <r78NI-2hr-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
This adds support for the volume and gesture keys, using TWL4030 keypad.
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
---
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,
--
2.6.4
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v4 0/5] LG Optimus Black codename sniper support series Paul Kocialkowski <contact@paulk.fr> - 2016-02-28 13:40 +0100
[PATCH v4 2/5] ARM: dts: omap3-sniper: USB OTG support Paul Kocialkowski <contact@paulk.fr> - 2016-02-28 13:50 +0100
[PATCH v4 4/5] ARM: omap2plus_defconfig: Enable LP872x regulator support Paul Kocialkowski <contact@paulk.fr> - 2016-02-28 13:50 +0100
[PATCH v4 1/5] ARM: dts: LG Optimus Black codename sniper basic support Paul Kocialkowski <contact@paulk.fr> - 2016-02-28 13:50 +0100
Re: [PATCH v4 1/5] ARM: dts: LG Optimus Black codename sniper basic support Tony Lindgren <tony@atomide.com> - 2016-02-29 23:00 +0100
Re: [PATCH v4 1/5] ARM: dts: LG Optimus Black codename sniper basic support Paul Kocialkowski <contact@paulk.fr> - 2016-03-01 09:10 +0100
[PATCH v4 5/5] ARM: multi_v7_defconfig: Enable LP872x regulator support Paul Kocialkowski <contact@paulk.fr> - 2016-02-28 13:50 +0100
Re: [PATCH v4 5/5] ARM: multi_v7_defconfig: Enable LP872x regulator support Arnd Bergmann <arnd@arndb.de> - 2016-02-29 23:00 +0100
Re: [PATCH v4 5/5] ARM: multi_v7_defconfig: Enable LP872x regulator support Tony Lindgren <tony@atomide.com> - 2016-03-01 00:00 +0100
Re: [PATCH v4 5/5] ARM: multi_v7_defconfig: Enable LP872x regulator support Tony Lindgren <tony@atomide.com> - 2016-02-29 23:00 +0100
[PATCH v4 3/5] ARM: dts: omap3-sniper: TWL4030 keypad support Paul Kocialkowski <contact@paulk.fr> - 2016-02-28 13:50 +0100
Re: [PATCH v4 3/5] ARM: dts: omap3-sniper: TWL4030 keypad support Paul Kocialkowski <contact@paulk.fr> - 2016-03-01 20:20 +0100
Re: [PATCH v4 3/5] ARM: dts: omap3-sniper: TWL4030 keypad support Tony Lindgren <tony@atomide.com> - 2016-03-01 22:00 +0100
Re: [PATCH v4 3/5] ARM: dts: omap3-sniper: TWL4030 keypad support Paul Kocialkowski <contact@paulk.fr> - 2016-03-01 23:10 +0100
csiph-web