aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2011-05-05 12:26:06 -0400
committerPaul Mundt <lethal@linux-sh.org>2011-05-23 23:21:54 -0400
commita63666c146f85a5ddcc3b2443d7c5888490e66b2 (patch)
treed2b36fa0b4d8db659792fcb1423a748432e88598 /arch
parentfe78e68ab8508550403238a489d6ba62b8079a50 (diff)
ARM: mach-shmobile: PLL does not have to run constantly for HDMI
The PLLC2 clock on AP4 systems does not need to run constantly to be able to use HDMI. The HDMI hotplug interrupt works without the PLL too, after which all the necessary clocks will be turned on by the runtime PM. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-shmobile/board-ap4evb.c5
-rw-r--r--arch/arm/mach-shmobile/board-mackerel.c6
2 files changed, 0 insertions, 11 deletions
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c
index 1e35fa976d64..74768d6c245b 100644
--- a/arch/arm/mach-shmobile/board-ap4evb.c
+++ b/arch/arm/mach-shmobile/board-ap4evb.c
@@ -980,11 +980,6 @@ static void __init hdmi_init_pm_clock(void)
980 goto out; 980 goto out;
981 } 981 }
982 982
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); 983 pr_debug("PLLC2 set frequency %lu\n", rate);
989 984
990 ret = clk_set_parent(hdmi_ick, &sh7372_pllc2_clk); 985 ret = clk_set_parent(hdmi_ick, &sh7372_pllc2_clk);
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c
index 008bd7f7883f..d94fd0c427a8 100644
--- a/arch/arm/mach-shmobile/board-mackerel.c
+++ b/arch/arm/mach-shmobile/board-mackerel.c
@@ -458,12 +458,6 @@ static void __init hdmi_init_pm_clock(void)
458 goto out; 458 goto out;
459 } 459 }
460 460
461 ret = clk_enable(&sh7372_pllc2_clk);
462 if (ret < 0) {
463 pr_err("Cannot enable pllc2 clock\n");
464 goto out;
465 }
466
467 pr_debug("PLLC2 set frequency %lu\n", rate); 461 pr_debug("PLLC2 set frequency %lu\n", rate);
468 462
469 ret = clk_set_parent(hdmi_ick, &sh7372_pllc2_clk); 463 ret = clk_set_parent(hdmi_ick, &sh7372_pllc2_clk);