aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/pxa27x.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-pxa/pxa27x.c')
-rw-r--r--arch/arm/mach-pxa/pxa27x.c51
1 files changed, 26 insertions, 25 deletions
diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c
index 839548d94185..13242f2a3392 100644
--- a/arch/arm/mach-pxa/pxa27x.c
+++ b/arch/arm/mach-pxa/pxa27x.c
@@ -161,36 +161,37 @@ static unsigned long clk_pxa27x_lcd_getrate(struct clk *clk)
161} 161}
162 162
163static const struct clkops clk_pxa27x_lcd_ops = { 163static const struct clkops clk_pxa27x_lcd_ops = {
164 .enable = clk_cken_enable, 164 .enable = clk_pxa2xx_cken_enable,
165 .disable = clk_cken_disable, 165 .disable = clk_pxa2xx_cken_disable,
166 .getrate = clk_pxa27x_lcd_getrate, 166 .getrate = clk_pxa27x_lcd_getrate,
167}; 167};
168 168
169static DEFINE_PXA2_CKEN(pxa27x_ffuart, FFUART, 14857000, 1);
170static DEFINE_PXA2_CKEN(pxa27x_btuart, BTUART, 14857000, 1);
171static DEFINE_PXA2_CKEN(pxa27x_stuart, STUART, 14857000, 1);
172static DEFINE_PXA2_CKEN(pxa27x_i2s, I2S, 14682000, 0);
173static DEFINE_PXA2_CKEN(pxa27x_i2c, I2C, 32842000, 0);
174static DEFINE_PXA2_CKEN(pxa27x_usb, USB, 48000000, 5);
175static DEFINE_PXA2_CKEN(pxa27x_mmc, MMC, 19500000, 0);
176static DEFINE_PXA2_CKEN(pxa27x_ficp, FICP, 48000000, 0);
177static DEFINE_PXA2_CKEN(pxa27x_usbhost, USBHOST, 48000000, 0);
178static DEFINE_PXA2_CKEN(pxa27x_pwri2c, PWRI2C, 13000000, 0);
179static DEFINE_PXA2_CKEN(pxa27x_keypad, KEYPAD, 32768, 0);
180static DEFINE_PXA2_CKEN(pxa27x_ssp1, SSP1, 13000000, 0);
181static DEFINE_PXA2_CKEN(pxa27x_ssp2, SSP2, 13000000, 0);
182static DEFINE_PXA2_CKEN(pxa27x_ssp3, SSP3, 13000000, 0);
183static DEFINE_PXA2_CKEN(pxa27x_pwm0, PWM0, 13000000, 0);
184static DEFINE_PXA2_CKEN(pxa27x_pwm1, PWM1, 13000000, 0);
185static DEFINE_PXA2_CKEN(pxa27x_ac97, AC97, 24576000, 0);
186static DEFINE_PXA2_CKEN(pxa27x_ac97conf, AC97CONF, 24576000, 0);
187static DEFINE_PXA2_CKEN(pxa27x_msl, MSL, 48000000, 0);
188static DEFINE_PXA2_CKEN(pxa27x_usim, USIM, 48000000, 0);
189static DEFINE_PXA2_CKEN(pxa27x_memstk, MEMSTK, 19500000, 0);
190static DEFINE_PXA2_CKEN(pxa27x_im, IM, 0, 0);
191static DEFINE_PXA2_CKEN(pxa27x_memc, MEMC, 0, 0);
192
169static DEFINE_CK(pxa27x_lcd, LCD, &clk_pxa27x_lcd_ops); 193static DEFINE_CK(pxa27x_lcd, LCD, &clk_pxa27x_lcd_ops);
170static DEFINE_CK(pxa27x_camera, CAMERA, &clk_pxa27x_lcd_ops); 194static DEFINE_CK(pxa27x_camera, CAMERA, &clk_pxa27x_lcd_ops);
171static DEFINE_CKEN(pxa27x_ffuart, FFUART, 14857000, 1);
172static DEFINE_CKEN(pxa27x_btuart, BTUART, 14857000, 1);
173static DEFINE_CKEN(pxa27x_stuart, STUART, 14857000, 1);
174static DEFINE_CKEN(pxa27x_i2s, I2S, 14682000, 0);
175static DEFINE_CKEN(pxa27x_i2c, I2C, 32842000, 0);
176static DEFINE_CKEN(pxa27x_usb, USB, 48000000, 5);
177static DEFINE_CKEN(pxa27x_mmc, MMC, 19500000, 0);
178static DEFINE_CKEN(pxa27x_ficp, FICP, 48000000, 0);
179static DEFINE_CKEN(pxa27x_usbhost, USBHOST, 48000000, 0);
180static DEFINE_CKEN(pxa27x_pwri2c, PWRI2C, 13000000, 0);
181static DEFINE_CKEN(pxa27x_keypad, KEYPAD, 32768, 0);
182static DEFINE_CKEN(pxa27x_ssp1, SSP1, 13000000, 0);
183static DEFINE_CKEN(pxa27x_ssp2, SSP2, 13000000, 0);
184static DEFINE_CKEN(pxa27x_ssp3, SSP3, 13000000, 0);
185static DEFINE_CKEN(pxa27x_pwm0, PWM0, 13000000, 0);
186static DEFINE_CKEN(pxa27x_pwm1, PWM1, 13000000, 0);
187static DEFINE_CKEN(pxa27x_ac97, AC97, 24576000, 0);
188static DEFINE_CKEN(pxa27x_ac97conf, AC97CONF, 24576000, 0);
189static DEFINE_CKEN(pxa27x_msl, MSL, 48000000, 0);
190static DEFINE_CKEN(pxa27x_usim, USIM, 48000000, 0);
191static DEFINE_CKEN(pxa27x_memstk, MEMSTK, 19500000, 0);
192static DEFINE_CKEN(pxa27x_im, IM, 0, 0);
193static DEFINE_CKEN(pxa27x_memc, MEMC, 0, 0);
194 195
195static struct clk_lookup pxa27x_clkregs[] = { 196static struct clk_lookup pxa27x_clkregs[] = {
196 INIT_CLKREG(&clk_pxa27x_lcd, "pxa2xx-fb", NULL), 197 INIT_CLKREG(&clk_pxa27x_lcd, "pxa2xx-fb", NULL),