From: 陈亮 Date: Wed, 17 Sep 2014 02:59:17 +0000 (-0700) Subject: rk312x: update dvfs table, remove gpu 480M X-Git-Tag: firefly_0821_release~4687 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=855685ab74fc8de9dbf1348c5633cd70e8c2c5c0;p=firefly-linux-kernel-4.4.55.git rk312x: update dvfs table, remove gpu 480M Signed-off-by: 陈亮 --- diff --git a/arch/arm/boot/dts/rk3126-86v.dts b/arch/arm/boot/dts/rk3126-86v.dts index 92abb3794697..98cedd303f62 100644 --- a/arch/arm/boot/dts/rk3126-86v.dts +++ b/arch/arm/boot/dts/rk3126-86v.dts @@ -64,12 +64,7 @@ }; - - - &vd_arm { -// regulator_name = "vdd_arm"; - pd_ddr { clk_ddr { operating-points = < @@ -99,70 +94,63 @@ >; auto-freq=<0>; status="okay"; - - }; }; + }; pd_gpu { clk_gpu { operating-points = < /* KHz uV */ - //200000 1250000 + 200000 1100000 300000 1100000 - 400000 1150000 - 480000 1250000 - + 400000 1150000 + //480000 1250000 >; - status = "okay"; - - }; }; - + }; pd_core { clk_core { operating-points = < /* KHz uV */ - 216000 1000000 - 408000 1000000 - 600000 1100000 - 696000 1150000 - 816000 1200000 - 1008000 1350000 - 1200000 1425000 - - + 216000 1000000 + 408000 1000000 + 600000 1100000 + 696000 1150000 + 816000 1200000 + 1008000 1350000 + 1200000 1425000 + >; + virt-temp-limit-1-cpu-busy = < + /* target-temp limit-freq */ + 75 1008000 + 85 1200000 + 95 1200000 + 100 1200000 >; - virt-temp-limit-1-cpu-busy = < - /* target-temp limit-freq */ - 75 1008000 - 85 1200000 - 95 1200000 - 100 1200000 - >; - virt-temp-limit-2-cpu-busy = < - /* target-temp limit-freq */ - 75 912000 - 85 1008000 - 95 1104000 - 100 1200000 - >; - virt-temp-limit-3-cpu-busy = < - /* target-temp limit-freq */ - 75 816000 - 85 912000 - 95 100800 - 100 110400 - >; - virt-temp-limit-4-cpu-busy = < - /* target-temp limit-freq */ - 75 816000 - 85 912000 - 95 100800 - 100 110400 - >; - temp-limit-enable = <1>; - target-temp = <85>; - }; + virt-temp-limit-2-cpu-busy = < + /* target-temp limit-freq */ + 75 912000 + 85 1008000 + 95 1104000 + 100 1200000 + >; + virt-temp-limit-3-cpu-busy = < + /* target-temp limit-freq */ + 75 816000 + 85 912000 + 95 100800 + 100 110400 + >; + virt-temp-limit-4-cpu-busy = < + /* target-temp limit-freq */ + 75 816000 + 85 912000 + 95 100800 + 100 110400 + >; + temp-limit-enable = <1>; + target-temp = <85>; + }; }; }; diff --git a/arch/arm/boot/dts/rk3126-sdk.dts b/arch/arm/boot/dts/rk3126-sdk.dts index c229c163ffd8..4ad883e47c54 100755 --- a/arch/arm/boot/dts/rk3126-sdk.dts +++ b/arch/arm/boot/dts/rk3126-sdk.dts @@ -130,3 +130,44 @@ >; status="okay"; }; + +&clk_gpu_dvfs_table { + operating-points = < + /* KHz uV */ + 200000 950000 + 300000 950000 + 400000 1075000 + //480000 1175000 + >; + status="okay"; +}; + +&clk_ddr_dvfs_table { + operating-points = < + /* KHz uV */ + 200000 950000 + 300000 950000 + 400000 1000000 + 533000 1225000 + >; + + freq-table = < + /*status freq(KHz)*/ + SYS_STATUS_NORMAL 400000 + SYS_STATUS_SUSPEND 200000 + SYS_STATUS_VIDEO_1080P 240000 + SYS_STATUS_VIDEO_4K 400000 + SYS_STATUS_PERFORMANCE 528000 + SYS_STATUS_DUALVIEW 400000 + SYS_STATUS_BOOST 324000 + SYS_STATUS_ISP 533000 + >; + auto-freq-table = < + 240000 + 324000 + 396000 + 528000 + >; + auto-freq=<0>; + status="okay"; +}; diff --git a/arch/arm/boot/dts/rk3128-sdk.dts b/arch/arm/boot/dts/rk3128-sdk.dts index 70021769a60c..d874220062a8 100755 --- a/arch/arm/boot/dts/rk3128-sdk.dts +++ b/arch/arm/boot/dts/rk3128-sdk.dts @@ -93,3 +93,60 @@ status = "okay"; }; + +&clk_core_dvfs_table { + operating-points = < + /* KHz uV */ + 216000 925000 + 408000 925000 + 600000 950000 + 696000 975000 + 816000 1050000 + 1008000 1175000 + 1200000 1300000 + 1296000 1350000 + 1320000 1375000 + >; + status="okay"; +}; + +&clk_gpu_dvfs_table { + operating-points = < + /* KHz uV */ + 200000 950000 + 300000 975000 + 400000 1075000 + //480000 1175000 + >; + status="okay"; +}; + +&clk_ddr_dvfs_table { + operating-points = < + /* KHz uV */ + 200000 950000 + 300000 950000 + 400000 1000000 + 533000 1200000 + >; + + freq-table = < + /*status freq(KHz)*/ + SYS_STATUS_NORMAL 400000 + SYS_STATUS_SUSPEND 200000 + SYS_STATUS_VIDEO_1080P 240000 + SYS_STATUS_VIDEO_4K 400000 + SYS_STATUS_PERFORMANCE 528000 + SYS_STATUS_DUALVIEW 400000 + SYS_STATUS_BOOST 324000 + SYS_STATUS_ISP 533000 + >; + auto-freq-table = < + 240000 + 324000 + 396000 + 528000 + >; + auto-freq=<0>; + status="okay"; +}; diff --git a/arch/arm/boot/dts/rk312x-sdk.dtsi b/arch/arm/boot/dts/rk312x-sdk.dtsi index 8f629d3b01d7..2978dceb1275 100755 --- a/arch/arm/boot/dts/rk312x-sdk.dtsi +++ b/arch/arm/boot/dts/rk312x-sdk.dtsi @@ -615,56 +615,6 @@ }; }; -&clk_core_dvfs_table { - operating-points = < - /* KHz uV */ - 408000 1300000 - 600000 1300000 - 696000 1300000 - 816000 1300000 - 1008000 1300000 - >; - status="okay"; -}; - -&clk_gpu_dvfs_table { - operating-points = < - /* KHz uV */ - 200000 1250000 - 300000 1250000 - >; - status="okay"; -}; - -&clk_ddr_dvfs_table { - operating-points = < - /* KHz uV */ - 200000 950000 - 300000 950000 - 400000 1000000 - 533000 1050000 - >; - - freq-table = < - /*status freq(KHz)*/ - SYS_STATUS_NORMAL 400000 - SYS_STATUS_SUSPEND 200000 - SYS_STATUS_VIDEO_1080P 240000 - SYS_STATUS_VIDEO_4K 400000 - SYS_STATUS_PERFORMANCE 528000 - SYS_STATUS_DUALVIEW 400000 - SYS_STATUS_BOOST 324000 - SYS_STATUS_ISP 533000 - >; - auto-freq-table = < - 240000 - 324000 - 396000 - 528000 - >; - auto-freq=<0>; - status="okay"; -}; &pwm0 { status = "okay";