diff options
author | Tony LIU <junjie.liu@freescale.com> | 2012-02-09 10:41:08 +0800 |
---|---|---|
committer | Tony LIU <junjie.liu@freescale.com> | 2012-02-09 10:47:45 +0800 |
commit | 0d641cb1cd344a551f84f46101e2491b2206d295 (patch) | |
tree | ad2fb89b03eafd4fb28e54c6e55b36b026782345 /arch/arm/mach-mx6/usb_h3.c | |
parent | b8c84449ba4f4cd9a997c5d2358e1c3716b85dc7 (diff) |
ENGR00174103 [usb hsic] add usb hsic support for mx6dl
- change the pad setting
Signed-off-by: Tony LIU <junjie.liu@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx6/usb_h3.c')
-rw-r--r-- | arch/arm/mach-mx6/usb_h3.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/mach-mx6/usb_h3.c b/arch/arm/mach-mx6/usb_h3.c index 93210b48805a..46ffc74cce3a 100644 --- a/arch/arm/mach-mx6/usb_h3.c +++ b/arch/arm/mach-mx6/usb_h3.c @@ -30,6 +30,7 @@ #include <mach/arc_otg.h> #include <mach/hardware.h> #include <mach/iomux-mx6q.h> +#include <mach/iomux-mx6dl.h> #include "devices-imx6q.h" #include "regs-anadig.h" #include "usb.h" @@ -180,7 +181,12 @@ static void hsic_start(void) { pr_debug("%s", __func__); /* strobe 47K pull up */ - mxc_iomux_v3_setup_pad(MX6Q_PAD_RGMII_RXC__USBOH3_H3_STROBE_START); + if (cpu_is_mx6q()) + mxc_iomux_v3_setup_pad( + MX6Q_PAD_RGMII_RXC__USBOH3_H3_STROBE_START); + else if (cpu_is_mx6dl()) + mxc_iomux_v3_setup_pad( + MX6DL_PAD_RGMII_RXC__USBOH3_H3_STROBE_START); } static void hsic_device_connected(void) |