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

From: Leo Yan
Date: Mon Aug 08 2016 - 11:32:52 EST


On Mon, Aug 08, 2016 at 08:12:21PM +0530, Amit Kucheria wrote:

[...]

> >> > 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
>
> Instead of forcing this up on the entire arch, why not restrict it to
> just the cpufreq driver? ARM_HISI_ACPU_CPUFREQ?

ARM_HISI_ACPU_CPUFREQ has been removed by 3920be471ce7f "cpufreq:
hisilicon: Use generic platdev driver". By default now platforms are
using drivers/cpufreq/cpufreq-dt-platdev.c.

> >> > help
> >> > Build the Hisilicon Hi6220 stub clock driver.
> >> > --
> >> > 1.9.1
> >> >