
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
v8: _ Add CONFIG_DM_USB flag in path 1 to fix compilation issue for platforms which uses xhci-dwc3 driver and doesn't support yet driver model _ add PHY stub functions in patch 5 to fix compilation issue for platforms which uses xhci-dwc3 driver and doesn't support generic PHY framework _ fix bisection issue with patch 1 reported by Łukasz Majewski, move struct xhci_dwc3_platdata in patch 6 to fix it. 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 (6): 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 dm: phy: add PHY stub function usb: host: xhci-dwc3: Add generic PHY support
drivers/phy/phy-uclass.c | 1 + drivers/usb/host/xhci-dwc3.c | 89 ++++++++++++++++++++++++++++++++++++++++++++ include/generic-phy.h | 53 ++++++++++++++++++++++++++ 3 files changed, 143 insertions(+)