diff options
author | Juha Kuikka <juha.kuikka@elektrobit.com> | 2010-08-26 15:40:46 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-09-24 10:40:26 -0400 |
commit | 051a6687336d3310abc85991db7a8917ecc603fc (patch) | |
tree | 5585f1db4e28f5aefe8648f94a0c1dcc4b81ec33 /arch/arm/mach-davinci/da850.c | |
parent | d2b8622c9122841db9c0a09a02d92823d924a1a5 (diff) |
DA850: Split MMCSD clock into two to support both MMCSD peripherals
Split mmcsd_clk into mmcsd0_clk and mmcsd1_clk and add davinci_mmc.1
in preparation for adding support for MMCSD1 peripheral in DA850.
Signed-off-by: Juha Kuikka <juha.kuikka@elektrobit.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/da850.c')
-rw-r--r-- | arch/arm/mach-davinci/da850.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c index c2a3ce55b6c5..63916b902760 100644 --- a/arch/arm/mach-davinci/da850.c +++ b/arch/arm/mach-davinci/da850.c | |||
@@ -325,12 +325,19 @@ static struct clk lcdc_clk = { | |||
325 | .gpsc = 1, | 325 | .gpsc = 1, |
326 | }; | 326 | }; |
327 | 327 | ||
328 | static struct clk mmcsd_clk = { | 328 | static struct clk mmcsd0_clk = { |
329 | .name = "mmcsd", | 329 | .name = "mmcsd0", |
330 | .parent = &pll0_sysclk2, | 330 | .parent = &pll0_sysclk2, |
331 | .lpsc = DA8XX_LPSC0_MMC_SD, | 331 | .lpsc = DA8XX_LPSC0_MMC_SD, |
332 | }; | 332 | }; |
333 | 333 | ||
334 | static struct clk mmcsd1_clk = { | ||
335 | .name = "mmcsd1", | ||
336 | .parent = &pll0_sysclk2, | ||
337 | .lpsc = DA850_LPSC1_MMC_SD1, | ||
338 | .gpsc = 1, | ||
339 | }; | ||
340 | |||
334 | static struct clk aemif_clk = { | 341 | static struct clk aemif_clk = { |
335 | .name = "aemif", | 342 | .name = "aemif", |
336 | .parent = &pll0_sysclk3, | 343 | .parent = &pll0_sysclk3, |
@@ -377,7 +384,8 @@ static struct clk_lookup da850_clks[] = { | |||
377 | CLK("davinci_emac.1", NULL, &emac_clk), | 384 | CLK("davinci_emac.1", NULL, &emac_clk), |
378 | CLK("davinci-mcasp.0", NULL, &mcasp_clk), | 385 | CLK("davinci-mcasp.0", NULL, &mcasp_clk), |
379 | CLK("da8xx_lcdc.0", NULL, &lcdc_clk), | 386 | CLK("da8xx_lcdc.0", NULL, &lcdc_clk), |
380 | CLK("davinci_mmc.0", NULL, &mmcsd_clk), | 387 | CLK("davinci_mmc.0", NULL, &mmcsd0_clk), |
388 | CLK("davinci_mmc.1", NULL, &mmcsd1_clk), | ||
381 | CLK(NULL, "aemif", &aemif_clk), | 389 | CLK(NULL, "aemif", &aemif_clk), |
382 | CLK(NULL, NULL, NULL), | 390 | CLK(NULL, NULL, NULL), |
383 | }; | 391 | }; |