rk3036&rk312x:clk:modify gpu clk name for dvfs

This commit is contained in:
张晴
2014-08-01 14:25:45 +08:00
parent 1dc06ea101
commit e3076abc9e
4 changed files with 19 additions and 19 deletions

View File

@@ -1109,11 +1109,11 @@
#address-cells = <1>;
#size-cells = <1>;
clk_gpu_pre_div: clk_gpu_pre_div {
clk_gpu_div: clk_gpu_div {
compatible = "rockchip,rk3188-div-con";
rockchip,bits = <0 5>;
clocks = <&clk_gpu_pre>;
clock-output-names = "clk_gpu_pre";
clocks = <&clk_gpu>;
clock-output-names = "clk_gpu";
rockchip,div-type = <CLK_DIVIDER_PLUS_ONE>;
#clock-cells = <0>;
rockchip,clkops-idx =
@@ -1123,11 +1123,11 @@
/* reg[7:5]: reserved */
clk_gpu_pre: clk_gpu_pre_mux {
clk_gpu: clk_gpu_mux {
compatible = "rockchip,rk3188-mux-con";
rockchip,bits = <8 2>;
clocks = <&dummy>, <&dummy>, <&clk_gpll>;
clock-output-names = "clk_gpu_pre";
clock-output-names = "clk_gpu";
#clock-cells = <0>;
#clock-init-cells = <1>;
};
@@ -1258,7 +1258,7 @@
<&pclk_cpu_pre>, <&dummy>,
<&dummy>, <&aclk_vcodec_pre>,
<&aclk_vcodec_pre>, <&clk_gpu_pre>,
<&aclk_vcodec_pre>, <&clk_gpu>,
<&hclk_peri_pre>, <&dummy>;
clock-output-names =
@@ -1271,7 +1271,7 @@
"g_pclk_hdmi", "reserved",
"reserved", "aclk_vcodec_pre",
"hclk_vcodec", "clk_gpu_pre",
"hclk_vcodec", "clk_gpu",
"g_hclk_sfc", "reserved";
rockchip,suspend-clkgating-setting=<0x0000 0x0000>;

4
arch/arm/boot/dts/rk3036.dtsi Normal file → Executable file
View File

@@ -254,7 +254,7 @@
<&aclk_cpu_pre 150000000>, <&hclk_cpu_pre 75000000>,
<&pclk_cpu_pre 75000000>, <&aclk_peri_pre 150000000>,
<&hclk_peri_pre 75000000>, <&pclk_peri_pre 75000000>,
<&clk_gpu_pre 300000000>, <&aclk_vio_pre 300000000>,
<&clk_gpu 300000000>, <&aclk_vio_pre 300000000>,
<&hclk_vio_pre 150000000>, <&aclk_vcodec_pre 300000000>,
<&clk_hevc_core 200000000>, <&clk_mac_pll_div 50000000>,
<&clk_mac_ref_div 25000000>;
@@ -320,7 +320,7 @@
<&clk_gates1 13>,
<&clk_gates8 2>,/*pclk_uart2*/
<&clk_gpu_pre>,
<&clk_gpu>,
/*jtag*/
<&clk_gates1 3>;/*clk_jtag*/

View File

@@ -1470,11 +1470,11 @@
#address-cells = <1>;
#size-cells = <1>;
clk_gpu_pre_div: clk_gpu_pre_div {
clk_gpu_div: clk_gpu_div {
compatible = "rockchip,rk3188-div-con";
rockchip,bits = <0 5>;
clocks = <&clk_gpu_pre>;
clock-output-names = "clk_gpu_pre";
clocks = <&clk_gpu>;
clock-output-names = "clk_gpu";
rockchip,div-type = <CLK_DIVIDER_PLUS_ONE>;
#clock-cells = <0>;
rockchip,clkops-idx =
@@ -1482,11 +1482,11 @@
rockchip,flags = <CLK_SET_RATE_PARENT_IN_ORDER>;
};
clk_gpu_pre: clk_gpu_pre_mux {
clk_gpu: clk_gpu_mux {
compatible = "rockchip,rk3188-mux-con";
rockchip,bits = <5 3>;
clocks = <&dummy_cpll>, <&clk_gpll>, <&clk_gpll_div2>, <&clk_gpll_div3>, <&usb480m>;
clock-output-names = "clk_gpu_pre";
clock-output-names = "clk_gpu";
#clock-cells = <0>;
#clock-init-cells = <1>;
};
@@ -1635,7 +1635,7 @@
<&pclk_cpu_pre>, <&clk_vepu>,
<&clk_hevc_core>, <&clk_vdpu>,
<&hclk_vdpu>, <&clk_gpu_pre>,
<&hclk_vdpu>, <&clk_gpu>,
<&aclk_peri>, <&clk_sfc>;
clock-output-names =
@@ -1648,7 +1648,7 @@
"g_pclk_hdmi", "clk_vepu",
"clk_hevc_core", "clk_vdpu",
"hclk_vdpu", "clk_gpu_pre",
"hclk_vdpu", "clk_gpu",
"g_hclk_gps", "clk_sfc";
rockchip,suspend-clkgating-setting=<0x0000 0x0000>;

View File

@@ -205,7 +205,7 @@
<&clk_vepu &clk_gpll_div2>, <&clk_vdpu &clk_gpll_div2>,
<&clk_hevc_core &clk_gpll>, <&aclk_vio0_pre &clk_gpll_div2>,
<&aclk_vio1_pre &clk_gpll_div2>, <&hclk_vio_pre &clk_gpll_div2>,
<&sclk_lcdc0 &clk_cpll>, <&clk_gpu_pre &clk_gpll_div2>,
<&sclk_lcdc0 &clk_cpll>, <&clk_gpu &clk_gpll_div2>,
<&clk_cif_pll &clk_gpll_div2>, <&dclk_ebc &clk_gpll_div2>,
<&clk_emmc &clk_gpll_div2>, <&clk_sdio &clk_gpll_div2>,
<&clk_sfc &clk_gpll_div2>, <&clk_sdmmc0 &clk_gpll_div2>,
@@ -216,7 +216,7 @@
<&clk_cpll 400000000>, <&aclk_cpu 300000000>,
<&hclk_cpu_pre 150000000>, <&pclk_cpu_pre 75000000>,
<&aclk_peri 300000000>, <&hclk_peri_pre 150000000>,
<&pclk_peri_pre 75000000>, <&clk_gpu_pre 300000000>,
<&pclk_peri_pre 75000000>, <&clk_gpu 300000000>,
<&aclk_vio0_pre 300000000>, <&hclk_vio_pre 150000000>,
<&aclk_vio1_pre 300000000>, <&clk_vepu 300000000>,
<&clk_vdpu 300000000>, <&clk_hevc_core 200000000>,
@@ -323,7 +323,7 @@
<&clk_gates1 13>,
<&clk_gates8 2>,/*pclk_uart2*/
<&clk_gpu_pre>,
<&clk_gpu>,
/*jtag*/
<&clk_gates1 3>,/*clk_jtag*/