* [PATCH] clk: COMMON_CLK_LAN966X should depend on SOC_LAN966
@ 2022-02-24 15:29 Geert Uytterhoeven
2022-03-08 15:24 ` Nicolas Ferre
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2022-02-24 15:29 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd, Nicolas Ferre, Horatiu Vultur,
Kavyasree Kotagiri
Cc: linux-clk, linux-kernel, Geert Uytterhoeven
The LAN966x Generic Clock Controller is only present on Microchip
LAN966x SoCs. Hence add a dependency on SOC_LAN966, to prevent asking
the user about this driver when configuring a kernel without LAN966x SoC
support.
Fixes: 54104ee023333e3b ("clk: lan966x: Add lan966x SoC clock driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
drivers/clk/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index c390e26dadf471f5..1c82a3e1129d4342 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -232,6 +232,7 @@ config COMMON_CLK_GEMINI
config COMMON_CLK_LAN966X
bool "Generic Clock Controller driver for LAN966X SoC"
+ depends on SOC_LAN966 || COMPILE_TEST
help
This driver provides support for Generic Clock Controller(GCK) on
LAN966X SoC. GCK generates and supplies clock to various peripherals
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] clk: COMMON_CLK_LAN966X should depend on SOC_LAN966
2022-02-24 15:29 [PATCH] clk: COMMON_CLK_LAN966X should depend on SOC_LAN966 Geert Uytterhoeven
@ 2022-03-08 15:24 ` Nicolas Ferre
2022-03-08 15:52 ` Horatiu Vultur
2022-03-12 3:28 ` Stephen Boyd
2 siblings, 0 replies; 4+ messages in thread
From: Nicolas Ferre @ 2022-03-08 15:24 UTC (permalink / raw)
To: Geert Uytterhoeven, Michael Turquette, Stephen Boyd,
Horatiu Vultur, Kavyasree Kotagiri
Cc: linux-clk, linux-kernel
On 24/02/2022 at 16:29, Geert Uytterhoeven wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>
> The LAN966x Generic Clock Controller is only present on Microchip
> LAN966x SoCs. Hence add a dependency on SOC_LAN966, to prevent asking
> the user about this driver when configuring a kernel without LAN966x SoC
> support.
>
> Fixes: 54104ee023333e3b ("clk: lan966x: Add lan966x SoC clock driver")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Horatiu, Kavyasree,
We probably need your view on this.
Best regards,
Nicolas
> ---
> drivers/clk/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
> index c390e26dadf471f5..1c82a3e1129d4342 100644
> --- a/drivers/clk/Kconfig
> +++ b/drivers/clk/Kconfig
> @@ -232,6 +232,7 @@ config COMMON_CLK_GEMINI
>
> config COMMON_CLK_LAN966X
> bool "Generic Clock Controller driver for LAN966X SoC"
> + depends on SOC_LAN966 || COMPILE_TEST
> help
> This driver provides support for Generic Clock Controller(GCK) on
> LAN966X SoC. GCK generates and supplies clock to various peripherals
> --
> 2.25.1
>
--
Nicolas Ferre
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] clk: COMMON_CLK_LAN966X should depend on SOC_LAN966
2022-02-24 15:29 [PATCH] clk: COMMON_CLK_LAN966X should depend on SOC_LAN966 Geert Uytterhoeven
2022-03-08 15:24 ` Nicolas Ferre
@ 2022-03-08 15:52 ` Horatiu Vultur
2022-03-12 3:28 ` Stephen Boyd
2 siblings, 0 replies; 4+ messages in thread
From: Horatiu Vultur @ 2022-03-08 15:52 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Michael Turquette, Stephen Boyd, Nicolas Ferre,
Kavyasree Kotagiri, linux-clk, linux-kernel
The 02/24/2022 16:29, Geert Uytterhoeven wrote:
>
> The LAN966x Generic Clock Controller is only present on Microchip
> LAN966x SoCs. Hence add a dependency on SOC_LAN966, to prevent asking
> the user about this driver when configuring a kernel without LAN966x SoC
> support.
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
>
> Fixes: 54104ee023333e3b ("clk: lan966x: Add lan966x SoC clock driver")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> drivers/clk/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
> index c390e26dadf471f5..1c82a3e1129d4342 100644
> --- a/drivers/clk/Kconfig
> +++ b/drivers/clk/Kconfig
> @@ -232,6 +232,7 @@ config COMMON_CLK_GEMINI
>
> config COMMON_CLK_LAN966X
> bool "Generic Clock Controller driver for LAN966X SoC"
> + depends on SOC_LAN966 || COMPILE_TEST
> help
> This driver provides support for Generic Clock Controller(GCK) on
> LAN966X SoC. GCK generates and supplies clock to various peripherals
> --
> 2.25.1
>
--
/Horatiu
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] clk: COMMON_CLK_LAN966X should depend on SOC_LAN966
2022-02-24 15:29 [PATCH] clk: COMMON_CLK_LAN966X should depend on SOC_LAN966 Geert Uytterhoeven
2022-03-08 15:24 ` Nicolas Ferre
2022-03-08 15:52 ` Horatiu Vultur
@ 2022-03-12 3:28 ` Stephen Boyd
2 siblings, 0 replies; 4+ messages in thread
From: Stephen Boyd @ 2022-03-12 3:28 UTC (permalink / raw)
To: Geert Uytterhoeven, Horatiu Vultur, Kavyasree Kotagiri,
Michael Turquette, Nicolas Ferre
Cc: linux-clk, linux-kernel, Geert Uytterhoeven
Quoting Geert Uytterhoeven (2022-02-24 07:29:17)
> The LAN966x Generic Clock Controller is only present on Microchip
> LAN966x SoCs. Hence add a dependency on SOC_LAN966, to prevent asking
> the user about this driver when configuring a kernel without LAN966x SoC
> support.
>
> Fixes: 54104ee023333e3b ("clk: lan966x: Add lan966x SoC clock driver")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-03-12 3:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-24 15:29 [PATCH] clk: COMMON_CLK_LAN966X should depend on SOC_LAN966 Geert Uytterhoeven
2022-03-08 15:24 ` Nicolas Ferre
2022-03-08 15:52 ` Horatiu Vultur
2022-03-12 3:28 ` Stephen Boyd
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.