ARM: shmobile: Introduce shmobile_clk_workaround()
authorMagnus Damm <damm@opensource.se>
Wed, 12 Mar 2014 23:36:17 +0000 (08:36 +0900)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:14:54 +0000 (11:14 +0100)
commitaf482aef53c5dae77e1de548d56073f75045fa85
tree186fe355144e25a7a685e955d9318ce3800d111a
parent19c80a6c6e184c02e63f7d9f800abe71ae4bdbc1
ARM: shmobile: Introduce shmobile_clk_workaround()

Introduce a new clock workaround function used by DT reference
code on the mach-shmobile subarchitecture. The new function
shmobile_clk_workaround() is used to configure clkdev to
allow DT and platform devices to coexist. It is possible for
the DT reference board code to also request enabling of the clock
in case the driver does not implement clock control.

Signed-off-by: Magnus Damm <damm@opensource.se>
[horms+renesas@verge.net.au: Removed trailing blank line]
Reviewed-by: Wolfram Sang <wsa@sang-engineering.com>
Tested-by: Wolfram Sang <wsa@sang-engineering.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit 25f5550f5a4b18fd77a2e719ba63cb34931ab66a)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/Makefile
arch/arm/mach-shmobile/clock.c
arch/arm/mach-shmobile/include/mach/clock.h