]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfb6fa352ba4db3c767e1f6ece537a47969b8f0ec
tree4cc9c2c62afdc6ee6cc84a28f8d382f6f5989fdf
parent4fa6d3c4c41e65dbc731a458e1f5bb07b1c90c57
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

 85fc02f 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