All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] phy: xgene: Depend on ARCH_XGENE rather than plain arm64
@ 2023-03-06 17:05 ` Mark Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2023-03-06 17:05 UTC (permalink / raw)
  To: Vinod Koul, Kishon Vijay Abraham I; +Cc: linux-phy, linux-kernel, Mark Brown

The X-Gene PHY driver is unlikely to be useful on a kernel without general
X-Gene support enabled but currently only depends on arm64 rather than the
specific platform support. Narrow the dependency to ARCH_XGENE like we do
for other X-Gene specific drivers to ensure that users who have configured
down the set of platforms enabled don't see the option.

Signed-off-by: Mark Brown <broonie@kernel.org>
---
 drivers/phy/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index 7bd00a11d074..f46e3148d286 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -44,7 +44,7 @@ config PHY_PISTACHIO_USB
 
 config PHY_XGENE
 	tristate "APM X-Gene 15Gbps PHY support"
-	depends on HAS_IOMEM && OF && (ARM64 || COMPILE_TEST)
+	depends on HAS_IOMEM && OF && (ARCH_XGENE || COMPILE_TEST)
 	select GENERIC_PHY
 	help
 	  This option enables support for APM X-Gene SoC multi-purpose PHY.

---
base-commit: fe15c26ee26efa11741a7b632e9f23b01aca4cc6
change-id: 20230221-phy-build-deps-760020d940c4

Best regards,
-- 
Mark Brown <broonie@kernel.org>


-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] phy: xgene: Depend on ARCH_XGENE rather than plain arm64
@ 2023-03-06 17:05 ` Mark Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2023-03-06 17:05 UTC (permalink / raw)
  To: Vinod Koul, Kishon Vijay Abraham I; +Cc: linux-phy, linux-kernel, Mark Brown

The X-Gene PHY driver is unlikely to be useful on a kernel without general
X-Gene support enabled but currently only depends on arm64 rather than the
specific platform support. Narrow the dependency to ARCH_XGENE like we do
for other X-Gene specific drivers to ensure that users who have configured
down the set of platforms enabled don't see the option.

Signed-off-by: Mark Brown <broonie@kernel.org>
---
 drivers/phy/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index 7bd00a11d074..f46e3148d286 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -44,7 +44,7 @@ config PHY_PISTACHIO_USB
 
 config PHY_XGENE
 	tristate "APM X-Gene 15Gbps PHY support"
-	depends on HAS_IOMEM && OF && (ARM64 || COMPILE_TEST)
+	depends on HAS_IOMEM && OF && (ARCH_XGENE || COMPILE_TEST)
 	select GENERIC_PHY
 	help
 	  This option enables support for APM X-Gene SoC multi-purpose PHY.

---
base-commit: fe15c26ee26efa11741a7b632e9f23b01aca4cc6
change-id: 20230221-phy-build-deps-760020d940c4

Best regards,
-- 
Mark Brown <broonie@kernel.org>


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] phy: xgene: Depend on ARCH_XGENE rather than plain arm64
  2023-03-06 17:05 ` Mark Brown
@ 2023-03-20 12:29   ` Vinod Koul
  -1 siblings, 0 replies; 4+ messages in thread
From: Vinod Koul @ 2023-03-20 12:29 UTC (permalink / raw)
  To: Mark Brown; +Cc: Kishon Vijay Abraham I, linux-phy, linux-kernel

On 06-03-23, 17:05, Mark Brown wrote:
> The X-Gene PHY driver is unlikely to be useful on a kernel without general
> X-Gene support enabled but currently only depends on arm64 rather than the
> specific platform support. Narrow the dependency to ARCH_XGENE like we do
> for other X-Gene specific drivers to ensure that users who have configured
> down the set of platforms enabled don't see the option.

Applied, thanks

-- 
~Vinod

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] phy: xgene: Depend on ARCH_XGENE rather than plain arm64
@ 2023-03-20 12:29   ` Vinod Koul
  0 siblings, 0 replies; 4+ messages in thread
From: Vinod Koul @ 2023-03-20 12:29 UTC (permalink / raw)
  To: Mark Brown; +Cc: Kishon Vijay Abraham I, linux-phy, linux-kernel

On 06-03-23, 17:05, Mark Brown wrote:
> The X-Gene PHY driver is unlikely to be useful on a kernel without general
> X-Gene support enabled but currently only depends on arm64 rather than the
> specific platform support. Narrow the dependency to ARCH_XGENE like we do
> for other X-Gene specific drivers to ensure that users who have configured
> down the set of platforms enabled don't see the option.

Applied, thanks

-- 
~Vinod

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-03-20 12:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-06 17:05 [PATCH] phy: xgene: Depend on ARCH_XGENE rather than plain arm64 Mark Brown
2023-03-06 17:05 ` Mark Brown
2023-03-20 12:29 ` Vinod Koul
2023-03-20 12:29   ` Vinod Koul

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.