[PATCH 19/19] phy: stm32: usb: depend on COMMON_CLK

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Jun 12 06:02:40 PDT 2023

The stm32-usbphyc driver registers a clock with the common clock
framework, so compile testing without COMMON_CLK understandably fails
and can't be expected to work. Fix the allyesconfig build on sandbox
by making the COMMON_CLK dependency explicit.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
 drivers/phy/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index 4df9bd0523bc..52c792914909 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -29,6 +29,7 @@ source "drivers/phy/rockchip/Kconfig"
 	tristate "STM32 USB HS PHY Controller"
 	depends on ARCH_STM32MP || COMPILE_TEST
+	depends on COMMON_CLK
 	  Enable this to support the High-Speed USB transceivers that are part
 	  of some STMicroelectronics STM32 SoCs.

More information about the barebox mailing list