diff mbox series

[3/4] clk: qoriq: Add platform dependencies

Message ID 20200507112955.23520-4-geert+renesas@glider.be (mailing list archive)
State New, archived
Headers show
Series qoriq: Add platform dependencies | expand

Commit Message

Geert Uytterhoeven May 7, 2020, 11:29 a.m. UTC
The Freescale QorIQ clock controller is only present on Freescale E500MC
and Layerscape SoCs.  Add platform dependencies to the CLK_QORIQ config
symbol, to avoid asking the user about it when configuring a kernel
without E500MC or Layerscape support.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/clk/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Stephen Boyd May 13, 2020, 1:32 a.m. UTC | #1
Quoting Geert Uytterhoeven (2020-05-07 04:29:54)
> The Freescale QorIQ clock controller is only present on Freescale E500MC
> and Layerscape SoCs.  Add platform dependencies to the CLK_QORIQ config
> symbol, to avoid asking the user about it when configuring a kernel
> without E500MC or Layerscape support.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---

Acked-by: Stephen Boyd <sboyd@kernel.org>
Leo Li May 22, 2020, 9:28 p.m. UTC | #2
On Thu, May 7, 2020 at 6:31 AM Geert Uytterhoeven
<geert+renesas@glider.be> wrote:
>
> The Freescale QorIQ clock controller is only present on Freescale E500MC
> and Layerscape SoCs.  Add platform dependencies to the CLK_QORIQ config
> symbol, to avoid asking the user about it when configuring a kernel
> without E500MC or Layerscape support.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Hi Michael/Stephen,

Are you applying this patch?  If not I can apply it with your ACK.

Regards,
Leo

> ---
>  drivers/clk/Kconfig | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
> index bcb257baed06daa0..22bf015610d1724c 100644
> --- a/drivers/clk/Kconfig
> +++ b/drivers/clk/Kconfig
> @@ -232,7 +232,8 @@ config COMMON_CLK_AXI_CLKGEN
>
>  config CLK_QORIQ
>         bool "Clock driver for Freescale QorIQ platforms"
> -       depends on (PPC_E500MC || ARM || ARM64 || COMPILE_TEST) && OF
> +       depends on OF
> +       depends on PPC_E500MC || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST
>         ---help---
>           This adds the clock driver support for Freescale QorIQ platforms
>           using common clock framework.
> --
> 2.17.1
>
Stephen Boyd May 27, 2020, 7:14 a.m. UTC | #3
Quoting Li Yang (2020-05-22 14:28:06)
> On Thu, May 7, 2020 at 6:31 AM Geert Uytterhoeven
> <geert+renesas@glider.be> wrote:
> >
> > The Freescale QorIQ clock controller is only present on Freescale E500MC
> > and Layerscape SoCs.  Add platform dependencies to the CLK_QORIQ config
> > symbol, to avoid asking the user about it when configuring a kernel
> > without E500MC or Layerscape support.
> >
> > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> 
> Hi Michael/Stephen,
> 
> Are you applying this patch?  If not I can apply it with your ACK.
> 

I already acked it.
diff mbox series

Patch

diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index bcb257baed06daa0..22bf015610d1724c 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -232,7 +232,8 @@  config COMMON_CLK_AXI_CLKGEN
 
 config CLK_QORIQ
 	bool "Clock driver for Freescale QorIQ platforms"
-	depends on (PPC_E500MC || ARM || ARM64 || COMPILE_TEST) && OF
+	depends on OF
+	depends on PPC_E500MC || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST
 	---help---
 	  This adds the clock driver support for Freescale QorIQ platforms
 	  using common clock framework.