summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Elder <elder@riscstar.com>2025-12-26 20:32:27 +0300
committerVinod Koul <vkoul@kernel.org>2025-12-29 19:57:55 +0300
commit8df20813eb01fe29b4507fd470d73675bda3e1dd (patch)
tree037fe6d3d2a73f949ba48ee8c4f6f0e00d30a3a4
parent27287e3b52b5954b73203d32ee76ffd5f53f5074 (diff)
downloadlinux-8df20813eb01fe29b4507fd470d73675bda3e1dd.tar.xz
phy: Kconfig: spacemit: add COMMON_CLK dependency
The SpacemiT PCIe PHY driver depends on the common clock framework. Not specifying that led to a failure when doing a COMPILE_TEST build for the SPARC architecture. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202512251903.sTVZgg6c-lkp@intel.com/ Signed-off-by: Alex Elder <elder@riscstar.com> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patch.msgid.link/20251226173228.2020411-1-elder@riscstar.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
-rw-r--r--drivers/phy/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index aa2d30e0e326..3bc7378ea865 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -104,6 +104,7 @@ config PHY_NXP_PTN3222
config PHY_SPACEMIT_K1_PCIE
tristate "PCIe and combo PHY driver for the SpacemiT K1 SoC"
depends on ARCH_SPACEMIT || COMPILE_TEST
+ depends on COMMON_CLK
depends on HAS_IOMEM
depends on OF
select GENERIC_PHY