ARM: shmobile: koelsch-reference: Work around core clock issues
authorGeert Uytterhoeven <geert+renesas@linux-m68k.org>
Thu, 13 Mar 2014 14:29:30 +0000 (15:29 +0100)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:14:55 +0000 (11:14 +0100)
commit0ccc8559a02565913a894c4990099cfd0dbb7df9
tree91497d741e2484bf85f15a8a788d893a64ff3114
parent3895180a50914a29d5603950462ff7075d60bdbd
ARM: shmobile: koelsch-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, i2c2, msiof0, qspi_mod, and
thermal. More clocks can be added if needed.

Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit 53cf0cf7ba2ef785b339826a0765bb6b1756adeb)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-koelsch-reference.c