]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00227245 mx6q: Remove 400M setpoint for bus freq
authorAnson Huang <b20788@freescale.com>
Fri, 28 Sep 2012 18:42:52 +0000 (14:42 -0400)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:31 +0000 (08:35 +0200)
Although 400M bus setpoint can save some SOC domain power,
but it will also bring some additional power consumption
to DDR3, and the DDR performace's drop could also lead to
more heat generated by COREs which will spent more time
waiting for DDR data ready, also, there is not many usecases
that need this setpoint, all in all, we should remove 400M
setpoint.

Signed-off-by: Anson Huang <b20788@freescale.com>
arch/arm/mach-mx6/bus_freq.c
arch/arm/mach-mx6/clock.c

index 9d18423c85c5e7eaa086fcccb71e189b9c63275f..d96ac6a1e928d5bbdc8ef708c8beffb69de36d09 100644 (file)
@@ -412,7 +412,7 @@ void bus_freq_update(struct clk *clk, bool flag)
                          */
                        high_cpu_freq = 1;
                        if (low_bus_freq_mode || audio_bus_freq_mode)
-                               set_high_bus_freq(0);
+                               set_high_bus_freq(1);
                } else {
                        /* Update count */
                        if (clk->flags & AHB_HIGH_SET_POINT)
@@ -471,7 +471,7 @@ void bus_freq_update(struct clk *clk, bool flag)
                                        /* Set to either high or
                                          * medium setpoint.
                                          */
-                                       set_high_bus_freq(0);
+                                       set_high_bus_freq(1);
                                }
                        }
                }
@@ -506,7 +506,7 @@ static ssize_t bus_freq_scaling_enable_store(struct device *dev,
 #else
                bus_freq_scaling_is_active = 1;
 #endif
-               set_high_bus_freq(0);
+               set_high_bus_freq(1);
                /* Make sure system can enter low bus mode if it should be in
                low bus mode */
                if (low_freq_bus_used() && !low_bus_freq_mode)
index 6bf6ef7e29ac2beba6217488647b09f43447dea9..67c3d1fa6fd1010fe7de93ee9de533ef3e5171cf 100644 (file)
@@ -4853,7 +4853,7 @@ static struct clk usboh3_clk[] = {
        .enable_shift = MXC_CCM_CCGRx_CG0_OFFSET,
        .disable = _clk_disable,
        .secondary = &usboh3_clk[1],
-       .flags = AHB_MED_SET_POINT | CPU_FREQ_TRIG_UPDATE,
+       .flags = AHB_HIGH_SET_POINT | CPU_FREQ_TRIG_UPDATE,
        },
        {
        .parent = &mmdc_ch0_axi_clk[0],