Skip to contentSkip to conversation

sh: TMU platform data for sh7723

PATCH New Magnus Damm 1 participant 1 message May 8, 2009 SuperH

lore
Share & tools
lore
#0 lore raw

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.

---

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