OSDN Git Service

MIPS: ingenic: Select CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER
authorPaul Cercueil <paul@crapouillou.net>
Sun, 30 May 2021 17:17:59 +0000 (18:17 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 1 Jun 2021 09:44:47 +0000 (11:44 +0200)
The clock driving the XBurst CPUs in Ingenic SoCs is integer divided
from the main PLL. As such, it is possible to control the frequency of
the CPU, either by changing the divider, or by changing the rate of the
main PLL.

The XBurst CPUs also lack the CP0 timer; the TCU, a separate piece of
hardware in the SoC, provides this functionality.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/Kconfig

index 7badc40..6c0cb83 100644 (file)
@@ -429,6 +429,8 @@ config MACH_INGENIC_SOC
        select MIPS_GENERIC
        select MACH_INGENIC
        select SYS_SUPPORTS_ZBOOT_UART16550
+       select CPU_SUPPORTS_CPUFREQ
+       select MIPS_EXTERNAL_TIMER
 
 config LANTIQ
        bool "Lantiq based platforms"