ARM: shmobile: lager-reference: Work around core clock issues
authorSimon Horman <horms+renesas@verge.net.au>
Mon, 17 Mar 2014 02:18:56 +0000 (11:18 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 14 Apr 2014 02:30:40 +0000 (11:30 +0900)
commitaa5de826afe747c353162bbc116c63ab5335f91c
treead590ddc4d888de138a96f23f1139ff9c08d386b
parent9e7b83c221cc257f4dc37acc82bbcb80627c0ab9
ARM: shmobile: lager-reference: Work around core clock issues

Due to issues with runtime PM clock management, clocks not explicitly
managed by their drivers may not be enabled at all, or be inadvertently
disabled by the clk_disable_unused() late initcall.

Until this is fixed, add a temporary workaround, calling
shmobile_clk_workaround() with enable == true.

For now this enables the clocks for: ether, msiof1, qspi_mod, and
thermal. More clocks can be added if needed.

Based on work for the koelsch board by Geert Uytterhoeven.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
arch/arm/mach-shmobile/board-lager-reference.c