From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xing Zheng Subject: Re: [RESEND RFC PATCH 2/2] ARM: dts: rockchip: Update the cpu freqs table Date: Sat, 9 Jan 2016 11:04:36 +0800 Message-ID: <569078C4.8080000@rock-chips.com> References: <1452252698-16765-1-git-send-email-zhengxing@rock-chips.com> <1452252698-16765-3-git-send-email-zhengxing@rock-chips.com> <4951150.PYM4FhWu6V@phil> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <4951150.PYM4FhWu6V@phil> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Heiko Stuebner Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, keescook-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org, leozwang-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-rockchip.vger.kernel.org Hi Heiko, On 2016=E5=B9=B401=E6=9C=8809=E6=97=A5 03:16, Heiko Stuebner wrote: > Hi Xing, > > Am Freitag, 8. Januar 2016, 19:31:38 schrieb Xing Zheng: >> Actually, we need more cpu freqs which are 50MHz integer multiples. >> >> Signed-off-by: Xing Zheng >> --- >> >> arch/arm/boot/dts/rk3036.dtsi | 13 ++++++++++++- >> 1 file changed, 12 insertions(+), 1 deletion(-) >> >> diff --git a/arch/arm/boot/dts/rk3036.dtsi b/arch/arm/boot/dts/rk303= 6.dtsi >> index 1cb5877..1a773eb 100644 >> --- a/arch/arm/boot/dts/rk3036.dtsi >> +++ b/arch/arm/boot/dts/rk3036.dtsi >> @@ -79,7 +79,18 @@ >> resets =3D <&cru SRST_CORE0>; >> operating-points =3D < >> /* KHz uV */ >> - 816000 1000000 >> + 1200000 1200000 >> + 1100000 1200000 >> + 1000000 1200000 >> + 900000 1200000 >> + 800000 1200000 >> + 700000 1200000 >> + 600000 1200000 >> + 500000 1200000 >> + 400000 1200000 >> + 300000 1200000 >> + 200000 1200000 >> + 100000 1200000 > what about reducing the voltage as well? > > >From rk3288-specific discussions I remember that reducing the freque= ncy > without touching the voltage, didn't really save so much energy. > And it looks like it was running 816MHz@1.0V just fine as well. > > I guess you should find out which voltages are really necessary for e= ach > step. > > > Heiko > Thank you for your comments. :-) Yes, these patches currently still in draft stage. Modify the frequency= =20 of 816MHz is for mac apll patch can be FROMLIST for Kylin Board, and will work cpu frequency table as a start. We know you want to set the appropriate frequency of different batches=20 of The RK3036 SoCs take some time,so I just tested a fixed high voltage 1.2v on my evb board, the frequency of the voltage to=20 ensure that we can work needed. We'll start work dynamically adjust the voltage. Thanks. - Xing Zheng -- To unsubscribe from this list: send the line "unsubscribe devicetree" i= n the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: zhengxing@rock-chips.com (Xing Zheng) Date: Sat, 9 Jan 2016 11:04:36 +0800 Subject: [RESEND RFC PATCH 2/2] ARM: dts: rockchip: Update the cpu freqs table In-Reply-To: <4951150.PYM4FhWu6V@phil> References: <1452252698-16765-1-git-send-email-zhengxing@rock-chips.com> <1452252698-16765-3-git-send-email-zhengxing@rock-chips.com> <4951150.PYM4FhWu6V@phil> Message-ID: <569078C4.8080000@rock-chips.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Heiko, On 2016?01?09? 03:16, Heiko Stuebner wrote: > Hi Xing, > > Am Freitag, 8. Januar 2016, 19:31:38 schrieb Xing Zheng: >> Actually, we need more cpu freqs which are 50MHz integer multiples. >> >> Signed-off-by: Xing Zheng >> --- >> >> arch/arm/boot/dts/rk3036.dtsi | 13 ++++++++++++- >> 1 file changed, 12 insertions(+), 1 deletion(-) >> >> diff --git a/arch/arm/boot/dts/rk3036.dtsi b/arch/arm/boot/dts/rk3036.dtsi >> index 1cb5877..1a773eb 100644 >> --- a/arch/arm/boot/dts/rk3036.dtsi >> +++ b/arch/arm/boot/dts/rk3036.dtsi >> @@ -79,7 +79,18 @@ >> resets = <&cru SRST_CORE0>; >> operating-points = < >> /* KHz uV */ >> - 816000 1000000 >> + 1200000 1200000 >> + 1100000 1200000 >> + 1000000 1200000 >> + 900000 1200000 >> + 800000 1200000 >> + 700000 1200000 >> + 600000 1200000 >> + 500000 1200000 >> + 400000 1200000 >> + 300000 1200000 >> + 200000 1200000 >> + 100000 1200000 > what about reducing the voltage as well? > > >From rk3288-specific discussions I remember that reducing the frequency > without touching the voltage, didn't really save so much energy. > And it looks like it was running 816MHz at 1.0V just fine as well. > > I guess you should find out which voltages are really necessary for each > step. > > > Heiko > Thank you for your comments. :-) Yes, these patches currently still in draft stage. Modify the frequency of 816MHz is for mac apll patch can be FROMLIST for Kylin Board, and will work cpu frequency table as a start. We know you want to set the appropriate frequency of different batches of The RK3036 SoCs take some time,so I just tested a fixed high voltage 1.2v on my evb board, the frequency of the voltage to ensure that we can work needed. We'll start work dynamically adjust the voltage. Thanks. - Xing Zheng From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755343AbcAIDE7 (ORCPT ); Fri, 8 Jan 2016 22:04:59 -0500 Received: from regular1.263xmail.com ([211.150.99.134]:37044 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754184AbcAIDE5 (ORCPT ); Fri, 8 Jan 2016 22:04:57 -0500 X-263anti-spam: KSV:0;BIG:0;ABS:1;DNS:0;ATT:0;SPF:S; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 1 X-SKE-CHECKED: 1 X-ADDR-CHECKED: 0 X-RL-SENDER: zhengxing@rock-chips.com X-FST-TO: linux-kernel@vger.kernel.org X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: zhengxing@rock-chips.com X-UNIQUE-TAG: X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 Subject: Re: [RESEND RFC PATCH 2/2] ARM: dts: rockchip: Update the cpu freqs table To: Heiko Stuebner References: <1452252698-16765-1-git-send-email-zhengxing@rock-chips.com> <1452252698-16765-3-git-send-email-zhengxing@rock-chips.com> <4951150.PYM4FhWu6V@phil> Cc: linux-rockchip@lists.infradead.org, keescook@google.com, leozwang@google.com, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org From: Xing Zheng Message-ID: <569078C4.8080000@rock-chips.com> Date: Sat, 9 Jan 2016 11:04:36 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <4951150.PYM4FhWu6V@phil> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Heiko, On 2016年01月09日 03:16, Heiko Stuebner wrote: > Hi Xing, > > Am Freitag, 8. Januar 2016, 19:31:38 schrieb Xing Zheng: >> Actually, we need more cpu freqs which are 50MHz integer multiples. >> >> Signed-off-by: Xing Zheng >> --- >> >> arch/arm/boot/dts/rk3036.dtsi | 13 ++++++++++++- >> 1 file changed, 12 insertions(+), 1 deletion(-) >> >> diff --git a/arch/arm/boot/dts/rk3036.dtsi b/arch/arm/boot/dts/rk3036.dtsi >> index 1cb5877..1a773eb 100644 >> --- a/arch/arm/boot/dts/rk3036.dtsi >> +++ b/arch/arm/boot/dts/rk3036.dtsi >> @@ -79,7 +79,18 @@ >> resets = <&cru SRST_CORE0>; >> operating-points = < >> /* KHz uV */ >> - 816000 1000000 >> + 1200000 1200000 >> + 1100000 1200000 >> + 1000000 1200000 >> + 900000 1200000 >> + 800000 1200000 >> + 700000 1200000 >> + 600000 1200000 >> + 500000 1200000 >> + 400000 1200000 >> + 300000 1200000 >> + 200000 1200000 >> + 100000 1200000 > what about reducing the voltage as well? > > >From rk3288-specific discussions I remember that reducing the frequency > without touching the voltage, didn't really save so much energy. > And it looks like it was running 816MHz@1.0V just fine as well. > > I guess you should find out which voltages are really necessary for each > step. > > > Heiko > Thank you for your comments. :-) Yes, these patches currently still in draft stage. Modify the frequency of 816MHz is for mac apll patch can be FROMLIST for Kylin Board, and will work cpu frequency table as a start. We know you want to set the appropriate frequency of different batches of The RK3036 SoCs take some time,so I just tested a fixed high voltage 1.2v on my evb board, the frequency of the voltage to ensure that we can work needed. We'll start work dynamically adjust the voltage. Thanks. - Xing Zheng