diff options
Diffstat (limited to 'arch/arm/mach-msm/devices-qsd8x50.c')
-rw-r--r-- | arch/arm/mach-msm/devices-qsd8x50.c | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/arch/arm/mach-msm/devices-qsd8x50.c b/arch/arm/mach-msm/devices-qsd8x50.c index bd545f9e8c2..12d8deb78d9 100644 --- a/arch/arm/mach-msm/devices-qsd8x50.c +++ b/arch/arm/mach-msm/devices-qsd8x50.c | |||
@@ -15,8 +15,9 @@ | |||
15 | 15 | ||
16 | #include <linux/kernel.h> | 16 | #include <linux/kernel.h> |
17 | #include <linux/platform_device.h> | 17 | #include <linux/platform_device.h> |
18 | 18 | #include <linux/clkdev.h> | |
19 | #include <linux/dma-mapping.h> | 19 | #include <linux/dma-mapping.h> |
20 | |||
20 | #include <mach/irqs.h> | 21 | #include <mach/irqs.h> |
21 | #include <mach/msm_iomap.h> | 22 | #include <mach/msm_iomap.h> |
22 | #include <mach/dma.h> | 23 | #include <mach/dma.h> |
@@ -314,7 +315,7 @@ int __init msm_add_sdcc(unsigned int controller, | |||
314 | return platform_device_register(pdev); | 315 | return platform_device_register(pdev); |
315 | } | 316 | } |
316 | 317 | ||
317 | struct clk msm_clocks_8x50[] = { | 318 | struct clk_lookup msm_clocks_8x50[] = { |
318 | CLK_PCOM("adm_clk", ADM_CLK, NULL, 0), | 319 | CLK_PCOM("adm_clk", ADM_CLK, NULL, 0), |
319 | CLK_PCOM("ce_clk", CE_CLK, NULL, 0), | 320 | CLK_PCOM("ce_clk", CE_CLK, NULL, 0), |
320 | CLK_PCOM("ebi1_clk", EBI1_CLK, NULL, CLK_MIN), | 321 | CLK_PCOM("ebi1_clk", EBI1_CLK, NULL, CLK_MIN), |
@@ -336,14 +337,14 @@ struct clk msm_clocks_8x50[] = { | |||
336 | CLK_PCOM("pbus_clk", PBUS_CLK, NULL, CLK_MIN), | 337 | CLK_PCOM("pbus_clk", PBUS_CLK, NULL, CLK_MIN), |
337 | CLK_PCOM("pcm_clk", PCM_CLK, NULL, 0), | 338 | CLK_PCOM("pcm_clk", PCM_CLK, NULL, 0), |
338 | CLK_PCOM("sdac_clk", SDAC_CLK, NULL, OFF), | 339 | CLK_PCOM("sdac_clk", SDAC_CLK, NULL, OFF), |
339 | CLK_PCOM("sdc_clk", SDC1_CLK, &msm_device_sdc1.dev, OFF), | 340 | CLK_PCOM("sdc_clk", SDC1_CLK, "msm_sdcc.1", OFF), |
340 | CLK_PCOM("sdc_pclk", SDC1_P_CLK, &msm_device_sdc1.dev, OFF), | 341 | CLK_PCOM("sdc_pclk", SDC1_P_CLK, "msm_sdcc.1", OFF), |
341 | CLK_PCOM("sdc_clk", SDC2_CLK, &msm_device_sdc2.dev, OFF), | 342 | CLK_PCOM("sdc_clk", SDC2_CLK, "msm_sdcc.2", OFF), |
342 | CLK_PCOM("sdc_pclk", SDC2_P_CLK, &msm_device_sdc2.dev, OFF), | 343 | CLK_PCOM("sdc_pclk", SDC2_P_CLK, "msm_sdcc.2", OFF), |
343 | CLK_PCOM("sdc_clk", SDC3_CLK, &msm_device_sdc3.dev, OFF), | 344 | CLK_PCOM("sdc_clk", SDC3_CLK, "msm_sdcc.3", OFF), |
344 | CLK_PCOM("sdc_pclk", SDC3_P_CLK, &msm_device_sdc3.dev, OFF), | 345 | CLK_PCOM("sdc_pclk", SDC3_P_CLK, "msm_sdcc.3", OFF), |
345 | CLK_PCOM("sdc_clk", SDC4_CLK, &msm_device_sdc4.dev, OFF), | 346 | CLK_PCOM("sdc_clk", SDC4_CLK, "msm_sdcc.4", OFF), |
346 | CLK_PCOM("sdc_pclk", SDC4_P_CLK, &msm_device_sdc4.dev, OFF), | 347 | CLK_PCOM("sdc_pclk", SDC4_P_CLK, "msm_sdcc.4", OFF), |
347 | CLK_PCOM("spi_clk", SPI_CLK, NULL, 0), | 348 | CLK_PCOM("spi_clk", SPI_CLK, NULL, 0), |
348 | CLK_PCOM("tsif_clk", TSIF_CLK, NULL, 0), | 349 | CLK_PCOM("tsif_clk", TSIF_CLK, NULL, 0), |
349 | CLK_PCOM("tsif_ref_clk", TSIF_REF_CLK, NULL, 0), | 350 | CLK_PCOM("tsif_ref_clk", TSIF_REF_CLK, NULL, 0), |
@@ -351,7 +352,7 @@ struct clk msm_clocks_8x50[] = { | |||
351 | CLK_PCOM("tv_enc_clk", TV_ENC_CLK, NULL, 0), | 352 | CLK_PCOM("tv_enc_clk", TV_ENC_CLK, NULL, 0), |
352 | CLK_PCOM("uart_clk", UART1_CLK, NULL, OFF), | 353 | CLK_PCOM("uart_clk", UART1_CLK, NULL, OFF), |
353 | CLK_PCOM("uart_clk", UART2_CLK, NULL, 0), | 354 | CLK_PCOM("uart_clk", UART2_CLK, NULL, 0), |
354 | CLK_PCOM("uart_clk", UART3_CLK, &msm_device_uart3.dev, OFF), | 355 | CLK_PCOM("uart_clk", UART3_CLK, "msm_serial.2", OFF), |
355 | CLK_PCOM("uartdm_clk", UART1DM_CLK, NULL, OFF), | 356 | CLK_PCOM("uartdm_clk", UART1DM_CLK, NULL, OFF), |
356 | CLK_PCOM("uartdm_clk", UART2DM_CLK, NULL, 0), | 357 | CLK_PCOM("uartdm_clk", UART2DM_CLK, NULL, 0), |
357 | CLK_PCOM("usb_hs_clk", USB_HS_CLK, NULL, OFF), | 358 | CLK_PCOM("usb_hs_clk", USB_HS_CLK, NULL, OFF), |