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/pxa27x.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/pxa27x.c')
-rw-r--r-- | arch/arm/mach-pxa/pxa27x.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c index e7151dba6682..12dd2b0629bf 100644 --- a/arch/arm/mach-pxa/pxa27x.c +++ b/arch/arm/mach-pxa/pxa27x.c | |||
@@ -150,11 +150,12 @@ static struct clk pxa27x_clks[] = { | |||
150 | INIT_CKEN("I2CCLK", PWRI2C, 13000000, 0, &pxa27x_device_i2c_power.dev), | 150 | INIT_CKEN("I2CCLK", PWRI2C, 13000000, 0, &pxa27x_device_i2c_power.dev), |
151 | INIT_CKEN("KBDCLK", KEYPAD, 32768, 0, NULL), | 151 | INIT_CKEN("KBDCLK", KEYPAD, 32768, 0, NULL), |
152 | 152 | ||
153 | INIT_CKEN("SSPCLK", SSP1, 13000000, 0, &pxa27x_device_ssp1.dev), | ||
154 | INIT_CKEN("SSPCLK", SSP2, 13000000, 0, &pxa27x_device_ssp2.dev), | ||
155 | INIT_CKEN("SSPCLK", SSP3, 13000000, 0, &pxa27x_device_ssp3.dev), | ||
156 | |||
153 | /* | 157 | /* |
154 | INIT_CKEN("PWMCLK", PWM0, 13000000, 0, NULL), | 158 | INIT_CKEN("PWMCLK", PWM0, 13000000, 0, NULL), |
155 | INIT_CKEN("SSPCLK", SSP1, 13000000, 0, NULL), | ||
156 | INIT_CKEN("SSPCLK", SSP2, 13000000, 0, NULL), | ||
157 | INIT_CKEN("SSPCLK", SSP3, 13000000, 0, NULL), | ||
158 | INIT_CKEN("MSLCLK", MSL, 48000000, 0, NULL), | 159 | INIT_CKEN("MSLCLK", MSL, 48000000, 0, NULL), |
159 | INIT_CKEN("USIMCLK", USIM, 48000000, 0, NULL), | 160 | INIT_CKEN("USIMCLK", USIM, 48000000, 0, NULL), |
160 | INIT_CKEN("MSTKCLK", MEMSTK, 19500000, 0, NULL), | 161 | INIT_CKEN("MSTKCLK", MEMSTK, 19500000, 0, NULL), |
@@ -431,6 +432,9 @@ static struct platform_device *devices[] __initdata = { | |||
431 | &pxa_device_i2s, | 432 | &pxa_device_i2s, |
432 | &pxa_device_rtc, | 433 | &pxa_device_rtc, |
433 | &pxa27x_device_i2c_power, | 434 | &pxa27x_device_i2c_power, |
435 | &pxa27x_device_ssp1, | ||
436 | &pxa27x_device_ssp2, | ||
437 | &pxa27x_device_ssp3, | ||
434 | }; | 438 | }; |
435 | 439 | ||
436 | static int __init pxa27x_init(void) | 440 | static int __init pxa27x_init(void) |