linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] Use Generic USB PHY Layer at i.MX Platform
@ 2011-12-06 10:43 Peter Chen
  2011-12-06 10:43 ` [RFC PATCH 1/3] USB: Add Generic USB PHY Layer code Peter Chen
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Peter Chen @ 2011-12-06 10:43 UTC (permalink / raw)
  To: linux-arm-kernel

Hi balbi, others,

I have created this patchset to show how a generic USB PHY Layer to work.
There are two USB PHYs (UTMI and ULPI) at i.MX51 BBG board, we can use
two phys together with Heikki proposal's generic phy file at i.MX USB 
host driver, and let both otg host(UTMI) and host 1 (ULPI)work together.

With this patchset, I hope we can find how USB PHY Layer works, and what
it can do, and improve Heikki's patch. 

Split PHY from OTG can give the benefit for the situation which only needs
to use the PHY. So, I hope we can mainline generic USB PHY driver earlier.

Peter Chen (3):
  USB: Add Generic USB PHY Layer code
  USB: ehci-mxc: Use new phy structure code for mxc host use
  ARM: mx51: Create two usb phy platform drivers

 arch/arm/mach-mx5/Kconfig                         |    4 +
 arch/arm/mach-mx5/board-mx51_babbage.c            |   33 ++-
 arch/arm/plat-mxc/Makefile                        |    1 +
 arch/arm/plat-mxc/devices/Kconfig                 |    6 +
 arch/arm/plat-mxc/devices/Makefile                |    2 +
 arch/arm/plat-mxc/devices/platform-fsl-phy-ulpi.c |   18 +
 arch/arm/plat-mxc/devices/platform-fsl-phy-utmi.c |   18 +
 arch/arm/plat-mxc/include/mach/devices-common.h   |    5 +
 arch/arm/plat-mxc/include/mach/mxc_phy.h          |   20 ++
 arch/arm/plat-mxc/include/mach/ulpi.h             |   11 -
 arch/arm/plat-mxc/ulpi.c                          |  114 ++++++-
 arch/arm/plat-mxc/utmi.c                          |  121 +++++++
 drivers/usb/host/ehci-mxc.c                       |   28 +-
 drivers/usb/otg/Kconfig                           |    2 +
 drivers/usb/otg/Makefile                          |    1 +
 drivers/usb/otg/phy.c                             |  368 +++++++++++++++++++++
 drivers/usb/otg/ulpi.c                            |   99 +++---
 include/linux/usb/phy.h                           |  250 ++++++++++++++
 18 files changed, 1020 insertions(+), 81 deletions(-)
 create mode 100644 arch/arm/plat-mxc/devices/platform-fsl-phy-ulpi.c
 create mode 100644 arch/arm/plat-mxc/devices/platform-fsl-phy-utmi.c
 create mode 100644 arch/arm/plat-mxc/include/mach/mxc_phy.h
 create mode 100644 arch/arm/plat-mxc/utmi.c
 create mode 100644 drivers/usb/otg/phy.c
 create mode 100644 include/linux/usb/phy.h

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-12-06 10:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-06 10:43 [RFC PATCH 0/3] Use Generic USB PHY Layer at i.MX Platform Peter Chen
2011-12-06 10:43 ` [RFC PATCH 1/3] USB: Add Generic USB PHY Layer code Peter Chen
2011-12-06 10:43 ` [RFC PATCH 2/3] USB: ehci-mxc: Use new phy structure code for mxc host use Peter Chen
2011-12-06 10:43 ` [RFC PATCH 3/3] ARM: mx51: Create two usb phy platform drivers Peter Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).