diff options
author | Tony Lindgren <tony@atomide.com> | 2009-05-28 17:04:00 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-05-28 17:04:00 -0400 |
commit | 4a899d5e93fd974952492cd4a09e98b209d1ad58 (patch) | |
tree | 335eb48c69d481f462cb863c37f44ace1e51ecbd /arch/arm/plat-omap/include | |
parent | 49adf465d2448dc15866b2267df46ea2e1ccacf1 (diff) |
ARM: OMAP3: Initialize more devices for LDP
Based on an earlier patches by Stanley.Miao <stanley.miao@windriver.com>
and Nishant Kamat <nskamat@ti.com>.
Note that at the ads7846 support still needs support for vaux_control
for the touchscreen to work.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/include')
-rw-r--r-- | arch/arm/plat-omap/include/mach/keypad.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/mach/keypad.h b/arch/arm/plat-omap/include/mach/keypad.h index 232923aaf61d..45ea3ae3c995 100644 --- a/arch/arm/plat-omap/include/mach/keypad.h +++ b/arch/arm/plat-omap/include/mach/keypad.h | |||
@@ -33,7 +33,11 @@ struct omap_kp_platform_data { | |||
33 | #define GROUP_3 (3 << 16) | 33 | #define GROUP_3 (3 << 16) |
34 | #define GROUP_MASK GROUP_3 | 34 | #define GROUP_MASK GROUP_3 |
35 | 35 | ||
36 | #define KEY_PERSISTENT 0x00800000 | ||
37 | #define KEYNUM_MASK 0x00EFFFFF | ||
36 | #define KEY(col, row, val) (((col) << 28) | ((row) << 24) | (val)) | 38 | #define KEY(col, row, val) (((col) << 28) | ((row) << 24) | (val)) |
39 | #define PERSISTENT_KEY(col, row) (((col) << 28) | ((row) << 24) | \ | ||
40 | KEY_PERSISTENT) | ||
37 | 41 | ||
38 | #endif | 42 | #endif |
39 | 43 | ||