summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-10-21 15:02:31 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-10-21 15:02:31 +0200
commit87af4ef6e63b55de3c34cd20e9ebb54b0e0ded05 (patch)
treeb14f89f5efa353f4a8860a5b1b9dc70fcb7c5e03
parentb0583284c6a4ccbdbb23ff09106f803a9c485bb3 (diff)
colibri_vf50: hackish USBH_PEN implementationColibri_VF50_LinuxImageV2.1Beta1_20131022
Add a hackish way of enabling USBH_PEN as required for USB host port on Iris. Please note that for now this is not integrated with USB class stuff. Just direct straight GPIO enabling.
-rw-r--r--arch/arm/mach-mvf/board-colibri_vf50.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mvf/board-colibri_vf50.c b/arch/arm/mach-mvf/board-colibri_vf50.c
index cf1e23dd60f3..7ad4141bd725 100644
--- a/arch/arm/mach-mvf/board-colibri_vf50.c
+++ b/arch/arm/mach-mvf/board-colibri_vf50.c
@@ -507,6 +507,8 @@ static void __init mvf_twr_init_usb(void)
{
imx_otg_base = MVF_IO_ADDRESS(MVF_USBC0_BASE_ADDR);
/*mvf_set_otghost_vbus_func(mvf_twr_usbotg_vbus);*/
+ gpio_request(83, "USBH_PEN");
+ gpio_direction_output(83, 0);
#ifdef CONFIG_USB_EHCI_ARC
mvf_usb_dr2_init();
#endif