diff options
author | Tony Lindgren <tony@atomide.com> | 2009-05-28 14:04:00 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-05-28 14:04:00 -0700 |
commit | 4a899d5e93fd974952492cd4a09e98b209d1ad58 (patch) | |
tree | 335eb48c69d481f462cb863c37f44ace1e51ecbd /arch/arm/plat-omap | |
parent | 49adf465d2448dc15866b2267df46ea2e1ccacf1 (diff) | |
download | blackbird-op-linux-4a899d5e93fd974952492cd4a09e98b209d1ad58.tar.gz blackbird-op-linux-4a899d5e93fd974952492cd4a09e98b209d1ad58.zip |
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')
-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 { #define GROUP_3 (3 << 16) #define GROUP_MASK GROUP_3 +#define KEY_PERSISTENT 0x00800000 +#define KEYNUM_MASK 0x00EFFFFF #define KEY(col, row, val) (((col) << 28) | ((row) << 24) | (val)) +#define PERSISTENT_KEY(col, row) (((col) << 28) | ((row) << 24) | \ + KEY_PERSISTENT) #endif |