summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux/linux-igep-2.6.33.5/0001-omap3-init-MUX-for-OMAP3-IGEP-module.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/linux/linux-igep-2.6.33.5/0001-omap3-init-MUX-for-OMAP3-IGEP-module.patch')
-rw-r--r--meta/recipes-kernel/linux/linux-igep-2.6.33.5/0001-omap3-init-MUX-for-OMAP3-IGEP-module.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-igep-2.6.33.5/0001-omap3-init-MUX-for-OMAP3-IGEP-module.patch b/meta/recipes-kernel/linux/linux-igep-2.6.33.5/0001-omap3-init-MUX-for-OMAP3-IGEP-module.patch
new file mode 100644
index 0000000000..85024f50a2
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-igep-2.6.33.5/0001-omap3-init-MUX-for-OMAP3-IGEP-module.patch
@@ -0,0 +1,36 @@
1From 1a91088e389bd3bbf5d9ee1f3a15edd9edb84eb6 Mon Sep 17 00:00:00 2001
2From: Enric Balletbo i Serra <eballetbo@iseebcn.com>
3Date: Wed, 16 Jun 2010 17:41:26 +0200
4Subject: [PATCH] omap3: init MUX for OMAP3 IGEP module.
5
6Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
7---
8 arch/arm/mach-omap2/board-igep0030.c | 10 ++++++++++
9 1 files changed, 10 insertions(+), 0 deletions(-)
10
11diff --git a/arch/arm/mach-omap2/board-igep0030.c b/arch/arm/mach-omap2/board-igep0030.c
12index aa99236..425b2ec 100644
13--- a/arch/arm/mach-omap2/board-igep0030.c
14+++ b/arch/arm/mach-omap2/board-igep0030.c
15@@ -420,8 +420,18 @@ static void __init igep3_init_wifi_bt(void)
16 pr_warning("IGEP: Could not obtain gpio GPIO_BT_NRESET\n");
17 }
18
19+#ifdef CONFIG_OMAP_MUX
20+static struct omap_board_mux board_mux[] __initdata = {
21+ { .reg_offset = OMAP_MUX_TERMINATOR },
22+};
23+#else
24+#define board_mux NULL
25+#endif
26+
27 static void __init igep3_init(void)
28 {
29+ omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
30+
31 omap_serial_init();
32 usb_musb_init(&musb_board_data);
33 usb_ehci_init(&ehci_pdata);
34--
351.7.0.4
36