[PATCH v1 0/4] phy: Add generic_{setup,shutdown}_phy() helpers
Patrice Chotard
patrice.chotard at foss.st.com
Tue Sep 6 08:15:25 CEST 2022
In drivers ehci-generic.c and ohci-generic.c, specific phy
helpers has been added and shared 95% of common code.
Factorize this code in generic_{setup,shutdown}_phy() helpers
and update all consumers.
Patrice Chotard (4):
phy: Add generic_{setup,shutdown}_phy() helpers
usb: ohci: Make usage of generic_{setup,shutdown}_phy() helpers
usb: ehci: Make usage of generic_{setup,shutdown}_phy() helpers
usb: ehci: Remove unused ehci_{setup,shutdown}_phy() helpers
drivers/phy/phy-uclass.c | 42 +++++++++++++++++++++
drivers/usb/host/ehci-generic.c | 6 +--
drivers/usb/host/ehci-hcd.c | 66 ---------------------------------
drivers/usb/host/ehci-msm.c | 4 +-
drivers/usb/host/ehci-mx6.c | 6 +--
drivers/usb/host/ehci-pci.c | 4 +-
drivers/usb/host/ehci.h | 4 --
drivers/usb/host/ohci-generic.c | 56 ++--------------------------
include/generic-phy.h | 30 +++++++++++++++
9 files changed, 85 insertions(+), 133 deletions(-)
--
2.25.1
More information about the U-Boot
mailing list