]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: mach-imx: support for DryIce RTC in i.MX53
authorRoland Stigge <stigge@antcom.de>
Sat, 3 Nov 2012 00:42:55 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 8 Nov 2012 04:08:53 +0000 (15:08 +1100)
Enable support for i.MX53 in addition to i.MX25 by providing a dummy clock
on i.MX53 since this one doesn't have a separate clock for internal RTC
but the driver requests one.

Signed-off-by: Roland Stigge <stigge@antcom.de>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/arm/mach-imx/clk-imx51-imx53.c

index abb71f6b4d6051b8c64d28c61c32faceb83d75ac..6cb97952bbfbb52350a9a9c77daca40be0400714 100644 (file)
@@ -466,6 +466,7 @@ int __init mx53_clocks_init(unsigned long rate_ckil, unsigned long rate_osc,
        clk_register_clkdev(clk[can1_serial_gate], "per", "53fc8000.can");
        clk_register_clkdev(clk[can2_ipg_gate], "ipg", "53fcc000.can");
        clk_register_clkdev(clk[can2_serial_gate], "per", "53fcc000.can");
+       clk_register_clkdev(clk[dummy], NULL, "53fa4000.rtc");
 
        /* set SDHC root clock to 200MHZ*/
        clk_set_rate(clk[esdhc_a_podf], 200000000);