Skip to contentSkip to conversation

omap3evm: Add mux settings for keypad

PATCH New Sanjeev Premi 2 participants 2 messages Feb 5, 2010 – Feb 11, 2010

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 omap3evm: Add mux settings for keypad

This patch sets SYS_NIRQ for keypad input. It also sets the same as a wakeup event from OFF mode.

---
 arch/arm/mach-omap2/board-omap3evm.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/board-omap3evm.c +4 -0
index fde27cf..19363bd 100644
@@ -424,6 +424,10 @@ static struct ehci_hcd_omap_platform_data ehci_pdata __initconst = {
 
 #ifdef CONFIG_OMAP_MUX
 static struct omap_board_mux board_mux[] __initdata = {
+	OMAP3_MUX(SYS_NIRQ, OMAP_MUX_MODE0 | OMAP_PIN_INPUT_PULLUP |
+				OMAP_PIN_OFF_INPUT_PULLUP |
+				OMAP_PIN_OFF_WAKEUPENABLE),
+
 	{ .reg_offset = OMAP_MUX_TERMINATOR },
 };
 #else
Signature · 1 line
1.6.2.2
maintainer
#1 lore raw

PATCH 1/3 omap3evm: Add mux settings for keypad

This patch has been applied to the linux-omap
by youw fwiendly patch wobot.

Branch in linux-omap: for-next

Initial commit ID (Likely to change): 01c4b575fe539f042d063eae94265aedada5f224

PatchWorks
http://patchwork.kernel.org/patch/77302/

Git (Likely to change, and takes a while to get mirrored)
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=01c4b575fe539f042d063eae94265aedada5f224