ARM: mach-shmobile: sh7372 MSIOF clock support
authorMagnus Damm <damm@opensource.se>
Fri, 26 Aug 2011 05:25:11 +0000 (05:25 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 29 Aug 2011 07:39:58 +0000 (16:39 +0900)
commit7ceb6666f03bc691e692c8d14ea2a8f3fa879ec8
tree4cc9c2c62afdc6ee6cc84a28f8d382f6f5989fdf
parent6b4cb8ffe8251a60cae6678959b9dec47337b8de
ARM: mach-shmobile: sh7372 MSIOF clock support

Add clock control support for sh7372 MSIOF hardware blocks.

No upstream sh7372 boards are making use of MSIOF0->2,
but the sh7372 hardware happens to come out of reset with
all MSIOF MSTP clocks _enabled_, so to save power we need
to implement a fix in software to shut down unused clocks.

This patch relies on the recently merged

 794d78f drivers: sh: late disabling of clocks V2

to make sure the unused clocks get disabled as expected.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/arm/mach-shmobile/clock-sh7372.c