mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 05:41:55 +00:00
ARM: dts: omap3-sniper: TWL4030 keypad support
This adds support for the volume and gesture keys, using TWL4030 keypad. Signed-off-by: Paul Kocialkowski <contact@paulk.fr> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
04862d8063
commit
5193523ba6
@ -8,6 +8,7 @@
|
|||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
#include "omap36xx.dtsi"
|
#include "omap36xx.dtsi"
|
||||||
|
#include <dt-bindings/input/input.h>
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "LG Optimus Black";
|
model = "LG Optimus Black";
|
||||||
@ -226,6 +227,14 @@
|
|||||||
#include "twl4030.dtsi"
|
#include "twl4030.dtsi"
|
||||||
#include "twl4030_omap3.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.
|
* 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,
|
* When not powered, these sensors cause the I2C3 clock to stay low at all times,
|
||||||
|
Loading…
Reference in New Issue
Block a user