
Hi.
2017-07-18 18:40 GMT+09:00 Marek Vasut marex@denx.de:
On 07/18/2017 11:38 AM, patrice.chotard@st.com wrote:
From: Patrice Chotard patrice.chotard@st.com
This series extend xhci-dwc3.c drivers by : _ converting it to DM model, _ adding dual role mode support from DT _ adding new generic_phy_valid() method in PHY framework _ adding support of generic PHY framework
v7: _ add Reviewed-by in patch 1 _ declare bool generic_phy_valid(struct phy *phy) as static inline in patch 4 v6: _ remove useless struct xhci_dwc3 in patch 1 v5: _ rebase on top of dm/master in order to use the last livetree update _ replace dev_get_addr() by devfdt_get_addr() in patch 1 v4: _ set phy->dev to NULL in case of generic_phy_get_by_index() v3: _ introduce generic_phy_valid() method _ add Reviewed-by v2: _ use dev_get_addr() in PATCH 1 and removed useless piece of code
Patrice Chotard (5): usb: host: xhci-dwc3: Convert driver to DM usb: host: xhci-dwc3: Add dual role mode support from DT drivers: phy: Set phy->dev to NULL when generic_phy_get_by_index() fails drivers: phy: add generic_phy_valid() method usb: host: xhci-dwc3: Add generic PHY support
drivers/phy/phy-uclass.c | 1 + drivers/usb/host/xhci-dwc3.c | 87 ++++++++++++++++++++++++++++++++++++++++++++ include/generic-phy.h | 11 ++++++ 3 files changed, 99 insertions(+)
Applied all, thanks.
--
I tried to convert xhci-dwc3.c into a DM driver one year before: http://patchwork.ozlabs.org/patch/622563/
After our discussion, a problem was duplication between drivers/usb/host/xhci-dwc3.c and drivers/usb/dwc3/.
I has been too busy to track this work, but was that problem solved?
How will glue-layers work?