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@xxxxxxxxxxxxxx> --- 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" config PHY_STM32_USBPHYC tristate "STM32 USB HS PHY Controller" depends on ARCH_STM32MP || COMPILE_TEST + depends on COMMON_CLK help Enable this to support the High-Speed USB transceivers that are part of some STMicroelectronics STM32 SoCs. -- 2.39.2