ARM: shmobile: r8a7778: add audio clock in new style
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 14 Jan 2014 02:25:27 +0000 (18:25 -0800)
committerSimon Horman <horms+renesas@verge.net.au>
Sun, 23 Feb 2014 23:54:39 +0000 (08:54 +0900)
Current audio clock doesn't have dependency to device/driver,
but, it is not good design for DT support.
To avoid branch merge conflict issue,
it uses this load map, and this patch is 1) part.
 1) add new style clock in platform
 2) add new style clock method in driver
 3) remove old tyle clock from platform

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/clock-r8a7778.c

index 9783945f8bc7972e9f13123c16335c3cbebefb9e..2009a9bc63562af9d761c47f433a4b3d6a80f25d 100644 (file)
@@ -221,6 +221,10 @@ static struct clk_lookup lookups[] = {
        CLKDEV_DEV_ID("fffc6000.spi", &mstp_clks[MSTP007]), /* HSPI2 */
        CLKDEV_DEV_ID("rcar_sound", &mstp_clks[MSTP008]), /* SRU */
 
+       CLKDEV_ICK_ID("clk_a", "rcar_sound", &audio_clk_a),
+       CLKDEV_ICK_ID("clk_b", "rcar_sound", &audio_clk_b),
+       CLKDEV_ICK_ID("clk_c", "rcar_sound", &audio_clk_c),
+       CLKDEV_ICK_ID("clk_i", "rcar_sound", &s1_clk),
        CLKDEV_ICK_ID("ssi.0", "rcar_sound", &mstp_clks[MSTP012]),
        CLKDEV_ICK_ID("ssi.1", "rcar_sound", &mstp_clks[MSTP011]),
        CLKDEV_ICK_ID("ssi.2", "rcar_sound", &mstp_clks[MSTP010]),