[PATCH 0/3] stm32mp: handle ck_usbo_48m clock provided by USBPHYC

Patrick Delaunay patrick.delaunay at foss.st.com
Tue Apr 26 14:37:46 CEST 2022


Update the RCC stm32mp1 clock driver to handle the USB_PHY_48
clock provided by USBPHYC and named "ck_usbo_48m".

With this series, the clock dependencies for USB PHYC, USBOTG (including
USB detection) and USBHOST are correctly managed.

See Linux kernel commit "ARM: dts: stm32: use usbphyc ck_usbo_48m as USBH
OHCI clock on stm32mp151" and "phy: stm32: register usbphyc as clock
provider of ck_usbo_48m clock"

Patrick


Patrick Delaunay (3):
  phy: stm32-usbphyc: add counter of PLL consumer
  phy: stm32-usbphyc: usbphyc is a clock provider of ck_usbo_48m clock
  clk: stm32mp: handle ck_usbo_48m clock provided by USBPHYC

 drivers/clk/clk_stm32mp1.c      |  35 ++++----
 drivers/phy/phy-stm32-usbphyc.c | 155 ++++++++++++++++++++++++++------
 2 files changed, 147 insertions(+), 43 deletions(-)

-- 
2.25.1



More information about the U-Boot mailing list