ARM: shmobile: r7s72100 clock: Add RSPI clocks for DT
authorGeert Uytterhoeven <geert+renesas@linux-m68k.org>
Tue, 4 Feb 2014 15:23:58 +0000 (16:23 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Sun, 23 Feb 2014 23:54:41 +0000 (08:54 +0900)
Add DT-style ("%08x.spi") clocks, as Genmai doesn't use the common
clock framework yet.

Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/clock-r7s72100.c

index ffb0fff41375b42a1d6ca197770bea316b25b8fd..71c99feeff01a31e95d16879ead98415f9517093 100644 (file)
@@ -191,6 +191,11 @@ static struct clk_lookup lookups[] = {
        CLKDEV_DEV_ID("rspi-rz.2", &mstp_clks[MSTP105]),
        CLKDEV_DEV_ID("rspi-rz.3", &mstp_clks[MSTP104]),
        CLKDEV_DEV_ID("rspi-rz.4", &mstp_clks[MSTP103]),
+       CLKDEV_DEV_ID("e800c800.spi", &mstp_clks[MSTP107]),
+       CLKDEV_DEV_ID("e800d000.spi", &mstp_clks[MSTP106]),
+       CLKDEV_DEV_ID("e800d800.spi", &mstp_clks[MSTP105]),
+       CLKDEV_DEV_ID("e800e000.spi", &mstp_clks[MSTP104]),
+       CLKDEV_DEV_ID("e800e800.spi", &mstp_clks[MSTP103]),
        CLKDEV_DEV_ID("fcfee000.i2c", &mstp_clks[MSTP97]),
        CLKDEV_DEV_ID("fcfee400.i2c", &mstp_clks[MSTP96]),
        CLKDEV_DEV_ID("fcfee800.i2c", &mstp_clks[MSTP95]),