Changes since v4: - ulpi bus can now be build as a module - using usleep_range instead of msleep. Changes since v3: - struct ulpi_bus is now static - added a delay to sync the PHY clock after soft reset Changes since v2: - remove module handling from the bus driver as suggested by Paul Bolle. - reordered the gpio requests in BYT quirk as suggested by David Cohen. Major changes since v1: - calling dwc3_phy_setup earlier and registering the ULPI interface there. - new property to dwc3 for selecting the interface in case of UTMI+ and ULPI as suggested by Felipe - dwc3 soft reset before registration of the ULPI interface to sync the clocks as suggested by David - Including support for the BYT boards that have the GPIOs controlling the reset and cs signals. Heikki Krogerus (12): usb: add bus type for USB ULPI usb: dwc3: USB2 PHY register access bits usb: dwc3: ULPI or UTMI+ select usb: dwc3: store driver data earlier usb: dwc3: cache hwparams earlier usb: dwc3: soft reset to it's own function usb: dwc3: setup phys earlier usb: dwc3: add hsphy_interface property usb: dwc3: pci: add quirk for Baytrails usb: dwc3: add ULPI interface support phy: helpers for USB ULPI PHY registering phy: add driver for TI TUSB1210 ULPI PHY Documentation/devicetree/bindings/usb/dwc3.txt | 2 + MAINTAINERS | 7 + drivers/phy/Kconfig | 7 + drivers/phy/Makefile | 1 + drivers/phy/phy-tusb1210.c | 153 +++++++++++++++ drivers/phy/ulpi_phy.h | 31 +++ drivers/usb/common/Makefile | 1 + drivers/usb/common/ulpi.c | 255 +++++++++++++++++++++++++ drivers/usb/core/Kconfig | 20 ++ drivers/usb/dwc3/Kconfig | 7 + drivers/usb/dwc3/Makefile | 4 + drivers/usb/dwc3/core.c | 108 ++++++++--- drivers/usb/dwc3/core.h | 26 +++ drivers/usb/dwc3/dwc3-pci.c | 36 ++++ drivers/usb/dwc3/platform_data.h | 2 + drivers/usb/dwc3/ulpi.c | 91 +++++++++ include/linux/mod_devicetable.h | 6 + include/linux/ulpi/driver.h | 60 ++++++ include/linux/ulpi/interface.h | 23 +++ include/linux/ulpi/regs.h | 130 +++++++++++++ include/linux/usb/ulpi.h | 134 +------------ scripts/mod/devicetable-offsets.c | 4 + scripts/mod/file2alias.c | 13 ++ 23 files changed, 964 insertions(+), 157 deletions(-) create mode 100644 drivers/phy/phy-tusb1210.c create mode 100644 drivers/phy/ulpi_phy.h create mode 100644 drivers/usb/common/ulpi.c create mode 100644 drivers/usb/dwc3/ulpi.c create mode 100644 include/linux/ulpi/driver.h create mode 100644 include/linux/ulpi/interface.h create mode 100644 include/linux/ulpi/regs.h -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html