diff options
Diffstat (limited to 'arch/arm/mach-msm/devices-msm7x00.c')
-rw-r--r-- | arch/arm/mach-msm/devices-msm7x00.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/arch/arm/mach-msm/devices-msm7x00.c b/arch/arm/mach-msm/devices-msm7x00.c index ed62806559e..c4f5e26feb4 100644 --- a/arch/arm/mach-msm/devices-msm7x00.c +++ b/arch/arm/mach-msm/devices-msm7x00.c | |||
@@ -15,6 +15,7 @@ | |||
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 | #include <linux/clkdev.h> | ||
18 | 19 | ||
19 | #include <mach/irqs.h> | 20 | #include <mach/irqs.h> |
20 | #include <mach/msm_iomap.h> | 21 | #include <mach/msm_iomap.h> |
@@ -24,7 +25,6 @@ | |||
24 | #include <linux/mtd/nand.h> | 25 | #include <linux/mtd/nand.h> |
25 | #include <linux/mtd/partitions.h> | 26 | #include <linux/mtd/partitions.h> |
26 | 27 | ||
27 | |||
28 | #include "clock.h" | 28 | #include "clock.h" |
29 | #include "clock-pcom.h" | 29 | #include "clock-pcom.h" |
30 | #include <mach/mmc.h> | 30 | #include <mach/mmc.h> |
@@ -418,7 +418,7 @@ struct platform_device msm_device_mdp = { | |||
418 | .resource = resources_mdp, | 418 | .resource = resources_mdp, |
419 | }; | 419 | }; |
420 | 420 | ||
421 | struct clk msm_clocks_7x01a[] = { | 421 | struct clk_lookup msm_clocks_7x01a[] = { |
422 | CLK_PCOM("adm_clk", ADM_CLK, NULL, 0), | 422 | CLK_PCOM("adm_clk", ADM_CLK, NULL, 0), |
423 | CLK_PCOM("adsp_clk", ADSP_CLK, NULL, 0), | 423 | CLK_PCOM("adsp_clk", ADSP_CLK, NULL, 0), |
424 | CLK_PCOM("ebi1_clk", EBI1_CLK, NULL, 0), | 424 | CLK_PCOM("ebi1_clk", EBI1_CLK, NULL, 0), |
@@ -427,7 +427,7 @@ struct clk msm_clocks_7x01a[] = { | |||
427 | CLK_PCOM("emdh_clk", EMDH_CLK, NULL, OFF), | 427 | CLK_PCOM("emdh_clk", EMDH_CLK, NULL, OFF), |
428 | CLK_PCOM("gp_clk", GP_CLK, NULL, 0), | 428 | CLK_PCOM("gp_clk", GP_CLK, NULL, 0), |
429 | CLK_PCOM("grp_clk", GRP_3D_CLK, NULL, OFF), | 429 | CLK_PCOM("grp_clk", GRP_3D_CLK, NULL, OFF), |
430 | CLK_PCOM("i2c_clk", I2C_CLK, &msm_device_i2c.dev, 0), | 430 | CLK_PCOM("i2c_clk", I2C_CLK, "msm_i2c.0", 0), |
431 | CLK_PCOM("icodec_rx_clk", ICODEC_RX_CLK, NULL, 0), | 431 | CLK_PCOM("icodec_rx_clk", ICODEC_RX_CLK, NULL, 0), |
432 | CLK_PCOM("icodec_tx_clk", ICODEC_TX_CLK, NULL, 0), | 432 | CLK_PCOM("icodec_tx_clk", ICODEC_TX_CLK, NULL, 0), |
433 | CLK_PCOM("imem_clk", IMEM_CLK, NULL, OFF), | 433 | CLK_PCOM("imem_clk", IMEM_CLK, NULL, OFF), |
@@ -437,25 +437,25 @@ struct clk msm_clocks_7x01a[] = { | |||
437 | CLK_PCOM("pcm_clk", PCM_CLK, NULL, 0), | 437 | CLK_PCOM("pcm_clk", PCM_CLK, NULL, 0), |
438 | CLK_PCOM("mddi_clk", PMDH_CLK, NULL, OFF | CLK_MINMAX), | 438 | CLK_PCOM("mddi_clk", PMDH_CLK, NULL, OFF | CLK_MINMAX), |
439 | CLK_PCOM("sdac_clk", SDAC_CLK, NULL, OFF), | 439 | CLK_PCOM("sdac_clk", SDAC_CLK, NULL, OFF), |
440 | CLK_PCOM("sdc_clk", SDC1_CLK, &msm_device_sdc1.dev, OFF), | 440 | CLK_PCOM("sdc_clk", SDC1_CLK, "msm_sdcc.1", OFF), |
441 | CLK_PCOM("sdc_pclk", SDC1_P_CLK, &msm_device_sdc1.dev, OFF), | 441 | CLK_PCOM("sdc_pclk", SDC1_P_CLK, "msm_sdcc.1", OFF), |
442 | CLK_PCOM("sdc_clk", SDC2_CLK, &msm_device_sdc2.dev, OFF), | 442 | CLK_PCOM("sdc_clk", SDC2_CLK, "msm_sdcc.2", OFF), |
443 | CLK_PCOM("sdc_pclk", SDC2_P_CLK, &msm_device_sdc2.dev, OFF), | 443 | CLK_PCOM("sdc_pclk", SDC2_P_CLK, "msm_sdcc.2", OFF), |
444 | CLK_PCOM("sdc_clk", SDC3_CLK, &msm_device_sdc3.dev, OFF), | 444 | CLK_PCOM("sdc_clk", SDC3_CLK, "msm_sdcc.3", OFF), |
445 | CLK_PCOM("sdc_pclk", SDC3_P_CLK, &msm_device_sdc3.dev, OFF), | 445 | CLK_PCOM("sdc_pclk", SDC3_P_CLK, "msm_sdcc.3", OFF), |
446 | CLK_PCOM("sdc_clk", SDC4_CLK, &msm_device_sdc4.dev, OFF), | 446 | CLK_PCOM("sdc_clk", SDC4_CLK, "msm_sdcc.4", OFF), |
447 | CLK_PCOM("sdc_pclk", SDC4_P_CLK, &msm_device_sdc4.dev, OFF), | 447 | CLK_PCOM("sdc_pclk", SDC4_P_CLK, "msm_sdcc.4", OFF), |
448 | CLK_PCOM("tsif_clk", TSIF_CLK, NULL, 0), | 448 | CLK_PCOM("tsif_clk", TSIF_CLK, NULL, 0), |
449 | CLK_PCOM("tsif_ref_clk", TSIF_REF_CLK, NULL, 0), | 449 | CLK_PCOM("tsif_ref_clk", TSIF_REF_CLK, NULL, 0), |
450 | CLK_PCOM("tv_dac_clk", TV_DAC_CLK, NULL, 0), | 450 | CLK_PCOM("tv_dac_clk", TV_DAC_CLK, NULL, 0), |
451 | CLK_PCOM("tv_enc_clk", TV_ENC_CLK, NULL, 0), | 451 | CLK_PCOM("tv_enc_clk", TV_ENC_CLK, NULL, 0), |
452 | CLK_PCOM("uart_clk", UART1_CLK, &msm_device_uart1.dev, OFF), | 452 | CLK_PCOM("uart_clk", UART1_CLK, "msm_serial.0", OFF), |
453 | CLK_PCOM("uart_clk", UART2_CLK, &msm_device_uart2.dev, 0), | 453 | CLK_PCOM("uart_clk", UART2_CLK, "msm_serial.1", 0), |
454 | CLK_PCOM("uart_clk", UART3_CLK, &msm_device_uart3.dev, OFF), | 454 | CLK_PCOM("uart_clk", UART3_CLK, "msm_serial.2", OFF), |
455 | CLK_PCOM("uart1dm_clk", UART1DM_CLK, NULL, OFF), | 455 | CLK_PCOM("uart1dm_clk", UART1DM_CLK, NULL, OFF), |
456 | CLK_PCOM("uart2dm_clk", UART2DM_CLK, NULL, 0), | 456 | CLK_PCOM("uart2dm_clk", UART2DM_CLK, NULL, 0), |
457 | CLK_PCOM("usb_hs_clk", USB_HS_CLK, &msm_device_hsusb.dev, OFF), | 457 | CLK_PCOM("usb_hs_clk", USB_HS_CLK, "msm_hsusb", OFF), |
458 | CLK_PCOM("usb_hs_pclk", USB_HS_P_CLK, &msm_device_hsusb.dev, OFF), | 458 | CLK_PCOM("usb_hs_pclk", USB_HS_P_CLK, "msm_hsusb", OFF), |
459 | CLK_PCOM("usb_otg_clk", USB_OTG_CLK, NULL, 0), | 459 | CLK_PCOM("usb_otg_clk", USB_OTG_CLK, NULL, 0), |
460 | CLK_PCOM("vdc_clk", VDC_CLK, NULL, OFF ), | 460 | CLK_PCOM("vdc_clk", VDC_CLK, NULL, OFF ), |
461 | CLK_PCOM("vfe_clk", VFE_CLK, NULL, OFF), | 461 | CLK_PCOM("vfe_clk", VFE_CLK, NULL, OFF), |