aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx5/board-mx51_efikamx.c
diff options
context:
space:
mode:
authorArnaud Patard (Rtp) <arnaud.patard@rtp-net.org>2011-02-17 15:31:29 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-02-18 10:56:38 +0100
commit9d72af6e3582977196e3474903950206dc3c590e (patch)
tree40915319ac45622a53e41c5f0134bfc522fde668 /arch/arm/mach-mx5/board-mx51_efikamx.c
parent7ac18a3845145f4f48e611640e33918ae450f955 (diff)
downloadkernel_samsung_smdk4412-9d72af6e3582977196e3474903950206dc3c590e.zip
kernel_samsung_smdk4412-9d72af6e3582977196e3474903950206dc3c590e.tar.gz
kernel_samsung_smdk4412-9d72af6e3582977196e3474903950206dc3c590e.tar.bz2
efikamx: add usb h1 support
Now that usb has been fixed, we can enable usb h1 on efikamx Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5/board-mx51_efikamx.c')
-rw-r--r--arch/arm/mach-mx5/board-mx51_efikamx.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/board-mx51_efikamx.c b/arch/arm/mach-mx5/board-mx51_efikamx.c
index 272de6e..8f17336 100644
--- a/arch/arm/mach-mx5/board-mx51_efikamx.c
+++ b/arch/arm/mach-mx5/board-mx51_efikamx.c
@@ -211,6 +211,20 @@ static void __init mx51_efikamx_init(void)
gpio_request(EFIKAMX_RESET, "reset");
gpio_direction_output(EFIKAMX_RESET, 1);
}
+
+ /*
+ * enable wifi by default only on mx
+ * sb and mx have same wlan pin but the value to enable it are
+ * different :/
+ */
+ gpio_request(EFIKA_WLAN_EN, "wlan_en");
+ gpio_direction_output(EFIKA_WLAN_EN, 0);
+ msleep(10);
+
+ gpio_request(EFIKA_WLAN_RESET, "wlan_rst");
+ gpio_direction_output(EFIKA_WLAN_RESET, 0);
+ msleep(10);
+ gpio_set_value(EFIKA_WLAN_RESET, 1);
}
static void __init mx51_efikamx_timer_init(void)