* [PATCH] phy: freescale: i.MX8 PHYs should depend on ARCH_MXC && ARM64
@ 2022-01-12 11:40 ` Geert Uytterhoeven
0 siblings, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2022-01-12 11:40 UTC (permalink / raw)
To: Richard Zhu, Li Jun, Guido Günther, Kishon Vijay Abraham I
Cc: Vinod Koul, linux-phy, linux-kernel, Geert Uytterhoeven
The Freescale/NXP i.MX8 USB3, MIPI DSI, and PCIE PHYs are only present
on the NXP i.MX8 family of SoCs. Hence wrap the config symbols for
these PHYs inside a check for ARCH_MXC && ARM64, to prevent asking the
user about these drivers when configuring a kernel without NXP i.MX SoC
family support.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
drivers/phy/freescale/Kconfig | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/phy/freescale/Kconfig b/drivers/phy/freescale/Kconfig
index c3669c28ea9fe83a..856cbec7057d9e54 100644
--- a/drivers/phy/freescale/Kconfig
+++ b/drivers/phy/freescale/Kconfig
@@ -1,4 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
+
+if (ARCH_MXC && ARM64) || COMPILE_TEST
+
config PHY_FSL_IMX8MQ_USB
tristate "Freescale i.MX8M USB3 PHY"
depends on OF && HAS_IOMEM
@@ -22,3 +25,5 @@ config PHY_FSL_IMX8M_PCIE
help
Enable this to add support for the PCIE PHY as found on
i.MX8M family of SOCs.
+
+endif
--
2.25.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH] phy: freescale: i.MX8 PHYs should depend on ARCH_MXC && ARM64
@ 2022-01-12 11:40 ` Geert Uytterhoeven
0 siblings, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2022-01-12 11:40 UTC (permalink / raw)
To: Richard Zhu, Li Jun, Guido Günther, Kishon Vijay Abraham I
Cc: Vinod Koul, linux-phy, linux-kernel, Geert Uytterhoeven
The Freescale/NXP i.MX8 USB3, MIPI DSI, and PCIE PHYs are only present
on the NXP i.MX8 family of SoCs. Hence wrap the config symbols for
these PHYs inside a check for ARCH_MXC && ARM64, to prevent asking the
user about these drivers when configuring a kernel without NXP i.MX SoC
family support.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
drivers/phy/freescale/Kconfig | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/phy/freescale/Kconfig b/drivers/phy/freescale/Kconfig
index c3669c28ea9fe83a..856cbec7057d9e54 100644
--- a/drivers/phy/freescale/Kconfig
+++ b/drivers/phy/freescale/Kconfig
@@ -1,4 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
+
+if (ARCH_MXC && ARM64) || COMPILE_TEST
+
config PHY_FSL_IMX8MQ_USB
tristate "Freescale i.MX8M USB3 PHY"
depends on OF && HAS_IOMEM
@@ -22,3 +25,5 @@ config PHY_FSL_IMX8M_PCIE
help
Enable this to add support for the PCIE PHY as found on
i.MX8M family of SOCs.
+
+endif
--
2.25.1
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] phy: freescale: i.MX8 PHYs should depend on ARCH_MXC && ARM64
2022-01-12 11:40 ` Geert Uytterhoeven
@ 2022-01-12 14:20 ` Guido Günther
-1 siblings, 0 replies; 6+ messages in thread
From: Guido Günther @ 2022-01-12 14:20 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Richard Zhu, Li Jun, Kishon Vijay Abraham I, Vinod Koul,
linux-phy, linux-kernel
Hi,
On Wed, Jan 12, 2022 at 12:40:38PM +0100, Geert Uytterhoeven wrote:
> The Freescale/NXP i.MX8 USB3, MIPI DSI, and PCIE PHYs are only present
> on the NXP i.MX8 family of SoCs. Hence wrap the config symbols for
> these PHYs inside a check for ARCH_MXC && ARM64, to prevent asking the
> user about these drivers when configuring a kernel without NXP i.MX SoC
> family support.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Sounds good to me:
Reviewed-by: Guido Günther <agx@sigxcpu.org>
Cheers,
-- Guido
> ---
> drivers/phy/freescale/Kconfig | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/phy/freescale/Kconfig b/drivers/phy/freescale/Kconfig
> index c3669c28ea9fe83a..856cbec7057d9e54 100644
> --- a/drivers/phy/freescale/Kconfig
> +++ b/drivers/phy/freescale/Kconfig
> @@ -1,4 +1,7 @@
> # SPDX-License-Identifier: GPL-2.0-only
> +
> +if (ARCH_MXC && ARM64) || COMPILE_TEST
> +
> config PHY_FSL_IMX8MQ_USB
> tristate "Freescale i.MX8M USB3 PHY"
> depends on OF && HAS_IOMEM
> @@ -22,3 +25,5 @@ config PHY_FSL_IMX8M_PCIE
> help
> Enable this to add support for the PCIE PHY as found on
> i.MX8M family of SOCs.
> +
> +endif
> --
> 2.25.1
>
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] phy: freescale: i.MX8 PHYs should depend on ARCH_MXC && ARM64
@ 2022-01-12 14:20 ` Guido Günther
0 siblings, 0 replies; 6+ messages in thread
From: Guido Günther @ 2022-01-12 14:20 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Richard Zhu, Li Jun, Kishon Vijay Abraham I, Vinod Koul,
linux-phy, linux-kernel
Hi,
On Wed, Jan 12, 2022 at 12:40:38PM +0100, Geert Uytterhoeven wrote:
> The Freescale/NXP i.MX8 USB3, MIPI DSI, and PCIE PHYs are only present
> on the NXP i.MX8 family of SoCs. Hence wrap the config symbols for
> these PHYs inside a check for ARCH_MXC && ARM64, to prevent asking the
> user about these drivers when configuring a kernel without NXP i.MX SoC
> family support.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Sounds good to me:
Reviewed-by: Guido Günther <agx@sigxcpu.org>
Cheers,
-- Guido
> ---
> drivers/phy/freescale/Kconfig | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/phy/freescale/Kconfig b/drivers/phy/freescale/Kconfig
> index c3669c28ea9fe83a..856cbec7057d9e54 100644
> --- a/drivers/phy/freescale/Kconfig
> +++ b/drivers/phy/freescale/Kconfig
> @@ -1,4 +1,7 @@
> # SPDX-License-Identifier: GPL-2.0-only
> +
> +if (ARCH_MXC && ARM64) || COMPILE_TEST
> +
> config PHY_FSL_IMX8MQ_USB
> tristate "Freescale i.MX8M USB3 PHY"
> depends on OF && HAS_IOMEM
> @@ -22,3 +25,5 @@ config PHY_FSL_IMX8M_PCIE
> help
> Enable this to add support for the PCIE PHY as found on
> i.MX8M family of SOCs.
> +
> +endif
> --
> 2.25.1
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] phy: freescale: i.MX8 PHYs should depend on ARCH_MXC && ARM64
2022-01-12 11:40 ` Geert Uytterhoeven
@ 2022-01-27 5:35 ` Vinod Koul
-1 siblings, 0 replies; 6+ messages in thread
From: Vinod Koul @ 2022-01-27 5:35 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Richard Zhu, Li Jun, Guido Günther, Kishon Vijay Abraham I,
linux-phy, linux-kernel
On 12-01-22, 12:40, Geert Uytterhoeven wrote:
> The Freescale/NXP i.MX8 USB3, MIPI DSI, and PCIE PHYs are only present
> on the NXP i.MX8 family of SoCs. Hence wrap the config symbols for
> these PHYs inside a check for ARCH_MXC && ARM64, to prevent asking the
> user about these drivers when configuring a kernel without NXP i.MX SoC
> family support.
Applied, thanks
--
~Vinod
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] phy: freescale: i.MX8 PHYs should depend on ARCH_MXC && ARM64
@ 2022-01-27 5:35 ` Vinod Koul
0 siblings, 0 replies; 6+ messages in thread
From: Vinod Koul @ 2022-01-27 5:35 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Richard Zhu, Li Jun, Guido Günther, Kishon Vijay Abraham I,
linux-phy, linux-kernel
On 12-01-22, 12:40, Geert Uytterhoeven wrote:
> The Freescale/NXP i.MX8 USB3, MIPI DSI, and PCIE PHYs are only present
> on the NXP i.MX8 family of SoCs. Hence wrap the config symbols for
> these PHYs inside a check for ARCH_MXC && ARM64, to prevent asking the
> user about these drivers when configuring a kernel without NXP i.MX SoC
> family support.
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] 6+ messages in thread
end of thread, other threads:[~2022-01-27 5:35 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-12 11:40 [PATCH] phy: freescale: i.MX8 PHYs should depend on ARCH_MXC && ARM64 Geert Uytterhoeven
2022-01-12 11:40 ` Geert Uytterhoeven
2022-01-12 14:20 ` Guido Günther
2022-01-12 14:20 ` Guido Günther
2022-01-27 5:35 ` Vinod Koul
2022-01-27 5:35 ` 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.