summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx3/mach-mx31lilly.c
diff options
context:
space:
mode:
authorIgor Grinberg <grinberg@compulab.co.il>2010-07-15 13:00:16 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-10 21:35:40 (GMT)
commit13dd0c9767349b280cf131c34461f85e5effc42a (patch)
treefd4571015c4ed0097fb60e9d22132ab0aac6240f /arch/arm/mach-mx3/mach-mx31lilly.c
parent51a91a5424cb94f40eb0c9d0b71d8df4e423742a (diff)
downloadlinux-fsl-qoriq-13dd0c9767349b280cf131c34461f85e5effc42a.tar.xz
USB: otg/ulpi: extend the generic ulpi driver.
1) Introduce ulpi specific flags for control of the ulpi phy 2) Extend the generic ulpi driver with support for Function and Interface control of upli phy 3) Update the platforms using the generic ulpi driver with new ulpi flags 4) Remove the otg control flags not in use Signed-off-by: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by: Mike Rapoport <mike@compulab.co.il> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/arm/mach-mx3/mach-mx31lilly.c')
-rw-r--r--arch/arm/mach-mx3/mach-mx31lilly.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-mx3/mach-mx31lilly.c b/arch/arm/mach-mx3/mach-mx31lilly.c
index 8f66f65..7c37daa 100644
--- a/arch/arm/mach-mx3/mach-mx31lilly.c
+++ b/arch/arm/mach-mx3/mach-mx31lilly.c
@@ -245,9 +245,9 @@ static struct mxc_usbh_platform_data usbh2_pdata = {
static void lilly1131_usb_init(void)
{
usbotg_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops,
- USB_OTG_DRV_VBUS | USB_OTG_DRV_VBUS_EXT);
+ ULPI_OTG_DRVVBUS | ULPI_OTG_DRVVBUS_EXT);
usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops,
- USB_OTG_DRV_VBUS | USB_OTG_DRV_VBUS_EXT);
+ ULPI_OTG_DRVVBUS | ULPI_OTG_DRVVBUS_EXT);
mxc_register_device(&mxc_usbh1, &usbh1_pdata);
mxc_register_device(&mxc_usbh2, &usbh2_pdata);