This patch set adds internal USB PHY support to RCAR Gen2 SoC, and
also enables USBHS for the Lager board. It has been updated, based
on the comments to the previous version.

The patches apply fine to the renesas-devel-20131008 tag of the renesas.git.
The first patch also applies fine to the usb.git at kernel.org.
It adds RCAR Gen2 phy driver which is used to configure the shared USB
channels 0/2 and to control USBHS internal PHY.
All the drivers that use the shared USB channels (USBHS/USBSS/PCI USB host)
should acquire the USB phy first to set proper channel configuration.

The other two patches add USBHS support to Lager board, which requires
RCAR Gen2 phy driver.

Changes from previous version:
* use-counting and clock handling done in the usb_phy_init/shutdown
  callbacks only;
* a minor typo in the comments fixed;
* phy clean up moved to __rcar_gen2_usb_phy_shutdown function;
* usb_phy_init/shutdown called from usbhs_power_ctrl callback
  to allow renesas_usbhs driver disable USB PHY completely
  when it is not needed.

Valentine Barshak (3):
  usb: phy: Add RCAR Gen2 USB phy
  arm: shmobile: r8a7790: Add USBHS clock support
  arm: shmobile: lager: Add USBHS support

 arch/arm/mach-shmobile/board-lager.c            | 106 ++++++++++
 arch/arm/mach-shmobile/clock-r8a7790.c          |   4 +
 drivers/usb/phy/Kconfig                         |  13 ++
 drivers/usb/phy/Makefile                        |   1 +
 drivers/usb/phy/phy-rcar-gen2-usb.c             | 255 ++++++++++++++++++++++++
 include/linux/platform_data/usb-rcar-gen2-phy.h |  22 ++
 6 files changed, 401 insertions(+)
 create mode 100644 drivers/usb/phy/phy-rcar-gen2-usb.c
 create mode 100644 include/linux/platform_data/usb-rcar-gen2-phy.h

-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to