Skip to contentSkip to conversation

phy: marvell: Tighten MVEBU_COMPHY_SUPPORT dependencies

PATCH In review Tom Rini 2 participants 3 messages Sep 25, 2025 – Oct 14, 2025 Generic PHY framework

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 phy: marvell: Tighten MVEBU_COMPHY_SUPPORT dependencies

This driver cannot link without access to functions that are defined in files that are only build on some platforms. Express those requirements in Kconfig as well.

---
Cc: Stefan Roese <[email protected]>

---
 drivers/phy/marvell/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/phy/marvell/Kconfig +1 -0
index b5f69c0a96d3..c66197de1433 100644
@@ -1,5 +1,6 @@
 config MVEBU_COMPHY_SUPPORT
 	bool "ComPhy SerDes driver"
+	depends on ARMADA_3700 || ARMADA_8K
 	help
 	  Choose this option to add support
 	  for Comphy driver.
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Tom Rini

This driver cannot link without access to functions that are defined in files that are only build on some platforms. Express those requirements in Kconfig as well.

---
Cc: Stefan Roese <[email protected]>

Thanks,
Stefan

Quoted 15 lines
---
  drivers/phy/marvell/Kconfig | 1 +
  1 file changed, 1 insertion(+)
drivers/phy/marvell/Kconfig +1 -0
index b5f69c0a96d3..c66197de1433 100644
@@ -1,5 +1,6 @@
  config MVEBU_COMPHY_SUPPORT
  	bool "ComPhy SerDes driver"
+	depends on ARMADA_3700 || ARMADA_8K
  	help
  	  Choose this option to add support
  	  for Comphy driver.