]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: shmobile: Introduce shmobile_clk_workaround()
authorMagnus Damm <damm@opensource.se>
Wed, 12 Mar 2014 23:36:17 +0000 (08:36 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 14 Apr 2014 02:30:11 +0000 (11:30 +0900)
commit8fcf6da261e000246c1bf3673936e6179d0a0fa2
tree134410e2b2c6e2f26c545dc5bf3bb31539c7046a
parenta02be9db6e5569b11a79f38e4b8ef1376f16b742
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>
arch/arm/mach-shmobile/Makefile
arch/arm/mach-shmobile/clock.c
arch/arm/mach-shmobile/include/mach/clock.h