ARM: shmobile: marzen-reference: Instantiate clkdevs for SCIF and TMU
authorSimon Horman <horms+renesas@verge.net.au>
Thu, 15 May 2014 11:32:07 +0000 (20:32 +0900)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:24:50 +0000 (09:24 +0900)
commitd664b1ef8cf6b5e175176912005ea1da89d65ce6
tree38811b4fa26a59be8c1d3dc1693622e70c845d50
parent57e3554f90f0d9de8248d9a42c6ea01713a26ea7
ARM: shmobile: marzen-reference: Instantiate clkdevs for SCIF and TMU

Now that the common clock framework is supported, the clock lookup
entries in clock-r8a7779.c are not registered anymore. Devices must
instead reference their clocks in the device tree. However, SCIF and CMT
devices are still instantiated through platform code, and thus need a
clock lookup entry.

Retrieve the SCIF and CMT clock entries by name and register clkdevs for
the corresponding devices. This will be removed when the SCIF and CMT
devices will be instantiated from the device tree.

Based on work for the Koelsch board by Laurent Pinchart.

Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit 2b2084e8d4ae9265a3240722cb8adce06c0f393f)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-marzen-reference.c