[PATCH v6 0/4] Adding usb2.0 host-phy support for exynos5250

Vivek Gautam
2013-01-11T14:56:04Z

Changes from v5:
- Rebased on top of latest patches:
usb: phy: samsung: Introducing usb phy driver for hsotg (v9)
usb: phy: samsung: Add support to set pmu isolation (v6)
As a result adding hostphy enable mask and hostphy register offsets
to driver data in order to access the HOSTPHY CONTROL register.

- Adding member 'otg' to struct samsung-usbphy so that its consumers
can call otg->set_host so as to make 'phy' aware of the consumer type:
HOST/DEVICE

- Adding 'otg' to 'struct s5p_ehci_hcd' and 'struct exynos_ohci_hcd'
which keeps track of 'otg' of the controllers' phy. This then sets
the host.

- Moved samsung_usbphy_set_type() calls from ehci-s5p and ohci-exynos
to phy driver itself where based on phy_type it is called.

- Added separate macro definition for USB20PHY_CFG register to select
between host/device type usb link.

- Removing unnecessary argument 'phy_type' from samsung_usbphy_set_type()
and samsung_usbphy_cfg_sel().

- Addressed few nits:
-- added macro for 'KHZ'
-- removing useless 'if' from samsung_usbphy_cfg_sel()
-- keeping the place of clk_get intact and requesting driver
data before that.

Vivek Gautam (4):
ARM: EXYNOS: Update & move usb-phy types to generic include layer
usb: phy: samsung: Add host phy support to samsung-phy driver
USB: ehci-s5p: Add phy driver support
USB: ohci-exynos: Add phy driver support

.../devicetree/bindings/usb/samsung-usbphy.txt | 12 +-
drivers/usb/host/ehci-s5p.c | 81 +++-
drivers/usb/host/ohci-exynos.c | 85 +++-
drivers/usb/phy/Kconfig | 2 +-
drivers/usb/phy/samsung-usbphy.c | 512 ++++++++++++++++++--
include/linux/usb/samsung_usb_phy.h | 16 +
6 files changed, 635 insertions(+), 73 deletions(-)
create mode 100644 include/linux/usb/samsung_usb_phy.h

--
1.7.6.5