sh: CMT platform data for sh7720/sh7721
PATCH 1/1 sh: CMT platform data for sh7720/sh7721
From: Magnus Damm <[email protected]>
This patch adds CMT platform data for sh7720 and sh7721. All 5 32-bit CMT channels unfortunately share a single IRQ. Both clockevent and clocksource support is enabled.
Signed-off-by Magnus Damm <[email protected]>
---
arch/sh/Kconfig | 2 arch/sh/kernel/cpu/sh3/setup-sh7720.c | 161 +++++++++++++++++++++++++++++++++ 2 files changed, 163 insertions(+)
arch/sh/Kconfig +2 -0
@@ -302,6 +302,7 @@ config CPU_SUBTYPE_SH7720 bool "Support SH7720 processor" select CPU_SH3 select CPU_HAS_DSP + select SYS_SUPPORTS_CMT help Select SH7720 if you have a SH3-DSP SH7720 CPU.
@@ -309,6 +310,7 @@ config CPU_SUBTYPE_SH7721 bool "Support SH7721 processor" select CPU_SH3 select CPU_HAS_DSP + select SYS_SUPPORTS_CMT help Select SH7721 if you have a SH3-DSP SH7721 CPU.
arch/sh/kernel/cpu/sh3/setup-sh7720.c +161 -0
179 lines not on this page · raw message