fsl/usb: Add controller version based ULPI and UTMI phy support
authorRamneek Mehresh <ramneek.mehresh@freescale.com>
Tue, 20 Mar 2012 05:05:50 +0000 (10:35 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Apr 2012 20:46:42 +0000 (13:46 -0700)
commit58c559e6509f276d0afb4621b2122e994e70160c
treea283772f0748cb6dd63d236851ecd20b3f89b780
parent67c88382e0bf92d7e09536ac47674c9fc9398b98
fsl/usb: Add controller version based ULPI and UTMI phy support

Add support for ULPI and UTMI PHYs based on usb controller
version info read from device-tree

Example of USB Controller versioning info:
Version 1.2 and below : MPC8536, MPC8315, etc
Version 1.6 : P1020, P1010, P2020, P5020, etc
Version 2.2 : PSC9131, PSC9132, P3060, etc

No changes for non-DT users

Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Acked-by: Li Yang <leoli@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/fsl_udc_core.c
drivers/usb/gadget/fsl_usb2_udc.h
drivers/usb/host/ehci-fsl.c
drivers/usb/host/ehci-fsl.h
drivers/usb/host/fsl-mph-dr-of.c
include/linux/fsl_devices.h