sh: TMU platform data for sh7723
PATCH 1/1 sh: TMU platform data for sh7723
From: Magnus Damm <[email protected]>
This patch adds TMU platform data for sh7723. Both clockevent and clocksource support is enabled. While at it, adjust the CMT clocksource rating to prioritize the TMU.
Signed-off-by Magnus Damm <[email protected]>
---
Tested on ap325.
For correct run-time behaviour this patch is needed:
"clocksource: setup mult_orig in clocksource_enable()"
arch/sh/Kconfig | 1 arch/sh/kernel/cpu/sh4a/setup-sh7723.c | 196 +++++++++++++++++++++++++++++++- 2 files changed, 196 insertions(+), 1 deletion(-)
arch/sh/Kconfig +1 -0
@@ -356,6 +356,7 @@ config CPU_SUBTYPE_SH7723 select ARCH_SHMOBILE select ARCH_SPARSEMEM_ENABLE select SYS_SUPPORTS_CMT + select SYS_SUPPORTS_TMU help Select SH7723 if you have an SH-MobileR2 CPU.
arch/sh/kernel/cpu/sh4a/setup-sh7723.c +195 -1
220 lines not on this page · raw message