]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitafdccf98aa08b238cfc00a613418a1622c4732cb
treead590ddc4d888de138a96f23f1139ff9c08d386b
parente9fdd7640f8f1f3306e0ca44ce20eb18eb7f0fc1
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