Skip to contentSkip to conversation

phy: Kconfig: Select GENERIC_PHY for GENERIC_PHY_MIPI_DPHY

PATCH Applied Sakari Ailus 3 participants 3 messages Oct 17, 2023 – Oct 23, 2023 Generic PHY framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 phy: Kconfig: Select GENERIC_PHY for GENERIC_PHY_MIPI_DPHY

GENERIC_PHY can be selected by GENERIC_PHY_MIPI_DPHY directly as GENERIC_PHY has no dependencies. This way drivers that depend on GENERIC_PHY_MIPI_DPHY can avoid having to select both --- which they apparently often omit, too, which further leads to build failures.

---
 drivers/phy/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/Kconfig +1 -1
index d1670bbe6d6b..787354b849c7 100644
@@ -18,7 +18,7 @@ config GENERIC_PHY
 
 config GENERIC_PHY_MIPI_DPHY
 	bool
-	depends on GENERIC_PHY
+	select GENERIC_PHY
 	help
 	  Generic MIPI D-PHY support.
 
Signature · 7 lines
2.39.2


-- 
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy
Reviewed-by Tested-by on v1 1/1
#1 lore raw
Quoted 6 lines · Sakari Ailus

GENERIC_PHY can be selected by GENERIC_PHY_MIPI_DPHY directly as GENERIC_PHY has no dependencies. This way drivers that depend on GENERIC_PHY_MIPI_DPHY can avoid having to select both --- which they apparently often omit, too, which further leads to build failures.

Thanks.

Quoted 17 lines
---
 drivers/phy/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/Kconfig +1 -1
index d1670bbe6d6b..787354b849c7 100644
@@ -18,7 +18,7 @@ config GENERIC_PHY
 
 config GENERIC_PHY_MIPI_DPHY
 	bool
-	depends on GENERIC_PHY
+	select GENERIC_PHY
 	help
 	  Generic MIPI D-PHY support.
 
Signature · 6 lines
~Randy

-- 
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy
maintainer Applied
#2 lore raw
In reply to Sakari Ailus
Quoted 6 lines · Sakari Ailus

GENERIC_PHY can be selected by GENERIC_PHY_MIPI_DPHY directly as GENERIC_PHY has no dependencies. This way drivers that depend on GENERIC_PHY_MIPI_DPHY can avoid having to select both --- which they apparently often omit, too, which further leads to build failures.

Applied, thanks!

[1/1] phy: Kconfig: Select GENERIC_PHY for GENERIC_PHY_MIPI_DPHY

      commit: d0ec7b9c3153c941f98226001d4019d9c03faf81

Best regards,

Signature · 8 lines
~Vinod



-- 
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy