aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-w90x900/w90p910.c
diff options
context:
space:
mode:
authorwanzongshun <mcuos.com@gmail.com>2009-07-14 10:10:43 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-07-17 08:38:17 -0400
commitdb58e90fdbe9d12b431ae8d8e856961ce75d74f0 (patch)
tree3367a0abc6e955ecb16cbc8f33873a015b70230c /arch/arm/mach-w90x900/w90p910.c
parentd2c241955095b129459985a8c02d85b70984b945 (diff)
[ARM] 5602/1: Add sub clock api for w90p910 platform
Add sub clock api for w90p910 platform. Signed-off-by: Wan ZongShun <mcuos.com@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-w90x900/w90p910.c')
-rw-r--r--arch/arm/mach-w90x900/w90p910.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-w90x900/w90p910.c b/arch/arm/mach-w90x900/w90p910.c
index 1c97e4930b7a..1bde69eac3df 100644
--- a/arch/arm/mach-w90x900/w90p910.c
+++ b/arch/arm/mach-w90x900/w90p910.c
@@ -57,9 +57,12 @@ static struct map_desc w90p910_iodesc[] __initdata = {
57static DEFINE_CLK(lcd, 0); 57static DEFINE_CLK(lcd, 0);
58static DEFINE_CLK(audio, 1); 58static DEFINE_CLK(audio, 1);
59static DEFINE_CLK(fmi, 4); 59static DEFINE_CLK(fmi, 4);
60static DEFINE_SUBCLK(ms, 0);
61static DEFINE_SUBCLK(sd, 1);
60static DEFINE_CLK(dmac, 5); 62static DEFINE_CLK(dmac, 5);
61static DEFINE_CLK(atapi, 6); 63static DEFINE_CLK(atapi, 6);
62static DEFINE_CLK(emc, 7); 64static DEFINE_CLK(emc, 7);
65static DEFINE_SUBCLK(rmii, 2);
63static DEFINE_CLK(usbd, 8); 66static DEFINE_CLK(usbd, 8);
64static DEFINE_CLK(usbh, 9); 67static DEFINE_CLK(usbh, 9);
65static DEFINE_CLK(g2d, 10);; 68static DEFINE_CLK(g2d, 10);;
@@ -75,9 +78,12 @@ static struct clk_lookup w90p910_clkregs[] = {
75 DEF_CLKLOOK(&clk_lcd, "w90p910-lcd", NULL), 78 DEF_CLKLOOK(&clk_lcd, "w90p910-lcd", NULL),
76 DEF_CLKLOOK(&clk_audio, "w90p910-audio", NULL), 79 DEF_CLKLOOK(&clk_audio, "w90p910-audio", NULL),
77 DEF_CLKLOOK(&clk_fmi, "w90p910-fmi", NULL), 80 DEF_CLKLOOK(&clk_fmi, "w90p910-fmi", NULL),
81 DEF_CLKLOOK(&clk_ms, "w90p910-fmi", "MS"),
82 DEF_CLKLOOK(&clk_sd, "w90p910-fmi", "SD"),
78 DEF_CLKLOOK(&clk_dmac, "w90p910-dmac", NULL), 83 DEF_CLKLOOK(&clk_dmac, "w90p910-dmac", NULL),
79 DEF_CLKLOOK(&clk_atapi, "w90p910-atapi", NULL), 84 DEF_CLKLOOK(&clk_atapi, "w90p910-atapi", NULL),
80 DEF_CLKLOOK(&clk_emc, "w90p910-emc", NULL), 85 DEF_CLKLOOK(&clk_emc, "w90p910-emc", NULL),
86 DEF_CLKLOOK(&clk_rmii, "w90p910-emc", "RMII"),
81 DEF_CLKLOOK(&clk_usbd, "w90p910-usbd", NULL), 87 DEF_CLKLOOK(&clk_usbd, "w90p910-usbd", NULL),
82 DEF_CLKLOOK(&clk_usbh, "w90p910-usbh", NULL), 88 DEF_CLKLOOK(&clk_usbh, "w90p910-usbh", NULL),
83 DEF_CLKLOOK(&clk_g2d, "w90p910-g2d", NULL), 89 DEF_CLKLOOK(&clk_g2d, "w90p910-g2d", NULL),