diff options
Diffstat (limited to 'arch/arm/mach-pxa/pxa27x.c')
-rw-r--r-- | arch/arm/mach-pxa/pxa27x.c | 51 |
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 | ||
163 | static const struct clkops clk_pxa27x_lcd_ops = { | 163 | static 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 | ||
169 | static DEFINE_PXA2_CKEN(pxa27x_ffuart, FFUART, 14857000, 1); | ||
170 | static DEFINE_PXA2_CKEN(pxa27x_btuart, BTUART, 14857000, 1); | ||
171 | static DEFINE_PXA2_CKEN(pxa27x_stuart, STUART, 14857000, 1); | ||
172 | static DEFINE_PXA2_CKEN(pxa27x_i2s, I2S, 14682000, 0); | ||
173 | static DEFINE_PXA2_CKEN(pxa27x_i2c, I2C, 32842000, 0); | ||
174 | static DEFINE_PXA2_CKEN(pxa27x_usb, USB, 48000000, 5); | ||
175 | static DEFINE_PXA2_CKEN(pxa27x_mmc, MMC, 19500000, 0); | ||
176 | static DEFINE_PXA2_CKEN(pxa27x_ficp, FICP, 48000000, 0); | ||
177 | static DEFINE_PXA2_CKEN(pxa27x_usbhost, USBHOST, 48000000, 0); | ||
178 | static DEFINE_PXA2_CKEN(pxa27x_pwri2c, PWRI2C, 13000000, 0); | ||
179 | static DEFINE_PXA2_CKEN(pxa27x_keypad, KEYPAD, 32768, 0); | ||
180 | static DEFINE_PXA2_CKEN(pxa27x_ssp1, SSP1, 13000000, 0); | ||
181 | static DEFINE_PXA2_CKEN(pxa27x_ssp2, SSP2, 13000000, 0); | ||
182 | static DEFINE_PXA2_CKEN(pxa27x_ssp3, SSP3, 13000000, 0); | ||
183 | static DEFINE_PXA2_CKEN(pxa27x_pwm0, PWM0, 13000000, 0); | ||
184 | static DEFINE_PXA2_CKEN(pxa27x_pwm1, PWM1, 13000000, 0); | ||
185 | static DEFINE_PXA2_CKEN(pxa27x_ac97, AC97, 24576000, 0); | ||
186 | static DEFINE_PXA2_CKEN(pxa27x_ac97conf, AC97CONF, 24576000, 0); | ||
187 | static DEFINE_PXA2_CKEN(pxa27x_msl, MSL, 48000000, 0); | ||
188 | static DEFINE_PXA2_CKEN(pxa27x_usim, USIM, 48000000, 0); | ||
189 | static DEFINE_PXA2_CKEN(pxa27x_memstk, MEMSTK, 19500000, 0); | ||
190 | static DEFINE_PXA2_CKEN(pxa27x_im, IM, 0, 0); | ||
191 | static DEFINE_PXA2_CKEN(pxa27x_memc, MEMC, 0, 0); | ||
192 | |||
169 | static DEFINE_CK(pxa27x_lcd, LCD, &clk_pxa27x_lcd_ops); | 193 | static DEFINE_CK(pxa27x_lcd, LCD, &clk_pxa27x_lcd_ops); |
170 | static DEFINE_CK(pxa27x_camera, CAMERA, &clk_pxa27x_lcd_ops); | 194 | static DEFINE_CK(pxa27x_camera, CAMERA, &clk_pxa27x_lcd_ops); |
171 | static DEFINE_CKEN(pxa27x_ffuart, FFUART, 14857000, 1); | ||
172 | static DEFINE_CKEN(pxa27x_btuart, BTUART, 14857000, 1); | ||
173 | static DEFINE_CKEN(pxa27x_stuart, STUART, 14857000, 1); | ||
174 | static DEFINE_CKEN(pxa27x_i2s, I2S, 14682000, 0); | ||
175 | static DEFINE_CKEN(pxa27x_i2c, I2C, 32842000, 0); | ||
176 | static DEFINE_CKEN(pxa27x_usb, USB, 48000000, 5); | ||
177 | static DEFINE_CKEN(pxa27x_mmc, MMC, 19500000, 0); | ||
178 | static DEFINE_CKEN(pxa27x_ficp, FICP, 48000000, 0); | ||
179 | static DEFINE_CKEN(pxa27x_usbhost, USBHOST, 48000000, 0); | ||
180 | static DEFINE_CKEN(pxa27x_pwri2c, PWRI2C, 13000000, 0); | ||
181 | static DEFINE_CKEN(pxa27x_keypad, KEYPAD, 32768, 0); | ||
182 | static DEFINE_CKEN(pxa27x_ssp1, SSP1, 13000000, 0); | ||
183 | static DEFINE_CKEN(pxa27x_ssp2, SSP2, 13000000, 0); | ||
184 | static DEFINE_CKEN(pxa27x_ssp3, SSP3, 13000000, 0); | ||
185 | static DEFINE_CKEN(pxa27x_pwm0, PWM0, 13000000, 0); | ||
186 | static DEFINE_CKEN(pxa27x_pwm1, PWM1, 13000000, 0); | ||
187 | static DEFINE_CKEN(pxa27x_ac97, AC97, 24576000, 0); | ||
188 | static DEFINE_CKEN(pxa27x_ac97conf, AC97CONF, 24576000, 0); | ||
189 | static DEFINE_CKEN(pxa27x_msl, MSL, 48000000, 0); | ||
190 | static DEFINE_CKEN(pxa27x_usim, USIM, 48000000, 0); | ||
191 | static DEFINE_CKEN(pxa27x_memstk, MEMSTK, 19500000, 0); | ||
192 | static DEFINE_CKEN(pxa27x_im, IM, 0, 0); | ||
193 | static DEFINE_CKEN(pxa27x_memc, MEMC, 0, 0); | ||
194 | 195 | ||
195 | static struct clk_lookup pxa27x_clkregs[] = { | 196 | static struct clk_lookup pxa27x_clkregs[] = { |
196 | INIT_CLKREG(&clk_pxa27x_lcd, "pxa2xx-fb", NULL), | 197 | INIT_CLKREG(&clk_pxa27x_lcd, "pxa2xx-fb", NULL), |