• Magnus Damm's avatar
    ARM: mach-shmobile: sh7372 MSIOF clock support · 7ceb6666
    Magnus Damm authored
    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
     794d78fe drivers: sh: late disabling of clocks V2
    to make sure the unused clocks get disabled as expected.
    Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
    Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
clock-sh7372.c 22.4 KB