diff options
author | wanzongshun <mcuos.com@gmail.com> | 2009-07-14 10:10:43 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-07-17 08:38:17 -0400 |
commit | db58e90fdbe9d12b431ae8d8e856961ce75d74f0 (patch) | |
tree | 3367a0abc6e955ecb16cbc8f33873a015b70230c /arch/arm/mach-w90x900/w90p910.c | |
parent | d2c241955095b129459985a8c02d85b70984b945 (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.c | 6 |
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 = { | |||
57 | static DEFINE_CLK(lcd, 0); | 57 | static DEFINE_CLK(lcd, 0); |
58 | static DEFINE_CLK(audio, 1); | 58 | static DEFINE_CLK(audio, 1); |
59 | static DEFINE_CLK(fmi, 4); | 59 | static DEFINE_CLK(fmi, 4); |
60 | static DEFINE_SUBCLK(ms, 0); | ||
61 | static DEFINE_SUBCLK(sd, 1); | ||
60 | static DEFINE_CLK(dmac, 5); | 62 | static DEFINE_CLK(dmac, 5); |
61 | static DEFINE_CLK(atapi, 6); | 63 | static DEFINE_CLK(atapi, 6); |
62 | static DEFINE_CLK(emc, 7); | 64 | static DEFINE_CLK(emc, 7); |
65 | static DEFINE_SUBCLK(rmii, 2); | ||
63 | static DEFINE_CLK(usbd, 8); | 66 | static DEFINE_CLK(usbd, 8); |
64 | static DEFINE_CLK(usbh, 9); | 67 | static DEFINE_CLK(usbh, 9); |
65 | static DEFINE_CLK(g2d, 10);; | 68 | static 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), |