board-rk3168-tb.c use default pll rate
authorxxx <xxx@rock-chips.com>
Tue, 7 May 2013 09:17:31 +0000 (17:17 +0800)
committerxxx <xxx@rock-chips.com>
Tue, 7 May 2013 09:17:31 +0000 (17:17 +0800)
arch/arm/mach-rk30/board-rk3168-tb.c [changed mode: 0644->0755]
arch/arm/mach-rk3188/clock_data.c
arch/arm/mach-rk3188/include/mach/board.h

old mode 100644 (file)
new mode 100755 (executable)
index e911185..ea2cebf
@@ -2579,8 +2579,7 @@ static struct cpufreq_frequency_table dvfs_ddr_table[] = {
 
 void __init board_clock_init(void)
 {
-       rk30_clock_data_init(periph_pll_384mhz, codec_pll_594mhz, RK30_CLOCKS_DEFAULT_FLAGS);
-       //rk30_clock_data_init(periph_pll_default, codec_pll_default, RK30_CLOCKS_DEFAULT_FLAGS);
+       rk30_clock_data_init(periph_pll_default, codec_pll_default, RK30_CLOCKS_DEFAULT_FLAGS);
        //dvfs_set_arm_logic_volt(dvfs_cpu_logic_table, cpu_dvfs_table, dep_cpu2core_table);    
        dvfs_set_freq_volt_table(clk_get(NULL, "cpu"), dvfs_arm_table);
        dvfs_set_freq_volt_table(clk_get(NULL, "gpu"), dvfs_gpu_table);
index 99c1e1d939e266cf35bffa468fd19459df7f4c69..689c8a10fe1918030477edb114a095edc48278d4 100755 (executable)
@@ -3430,7 +3430,6 @@ void rk30_clock_common_uart_init(struct clk *cpll_clk,struct clk *gpll_clk)
        clk_set_rate_nolock(&clk_uart1_div,rate);
        clk_set_rate_nolock(&clk_uart2_div,rate);
        clk_set_rate_nolock(&clk_uart3_div,rate);
-       clk_set_rate_nolock(&clk_uart1,rate);
 }
 
 static void inline clock_set_div(struct clk *clk,u32 div)
index 2ebb501ff296f4506bbd8e3e3f88a9648d2ed438..2dd3dcef90a5c21603c925f25bfc1c1c89423753 100755 (executable)
@@ -75,13 +75,8 @@ enum _codec_pll {
 
 #define RK30_CLOCKS_DEFAULT_FLAGS (CLK_FLG_MAX_I2S_12288KHZ/*|CLK_FLG_EXT_27MHZ*/)
 
-#if (RK30_CLOCKS_DEFAULT_FLAGS&CLK_FLG_UART_1_3M)
-#define codec_pll_default codec_pll_768mhz
-#else
-#define codec_pll_default codec_pll_798mhz
-#endif
-#define periph_pll_default periph_pll_594mhz
-
+#define codec_pll_default codec_pll_594mhz
+#define periph_pll_default periph_pll_384mhz
 #endif