OSDN Git Service

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+renesas@verge.net.au>
Tue, 17 Jun 2014 10:56:29 +0000 (19:56 +0900)
commit2b2084e8d4ae9265a3240722cb8adce06c0f393f
treeca78d1badc8313075d9929a1909a418ac4d2866f
parenta92fbd077bbfbe98e4dee84081d84c44ae99538b
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>
arch/arm/mach-shmobile/board-marzen-reference.c