ARM: tegra: dvfs: hdmi can not be an auto dvfs clock
authorColin Cross <ccross@android.com>
Wed, 27 Oct 2010 03:33:24 +0000 (20:33 -0700)
committerColin Cross <ccross@android.com>
Wed, 27 Oct 2010 04:05:08 +0000 (21:05 -0700)
The hdmi block contains a divider that is not visible to the clock
subsystem, prevent auto dvfs on it so that clk_set_rate can set the
input clock higher than 148.5 MHz.

Change-Id: I7f09f4d099e2f24166a65b1b582fe16c1451deba
Signed-off-by: Colin Cross <ccross@android.com>
arch/arm/mach-tegra/tegra2_dvfs.c

index 854bb77107df9c613fc2d4639c1c9c0b63182df1..4f56fb88fc1781ac374ae4f263823dba955cd8dc 100644 (file)
@@ -95,7 +95,6 @@ static struct dvfs dvfs_init[] = {
        CORE_DVFS("pcie",    1, KHZ, 0,      0,      0,      250000, 250000),
        CORE_DVFS("dsi",     1, KHZ, 100000, 100000, 100000, 500000, 500000),
        CORE_DVFS("tvo",     1, KHZ, 0,      0,      0,      250000, 250000),
-       CORE_DVFS("hdmi",    1, KHZ, 0,      0,      0,      148500, 148500),
 
        /*
         * The clock rate for the display controllers that determines the
@@ -105,6 +104,7 @@ static struct dvfs dvfs_init[] = {
         */
        CORE_DVFS("disp1",   0, KHZ, 158000, 158000, 190000, 190000, 190000),
        CORE_DVFS("disp2",   0, KHZ, 158000, 158000, 190000, 190000, 190000),
+       CORE_DVFS("hdmi",    0, KHZ, 0,      0,      0,      148500, 148500),
 
        /*
         * These clocks technically depend on the core process id,