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)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:15:57 +0000 (11:15 +0100)
commit4e43b300746b4984c01a1ed1e88c7a7ca0f47ff3
tree473c2b200143ae18f258fe059faf18199f7abbd0
parentbfaa714b4655d3e1a0edff976912b9e9f9101214
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