diff options
author | eric miao <eric.miao@marvell.com> | 2007-12-10 04:54:36 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-01-26 10:07:51 -0500 |
commit | d8e0db1111b51558456466f66c9115d71b68e8b9 (patch) | |
tree | 0e02d2e72bcf1c0b5d9975b7cfdadcc4586339a9 /arch/arm/mach-pxa/pxa25x.c | |
parent | d2b82dded8c45daeaad332459222034a3fabd227 (diff) |
[ARM] pxa: add ssp devices and clk support for pxa25x/pxa27x/pxa3xx
Signed-off-by: eric miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/pxa25x.c')
-rw-r--r-- | arch/arm/mach-pxa/pxa25x.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/pxa25x.c b/arch/arm/mach-pxa/pxa25x.c index d9ee0d9b36df..c6ea0ed69270 100644 --- a/arch/arm/mach-pxa/pxa25x.c +++ b/arch/arm/mach-pxa/pxa25x.c | |||
@@ -120,12 +120,15 @@ static struct clk pxa25x_clks[] = { | |||
120 | INIT_CKEN("UDCCLK", USB, 47923000, 5, &pxa_device_udc.dev), | 120 | INIT_CKEN("UDCCLK", USB, 47923000, 5, &pxa_device_udc.dev), |
121 | INIT_CKEN("MMCCLK", MMC, 19169000, 0, &pxa_device_mci.dev), | 121 | INIT_CKEN("MMCCLK", MMC, 19169000, 0, &pxa_device_mci.dev), |
122 | INIT_CKEN("I2CCLK", I2C, 31949000, 0, &pxa_device_i2c.dev), | 122 | INIT_CKEN("I2CCLK", I2C, 31949000, 0, &pxa_device_i2c.dev), |
123 | |||
124 | INIT_CKEN("SSPCLK", SSP, 3686400, 0, &pxa25x_device_ssp.dev), | ||
125 | INIT_CKEN("SSPCLK", NSSP, 3686400, 0, &pxa25x_device_nssp.dev), | ||
126 | INIT_CKEN("SSPCLK", ASSP, 3686400, 0, &pxa25x_device_assp.dev), | ||
127 | |||
123 | /* | 128 | /* |
124 | INIT_CKEN("PWMCLK", PWM0, 3686400, 0, NULL), | 129 | INIT_CKEN("PWMCLK", PWM0, 3686400, 0, NULL), |
125 | INIT_CKEN("PWMCLK", PWM0, 3686400, 0, NULL), | 130 | INIT_CKEN("PWMCLK", PWM0, 3686400, 0, NULL), |
126 | INIT_CKEN("SSPCLK", SSP, 3686400, 0, NULL), | ||
127 | INIT_CKEN("I2SCLK", I2S, 14745600, 0, NULL), | 131 | INIT_CKEN("I2SCLK", I2S, 14745600, 0, NULL), |
128 | INIT_CKEN("NSSPCLK", NSSP, 3686400, 0, NULL), | ||
129 | */ | 132 | */ |
130 | INIT_CKEN("FICPCLK", FICP, 47923000, 0, NULL), | 133 | INIT_CKEN("FICPCLK", FICP, 47923000, 0, NULL), |
131 | }; | 134 | }; |
@@ -293,6 +296,9 @@ static struct platform_device *pxa25x_devices[] __initdata = { | |||
293 | &pxa_device_stuart, | 296 | &pxa_device_stuart, |
294 | &pxa_device_i2s, | 297 | &pxa_device_i2s, |
295 | &pxa_device_rtc, | 298 | &pxa_device_rtc, |
299 | &pxa25x_device_ssp, | ||
300 | &pxa25x_device_nssp, | ||
301 | &pxa25x_device_assp, | ||
296 | }; | 302 | }; |
297 | 303 | ||
298 | static int __init pxa25x_init(void) | 304 | static int __init pxa25x_init(void) |