Hi guys, PCI does not give any information about the PHY but we still need to be able to take advantage of any possible vendor specific features, such as custom PM operations, charger detection, ADP probing and sensing, etc. the PHY provides. Since ULPI provides a way to do runtime detection, I'm introducing this layer on top of Kishon's generic phy framework. It gives us means to detect the ULPI product and bind it to a driver without need for nasty platform/device specific quirks in case of ULPI PHYs. I trust nobody has a problem with this approach, but I would like to get your feedback at this stage, before I make any drivers on top of this thing. The isp1704_ulpi.c I made just as an example for now. Thanks, Heikki Krogerus (3): phy: add USB ULPI abstraction layer usb: dwc3: add ULPI interface support phy: ulpi: add support for NXP ISP170X USB PHY drivers/phy/Kconfig | 2 + drivers/phy/Makefile | 1 + drivers/phy/ulpi/Kconfig | 21 ++ drivers/phy/ulpi/Makefile | 2 + drivers/phy/ulpi/isp1704_ulpi.c | 446 ++++++++++++++++++++++++++++++++++++++++ drivers/phy/ulpi/ulpi.c | 273 ++++++++++++++++++++++++ drivers/usb/dwc3/Kconfig | 7 + drivers/usb/dwc3/Makefile | 4 + drivers/usb/dwc3/core.c | 8 + drivers/usb/dwc3/core.h | 21 ++ drivers/usb/dwc3/ulpi.c | 110 ++++++++++ include/linux/phy/ulpi.h | 105 ++++++++++ 12 files changed, 1000 insertions(+) create mode 100644 drivers/phy/ulpi/Kconfig create mode 100644 drivers/phy/ulpi/Makefile create mode 100644 drivers/phy/ulpi/isp1704_ulpi.c create mode 100644 drivers/phy/ulpi/ulpi.c create mode 100644 drivers/usb/dwc3/ulpi.c create mode 100644 include/linux/phy/ulpi.h -- 1.8.4.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