Skip to content

Commit

Permalink
sh: sh7722 clock framework rewrite
Browse files Browse the repository at this point in the history
This patch rewrites the sh7722 clock framework code.
The new code makes use of the recently merged div4,
div6 and mstp32 helper code. Both extal and dll are
supported as input clocks to the pll.

While at it, now when all SuperH Mobile processors
are converted, fix CONFIG_SH_CLK_CPG_LEGACY to depend
on CONFIG_ARCH_SHMOBILE.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Jun 11, 2009
1 parent 4ed3739 commit 46e9371
Show file tree
Hide file tree
Showing 2 changed files with 138 additions and 660 deletions.
2 changes: 1 addition & 1 deletion arch/sh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ config SH_CLK_CPG

config SH_CLK_CPG_LEGACY
depends on SH_CLK_CPG
def_bool y if !CPU_SUBTYPE_SH7785 && !CPU_SUBTYPE_SH7723 && !CPU_SUBTYPE_SH7724 && !CPU_SUBTYPE_SH7343 && !CPU_SUBTYPE_SH7366
def_bool y if !CPU_SUBTYPE_SH7785 && !ARCH_SHMOBILE

config SH_CLK_MD
int "CPU Mode Pin Setting"
Expand Down
Loading

0 comments on commit 46e9371

Please sign in to comment.