linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: ux500: don't select CPUFREQ_DT
@ 2017-08-23 13:27 Arnd Bergmann
  2017-08-24 19:47 ` Linus Walleij
  0 siblings, 1 reply; 3+ messages in thread
From: Arnd Bergmann @ 2017-08-23 13:27 UTC (permalink / raw)
  To: Linus Walleij
  Cc: Viresh Kumar, Rafael J . Wysocki, Arnd Bergmann,
	linux-arm-kernel, linux-kernel

The new 'select CPUFREQ_DT' statement causes a warning in some
configurations:

warning: (ARCH_U8500) selects CPUFREQ_DT which has unmet direct dependencies (CPU_FREQ && HAVE_CLK && OF && (!CPU_THERMAL || THERMAL))

No other platform does this, so I think for consistency it's
best if we remove it again from ux500 and instead add the driver
to the defconfig.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 arch/arm/mach-ux500/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/mach-ux500/Kconfig b/arch/arm/mach-ux500/Kconfig
index 2b56e4af5a27..4740ac393297 100644
--- a/arch/arm/mach-ux500/Kconfig
+++ b/arch/arm/mach-ux500/Kconfig
@@ -9,7 +9,6 @@ menuconfig ARCH_U8500
 	select ARM_GIC
 	select CACHE_L2X0
 	select CLKSRC_NOMADIK_MTU
-	select CPUFREQ_DT
 	select GPIOLIB
 	select HAVE_ARM_SCU if SMP
 	select HAVE_ARM_TWD if SMP
-- 
2.9.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: ux500: don't select CPUFREQ_DT
  2017-08-23 13:27 [PATCH] ARM: ux500: don't select CPUFREQ_DT Arnd Bergmann
@ 2017-08-24 19:47 ` Linus Walleij
  2017-08-24 23:28   ` Rafael J. Wysocki
  0 siblings, 1 reply; 3+ messages in thread
From: Linus Walleij @ 2017-08-24 19:47 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Viresh Kumar, Rafael J . Wysocki, linux-arm-kernel, linux-kernel

On Wed, Aug 23, 2017 at 3:27 PM, Arnd Bergmann <arnd@arndb.de> wrote:

> The new 'select CPUFREQ_DT' statement causes a warning in some
> configurations:
>
> warning: (ARCH_U8500) selects CPUFREQ_DT which has unmet direct dependencies (CPU_FREQ && HAVE_CLK && OF && (!CPU_THERMAL || THERMAL))
>
> No other platform does this, so I think for consistency it's
> best if we remove it again from ux500 and instead add the driver
> to the defconfig.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

OK then. I should update the defconfig anyway.
Acked-by: Linus Walleij <linus.walleij@linaro.org>

Rafael, can you stick this on top of the other patches on
your cpufreq branch?

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: ux500: don't select CPUFREQ_DT
  2017-08-24 19:47 ` Linus Walleij
@ 2017-08-24 23:28   ` Rafael J. Wysocki
  0 siblings, 0 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2017-08-24 23:28 UTC (permalink / raw)
  To: Linus Walleij
  Cc: Arnd Bergmann, Viresh Kumar, Rafael J . Wysocki,
	linux-arm-kernel, linux-kernel

On Thursday, August 24, 2017 9:47:52 PM CEST Linus Walleij wrote:
> On Wed, Aug 23, 2017 at 3:27 PM, Arnd Bergmann <arnd@arndb.de> wrote:
> 
> > The new 'select CPUFREQ_DT' statement causes a warning in some
> > configurations:
> >
> > warning: (ARCH_U8500) selects CPUFREQ_DT which has unmet direct dependencies (CPU_FREQ && HAVE_CLK && OF && (!CPU_THERMAL || THERMAL))
> >
> > No other platform does this, so I think for consistency it's
> > best if we remove it again from ux500 and instead add the driver
> > to the defconfig.
> >
> > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> 
> OK then. I should update the defconfig anyway.
> Acked-by: Linus Walleij <linus.walleij@linaro.org>
> 
> Rafael, can you stick this on top of the other patches on
> your cpufreq branch?

Done locally, but will show up in linux-next next week.

Though honestly, that not being in linux-pm Patchwork doesn't make things
particularly easy for me ...

Thanks,
Rafael

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-24 23:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-23 13:27 [PATCH] ARM: ux500: don't select CPUFREQ_DT Arnd Bergmann
2017-08-24 19:47 ` Linus Walleij
2017-08-24 23:28   ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).