ARM: pxa: add dummy clock for sa1100-rtc
Subsystems (3)
PATCH v3 4/6 ARM: pxa: add dummy clock for sa1100-rtc
Now sa1100-rtc can support sa1100/pxa/mmp soc series, then we need add dummy clock for sa1100-rtc.
Signed-off-by Jett.Zhou <[email protected]>
--- arch/arm/mach-pxa/pxa25x.c | 1 + arch/arm/mach-pxa/pxa27x.c | 1 + arch/arm/mach-pxa/pxa300.c | 1 + arch/arm/mach-pxa/pxa320.c | 1 + arch/arm/mach-pxa/pxa3xx.c | 1 + arch/arm/mach-pxa/pxa95x.c | 1 + 6 files changed, 6 insertions(+), 0 deletions(-)
arch/arm/mach-pxa/pxa25x.c +1 -0
@@ -208,6 +208,7 @@ static struct clk_lookup pxa25x_clkregs[] = {INIT_CLKREG (&clk_pxa25x_gpio11,NULL ,"GPIO11_CLK" ),INIT_CLKREG (&clk_pxa25x_gpio12,NULL ,"GPIO12_CLK" ),INIT_CLKREG (&clk_pxa25x_mem,"pxa2xx-pcmcia" ,NULL ), + INIT_CLKREG(&clk_dummy, "sa1100-rtc", NULL), }; static struct clk_lookup pxa25x_hwuart_clkreg =
arch/arm/mach-pxa/pxa27x.c +1 -0
@@ -229,6 +229,7 @@ static struct clk_lookup pxa27x_clkregs[] = {INIT_CLKREG (&clk_pxa27x_im,NULL ,"IMCLK" ),INIT_CLKREG (&clk_pxa27x_memc,NULL ,"MEMCLK" ),INIT_CLKREG (&clk_pxa27x_mem,"pxa2xx-pcmcia" ,NULL ), + INIT_CLKREG(&clk_dummy, "sa1100-rtc", NULL), };#ifdef CONFIG_PM
arch/arm/mach-pxa/pxa300.c +1 -0
@@ -89,6 +89,7 @@ static DEFINE_PXA3_CKEN(gcu, PXA300_GCU, 0, 0);static struct clk_lookup common_clkregs[] = {INIT_CLKREG (&clk_common_nand,"pxa3xx-nand" ,NULL ),INIT_CLKREG (&clk_gcu,"pxa3xx-gcu" ,NULL ), +INIT_CLKREG (&clk_dummy,"sa1100-rtc" ,NULL ), }; static DEFINE_PXA3_CKEN(pxa310_mmc3, MMC3, 19500000, 0);
arch/arm/mach-pxa/pxa320.c +1 -0
@@ -83,6 +83,7 @@ static DEFINE_PXA3_CKEN(gcu, PXA320_GCU, 0, 0);static struct clk_lookup pxa320_clkregs[] = {INIT_CLKREG (&clk_pxa320_nand,"pxa3xx-nand" ,NULL ),INIT_CLKREG (&clk_gcu,"pxa3xx-gcu" ,NULL ), +INIT_CLKREG (&clk_dummy,"sa1100-rtc" ,NULL ), };static int __init pxa320_init (void )
arch/arm/mach-pxa/pxa3xx.c +1 -0
@@ -67,6 +67,7 @@ static struct clk_lookup pxa3xx_clkregs[] = {INIT_CLKREG (&clk_pxa3xx_pout,NULL ,"CLK_POUT" ),/* Power I2C clock is always on */ INIT_CLKREG (&clk_dummy,"pxa3xx-pwri2c.1" ,NULL ), +INIT_CLKREG (&clk_dummy,"sa1100-rtc" ,NULL ),INIT_CLKREG (&clk_pxa3xx_lcd,"pxa2xx-fb" ,NULL ),INIT_CLKREG (&clk_pxa3xx_camera,NULL ,"CAMCLK" ), INIT_CLKREG(&clk_pxa3xx_ac97, NULL, "AC97CLK"),
arch/arm/mach-pxa/pxa95x.c +1 -0
@@ -217,6 +217,7 @@ static struct clk_lookup pxa95x_clkregs[] = {INIT_CLKREG (&clk_pxa95x_pout,NULL ,"CLK_POUT" ),/* Power I2C clock is always on */ INIT_CLKREG (&clk_dummy,"pxa3xx-pwri2c.1" ,NULL ), +INIT_CLKREG (&clk_dummy,"sa1100-rtc" ,NULL ),INIT_CLKREG (&clk_pxa95x_lcd,"pxa2xx-fb" ,NULL ),INIT_CLKREG (&clk_pxa95x_ffuart,"pxa2xx-uart.0" ,NULL ), INIT_CLKREG(&clk_pxa95x_btuart, "pxa2xx-uart.1", NULL),
Signature · 1 line
1.7.0.4
PATCH v3 4/6 ARM: pxa: add dummy clock for sa1100-rtc
Quoted 3 lines · Jett.Zhou
Now sa1100-rtc can support sa1100/pxa/mmp soc series, then we need add dummy clock for sa1100-rtc.
Quoted 1 line
Signed-off-by Jett.Zhou <[email protected]>
Best Regards,
J.