Re: [PATCH] arm64: dts: rockchip: update cpu opp table for rk3399 op1
Hi Heiko 2017-05-22 23:02 GMT+08:00 Heiko Stuebner : > Hi Eddie, Caesar, > > Am Montag, 24. April 2017, 18:29:26 CEST schrieb Eddie Cai: >> Hi Heiko >> >> 2017-04-24 17:15 GMT+08:00 Heiko Stübner : >> > Am Montag, 24. April 2017, 16:49:08 CEST schrieb Caesar Wang: >> >> 在 2017年04月24日 16:26, Heiko Stübner 写道: >> >> > Hi Caesar, >> >> > >> >> > Am Montag, 24. April 2017, 14:18:50 CEST schrieb Caesar Wang: >> >> >> Update the cpu opp table for rk3399 op1. >> >> > >> >> > Ideally this should contain something about the "why". >> >> > Are these new voltage settings safer to operate under? >> >> >> >> The before opp table is for earlier batch of rk3399 SoCs, that's no >> >> enough for the current and >> >> newer batch of rk3399 op1. In order to suit for the rk3399 op1, we need >> >> to little voltages changed. >> > >> > just to make sure, this is also safe for all the non-chromebook rk3399 socs >> > (like the firefly and tv-boxes, etc), right? >> This is only for op1. other 3399s should have a different opp table > > digging this up, as I'm right now working on a rk3399-firefly, could you > provide the correct opp tables for the available rk3399 variants please? > > I.e. generally safe opps for boards like the firefly and the special ones > for op1-based devices? here is for 3399: https://github.com/rockchip-linux/kernel/blob/release-4.4/arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi here is for op1: https://chromium.googlesource.com/chromiumos/third_party/kernel/+/chromeos-4.4/arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi > > > Thanks > Heiko
Re: [PATCH] arm64: dts: rockchip: update cpu opp table for rk3399 op1
Hi Eddie, Caesar, Am Montag, 24. April 2017, 18:29:26 CEST schrieb Eddie Cai: > Hi Heiko > > 2017-04-24 17:15 GMT+08:00 Heiko Stübner : > > Am Montag, 24. April 2017, 16:49:08 CEST schrieb Caesar Wang: > >> 在 2017年04月24日 16:26, Heiko Stübner 写道: > >> > Hi Caesar, > >> > > >> > Am Montag, 24. April 2017, 14:18:50 CEST schrieb Caesar Wang: > >> >> Update the cpu opp table for rk3399 op1. > >> > > >> > Ideally this should contain something about the "why". > >> > Are these new voltage settings safer to operate under? > >> > >> The before opp table is for earlier batch of rk3399 SoCs, that's no > >> enough for the current and > >> newer batch of rk3399 op1. In order to suit for the rk3399 op1, we need > >> to little voltages changed. > > > > just to make sure, this is also safe for all the non-chromebook rk3399 socs > > (like the firefly and tv-boxes, etc), right? > This is only for op1. other 3399s should have a different opp table digging this up, as I'm right now working on a rk3399-firefly, could you provide the correct opp tables for the available rk3399 variants please? I.e. generally safe opps for boards like the firefly and the special ones for op1-based devices? Thanks Heiko
Re: [PATCH] arm64: dts: rockchip: update cpu opp table for rk3399 op1
Am Montag, 24. April 2017, 18:25:49 CEST schrieb Caesar Wang: > 在 2017年04月24日 17:15, Heiko Stübner 写道: > > Am Montag, 24. April 2017, 16:49:08 CEST schrieb Caesar Wang: > >> 在 2017年04月24日 16:26, Heiko Stübner 写道: > >>> Hi Caesar, > >>> > >>> Am Montag, 24. April 2017, 14:18:50 CEST schrieb Caesar Wang: > Update the cpu opp table for rk3399 op1. > >>> > >>> Ideally this should contain something about the "why". > >>> Are these new voltage settings safer to operate under? > >> > >> The before opp table is for earlier batch of rk3399 SoCs, that's no > >> enough for the current and > >> newer batch of rk3399 op1. In order to suit for the rk3399 op1, we need > >> to little voltages changed. > > > > just to make sure, this is also safe for all the non-chromebook rk3399 > > socs > > (like the firefly and tv-boxes, etc), right? > > No, just for chromebook. > > Maybe, we need support two table for rk3399 SoCs. > For chromebook supporting 2GHz frequency and others support 1.8GHz > frequency. Definitly. So please move the chromebook opp-table to something like a rk3399- op1-opp.dtsi and adapt rk3399-opp.dtsi to be safe for all rk3399 variants. Thanks Heiko > > For example: > >opp03 { >opp-hz = /bits/ 64 <100800>; >opp-microvolt = <925000 925000 135>; >opp-microvolt-l0 = <925000 925000 135>; >opp-microvolt-l1 = <90 90 135>; >}; > > > > > -Caesar > > > Thanks > > Heiko > > > > ___ > > Linux-rockchip mailing list > > linux-rockc...@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/linux-rockchip
Re: [PATCH] arm64: dts: rockchip: update cpu opp table for rk3399 op1
Hi Heiko 2017-04-24 17:15 GMT+08:00 Heiko Stübner : > Am Montag, 24. April 2017, 16:49:08 CEST schrieb Caesar Wang: >> 在 2017年04月24日 16:26, Heiko Stübner 写道: >> > Hi Caesar, >> > >> > Am Montag, 24. April 2017, 14:18:50 CEST schrieb Caesar Wang: >> >> Update the cpu opp table for rk3399 op1. >> > >> > Ideally this should contain something about the "why". >> > Are these new voltage settings safer to operate under? >> >> The before opp table is for earlier batch of rk3399 SoCs, that's no >> enough for the current and >> newer batch of rk3399 op1. In order to suit for the rk3399 op1, we need >> to little voltages changed. > > just to make sure, this is also safe for all the non-chromebook rk3399 socs > (like the firefly and tv-boxes, etc), right? This is only for op1. other 3399s should have a different opp table > > > Thanks > Heiko > > ___ > Linux-rockchip mailing list > linux-rockc...@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-rockchip
Re: [PATCH] arm64: dts: rockchip: update cpu opp table for rk3399 op1
Am Montag, 24. April 2017, 16:49:08 CEST schrieb Caesar Wang: > 在 2017年04月24日 16:26, Heiko Stübner 写道: > > Hi Caesar, > > > > Am Montag, 24. April 2017, 14:18:50 CEST schrieb Caesar Wang: > >> Update the cpu opp table for rk3399 op1. > > > > Ideally this should contain something about the "why". > > Are these new voltage settings safer to operate under? > > The before opp table is for earlier batch of rk3399 SoCs, that's no > enough for the current and > newer batch of rk3399 op1. In order to suit for the rk3399 op1, we need > to little voltages changed. just to make sure, this is also safe for all the non-chromebook rk3399 socs (like the firefly and tv-boxes, etc), right? Thanks Heiko
Re: [PATCH] arm64: dts: rockchip: update cpu opp table for rk3399 op1
在 2017年04月24日 16:26, Heiko Stübner 写道: Hi Caesar, Am Montag, 24. April 2017, 14:18:50 CEST schrieb Caesar Wang: Update the cpu opp table for rk3399 op1. Ideally this should contain something about the "why". Are these new voltage settings safer to operate under? The before opp table is for earlier batch of rk3399 SoCs, that's no enough for the current and newer batch of rk3399 op1. In order to suit for the rk3399 op1, we need to little voltages changed. -Caesar No need to resend, please just clarify the reason. Thanks Heiko Signed-off-by: Caesar Wang --- arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi index dd82e16..92bd615 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi @@ -52,27 +52,27 @@ }; opp01 { opp-hz = /bits/ 64 <6>; - opp-microvolt = <80>; + opp-microvolt = <825000>; }; opp02 { opp-hz = /bits/ 64 <81600>; - opp-microvolt = <80>; + opp-microvolt = <85>; }; opp03 { opp-hz = /bits/ 64 <100800>; - opp-microvolt = <875000>; + opp-microvolt = <90>; }; opp04 { opp-hz = /bits/ 64 <12>; - opp-microvolt = <925000>; + opp-microvolt = <975000>; }; opp05 { opp-hz = /bits/ 64 <141600>; - opp-microvolt = <105>; + opp-microvolt = <110>; }; opp06 { opp-hz = /bits/ 64 <151200>; - opp-microvolt = <1125000>; + opp-microvolt = <115>; }; };
Re: [PATCH] arm64: dts: rockchip: update cpu opp table for rk3399 op1
Hi Caesar, Am Montag, 24. April 2017, 14:18:50 CEST schrieb Caesar Wang: > Update the cpu opp table for rk3399 op1. Ideally this should contain something about the "why". Are these new voltage settings safer to operate under? No need to resend, please just clarify the reason. Thanks Heiko > > Signed-off-by: Caesar Wang > --- > > arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi > b/arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi index dd82e16..92bd615 > 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi > @@ -52,27 +52,27 @@ > }; > opp01 { > opp-hz = /bits/ 64 <6>; > - opp-microvolt = <80>; > + opp-microvolt = <825000>; > }; > opp02 { > opp-hz = /bits/ 64 <81600>; > - opp-microvolt = <80>; > + opp-microvolt = <85>; > }; > opp03 { > opp-hz = /bits/ 64 <100800>; > - opp-microvolt = <875000>; > + opp-microvolt = <90>; > }; > opp04 { > opp-hz = /bits/ 64 <12>; > - opp-microvolt = <925000>; > + opp-microvolt = <975000>; > }; > opp05 { > opp-hz = /bits/ 64 <141600>; > - opp-microvolt = <105>; > + opp-microvolt = <110>; > }; > opp06 { > opp-hz = /bits/ 64 <151200>; > - opp-microvolt = <1125000>; > + opp-microvolt = <115>; > }; > };
[PATCH] arm64: dts: rockchip: update cpu opp table for rk3399 op1
Update the cpu opp table for rk3399 op1. Signed-off-by: Caesar Wang --- arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi index dd82e16..92bd615 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi @@ -52,27 +52,27 @@ }; opp01 { opp-hz = /bits/ 64 <6>; - opp-microvolt = <80>; + opp-microvolt = <825000>; }; opp02 { opp-hz = /bits/ 64 <81600>; - opp-microvolt = <80>; + opp-microvolt = <85>; }; opp03 { opp-hz = /bits/ 64 <100800>; - opp-microvolt = <875000>; + opp-microvolt = <90>; }; opp04 { opp-hz = /bits/ 64 <12>; - opp-microvolt = <925000>; + opp-microvolt = <975000>; }; opp05 { opp-hz = /bits/ 64 <141600>; - opp-microvolt = <105>; + opp-microvolt = <110>; }; opp06 { opp-hz = /bits/ 64 <151200>; - opp-microvolt = <1125000>; + opp-microvolt = <115>; }; }; -- 2.7.4