Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1457543

Re: [PATCH] clk: Hi6220: enable stub clock driver for ARCH_HISI

From Amit Kucheria <amit.kucheria@verdurent.com>
Newsgroups linux.kernel
Subject Re: [PATCH] clk: Hi6220: enable stub clock driver for ARCH_HISI
Date 2016-08-08 08:00 +0200
Message-ID <s3LLr-5N8-9@gated-at.bofh.it> (permalink)
References <s3JzX-4oT-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Aug 8, 2016 at 9:07 AM, Leo Yan <leo.yan@linaro.org> wrote:
> In current kernel config 'CONFIG_STUB_CLK_HI6220' is disabled by
> default, as result stub clock driver has not been registered and
> CPUFreq driver cannot work.

I have a related patch that has been pending for a while:
https://lkml.org/lkml/2016/6/20/375 but it was tied only to the
thermal driver.

Is the stub mandatory for the architecture? Will other SoCs in the
family will use the same stub?


> This patch is to enable stub clock driver in config for ARCH_HISI.
>
> Reported-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
> Signed-off-by: Leo Yan <leo.yan@linaro.org>
> ---
>  drivers/clk/hisilicon/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/clk/hisilicon/Kconfig b/drivers/clk/hisilicon/Kconfig
> index 3f537a0..9e0a95e 100644
> --- a/drivers/clk/hisilicon/Kconfig
> +++ b/drivers/clk/hisilicon/Kconfig
> @@ -23,5 +23,6 @@ config RESET_HISI
>  config STUB_CLK_HI6220
>         bool "Hi6220 Stub Clock Driver"
>         depends on COMMON_CLK_HI6220 && MAILBOX
> +       default ARCH_HISI
>         help
>           Build the Hisilicon Hi6220 stub clock driver.
> --
> 1.9.1
>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] clk: Hi6220: enable stub clock driver for ARCH_HISI Leo Yan <leo.yan@linaro.org> - 2016-08-08 05:40 +0200
  Re: [PATCH] clk: Hi6220: enable stub clock driver for ARCH_HISI Amit Kucheria <amit.kucheria@verdurent.com> - 2016-08-08 08:00 +0200
    Re: [PATCH] clk: Hi6220: enable stub clock driver for ARCH_HISI Leo Yan <leo.yan@linaro.org> - 2016-08-08 08:50 +0200
      Re: [PATCH] clk: Hi6220: enable stub clock driver for ARCH_HISI Amit Kucheria <amit.kucheria@verdurent.com> - 2016-08-08 16:50 +0200
        Re: [PATCH] clk: Hi6220: enable stub clock driver for ARCH_HISI Leo Yan <leo.yan@linaro.org> - 2016-08-08 17:40 +0200
        Re: [PATCH] clk: Hi6220: enable stub clock driver for ARCH_HISI Daniel Thompson <daniel.thompson@linaro.org> - 2016-08-08 18:00 +0200
          Re: [PATCH] clk: Hi6220: enable stub clock driver for ARCH_HISI Amit Kucheria <amit.kucheria@verdurent.com> - 2016-08-08 20:10 +0200
            Re: [PATCH] clk: Hi6220: enable stub clock driver for ARCH_HISI Daniel Thompson <daniel.thompson@linaro.org> - 2016-08-08 22:40 +0200
              Re: [PATCH] clk: Hi6220: enable stub clock driver for ARCH_HISI Leo Yan <leo.yan@linaro.org> - 2016-08-09 03:30 +0200

csiph-web