diff options
Diffstat (limited to 'arch/arm/mach-shmobile/board-ap4evb.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-ap4evb.c | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c index 1e35fa976d64..08acb6ec8139 100644 --- a/arch/arm/mach-shmobile/board-ap4evb.c +++ b/arch/arm/mach-shmobile/board-ap4evb.c | |||
@@ -316,8 +316,16 @@ static struct resource sdhi0_resources[] = { | |||
316 | .flags = IORESOURCE_MEM, | 316 | .flags = IORESOURCE_MEM, |
317 | }, | 317 | }, |
318 | [1] = { | 318 | [1] = { |
319 | .start = evt2irq(0x0e00) /* SDHI0 */, | 319 | .start = evt2irq(0x0e00) /* SDHI0_SDHI0I0 */, |
320 | .flags = IORESOURCE_IRQ, | 320 | .flags = IORESOURCE_IRQ, |
321 | }, | ||
322 | [2] = { | ||
323 | .start = evt2irq(0x0e20) /* SDHI0_SDHI0I1 */, | ||
324 | .flags = IORESOURCE_IRQ, | ||
325 | }, | ||
326 | [3] = { | ||
327 | .start = evt2irq(0x0e40) /* SDHI0_SDHI0I2 */, | ||
328 | .flags = IORESOURCE_IRQ, | ||
321 | }, | 329 | }, |
322 | }; | 330 | }; |
323 | 331 | ||
@@ -349,8 +357,16 @@ static struct resource sdhi1_resources[] = { | |||
349 | .flags = IORESOURCE_MEM, | 357 | .flags = IORESOURCE_MEM, |
350 | }, | 358 | }, |
351 | [1] = { | 359 | [1] = { |
352 | .start = evt2irq(0x0e80), | 360 | .start = evt2irq(0x0e80), /* SDHI1_SDHI1I0 */ |
353 | .flags = IORESOURCE_IRQ, | 361 | .flags = IORESOURCE_IRQ, |
362 | }, | ||
363 | [2] = { | ||
364 | .start = evt2irq(0x0ea0), /* SDHI1_SDHI1I1 */ | ||
365 | .flags = IORESOURCE_IRQ, | ||
366 | }, | ||
367 | [3] = { | ||
368 | .start = evt2irq(0x0ec0), /* SDHI1_SDHI1I2 */ | ||
369 | .flags = IORESOURCE_IRQ, | ||
354 | }, | 370 | }, |
355 | }; | 371 | }; |
356 | 372 | ||
@@ -980,11 +996,6 @@ static void __init hdmi_init_pm_clock(void) | |||
980 | goto out; | 996 | goto out; |
981 | } | 997 | } |
982 | 998 | ||
983 | ret = clk_enable(&sh7372_pllc2_clk); | ||
984 | if (ret < 0) { | ||
985 | pr_err("Cannot enable pllc2 clock\n"); | ||
986 | goto out; | ||
987 | } | ||
988 | pr_debug("PLLC2 set frequency %lu\n", rate); | 999 | pr_debug("PLLC2 set frequency %lu\n", rate); |
989 | 1000 | ||
990 | ret = clk_set_parent(hdmi_ick, &sh7372_pllc2_clk); | 1001 | ret = clk_set_parent(hdmi_ick, &sh7372_pllc2_clk); |
@@ -1343,6 +1354,7 @@ static void __init ap4evb_init(void) | |||
1343 | 1354 | ||
1344 | hdmi_init_pm_clock(); | 1355 | hdmi_init_pm_clock(); |
1345 | fsi_init_pm_clock(); | 1356 | fsi_init_pm_clock(); |
1357 | sh7372_pm_init(); | ||
1346 | } | 1358 | } |
1347 | 1359 | ||
1348 | static void __init ap4evb_timer_init(void) | 1360 | static void __init ap4evb_timer_init(void) |