summaryrefslogtreecommitdiff
path: root/arch/mips/ralink/Kconfig
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-08-08 13:08:06 +0200
committerRalf Baechle <ralf@linux-mips.org>2013-09-04 16:55:29 +0200
commit1f2acc5a8a0adec4a800441f0aa0c16b7bf0768d (patch)
tree4bdf1a2ee4dc5ff03d2169baa2ebc1d67481c655 /arch/mips/ralink/Kconfig
parent80ecbd245791fec5da4baa88c7273ec7f9ae7782 (diff)
MIPS: ralink: Add support for systick timer found on newer ralink SoC
Newer Ralink SoC (MT7620x and RT5350) have a 50KHz clock that runs independent of the SoC master clock. If we want to automatic frequency scaling to work we need to use the systick timer as the clock source. Signed-off-by: John Crispin <blogic@openwrt.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/5669/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/ralink/Kconfig')
-rw-r--r--arch/mips/ralink/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig
index 026e823d871d..c528d0cf5add 100644
--- a/arch/mips/ralink/Kconfig
+++ b/arch/mips/ralink/Kconfig
@@ -1,5 +1,12 @@
if RALINK
+config CLKEVT_RT3352
+ bool
+ depends on SOC_RT305X || SOC_MT7620
+ default y
+ select CLKSRC_OF
+ select CLKSRC_MMIO
+
choice
prompt "Ralink SoC selection"
default SOC_RT305X