* [PATCH] arm64: dts: rockchip: add more cpu operating points for RK3328
@ 2019-03-01 17:54 Leonidas P. Papadakos
[not found] ` <20190301175452.6701-1-papadakospan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Leonidas P. Papadakos @ 2019-03-01 17:54 UTC (permalink / raw)
To: Rob Herring
Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Heiko Stuebner,
Leonidas P. Papadakos
This allows for greater max frequency on rk3328 boards,
increasing performance.
It has been included in Armbian (a linux distibution for ARM boards)
for a while now without any reported issues
https://github.com/armbian/build/blob/master/patch/kernel/rockchip64-default/enable-1392mhz-opp.patch
https://github.com/armbian/build/blob/master/patch/kernel/rockchip64-default/enable-1512mhz-opp.patch
Cc: Heiko Stuebner <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Signed-off-by: Leonidas P. Papadakos <papadakospan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
arch/arm64/boot/dts/rockchip/rk3328.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
index 84f14b132..18caef3c3 100644
--- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
@@ -123,6 +123,20 @@
opp-microvolt = <1300000>;
clock-latency-ns = <40000>;
};
+ opp-1392000000 {
+ opp-hz = /bits/ 64 <1392000000>;
+ opp-microvolt = <1350000 1350000 1350000>;
+ opp-microvolt-L0 = <1350000 1350000 1350000>;
+ opp-microvolt-L1 = <1325000 1325000 1325000>;
+ clock-latency-ns = <40000>;
+ };
+ opp-1512000000 {
+ opp-hz = /bits/ 64 <1512000000>;
+ opp-microvolt = <1450000 1450000 1450000>;
+ opp-microvolt-L0 = <1450000 1450000 1450000>;
+ opp-microvolt-L1 = <1425000 1425000 1425000>;
+ clock-latency-ns = <40000>;
+ };
};
amba {
--
2.21.0
^ permalink raw reply related [flat|nested] 4+ messages in thread[parent not found: <20190301175452.6701-1-papadakospan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH] arm64: dts: rockchip: add more cpu operating points for RK3328 [not found] ` <20190301175452.6701-1-papadakospan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> @ 2019-03-01 18:24 ` Heiko Stuebner 2019-03-01 19:33 ` Jonas Karlman 0 siblings, 1 reply; 4+ messages in thread From: Heiko Stuebner @ 2019-03-01 18:24 UTC (permalink / raw) To: Leonidas P. Papadakos Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Rob Herring Hi, Am Freitag, 1. März 2019, 18:54:53 CET schrieb Leonidas P. Papadakos: > This allows for greater max frequency on rk3328 boards, > increasing performance. > > It has been included in Armbian (a linux distibution for ARM boards) > for a while now without any reported issues > > https://github.com/armbian/build/blob/master/patch/kernel/rockchip64-default/enable-1392mhz-opp.patch > https://github.com/armbian/build/blob/master/patch/kernel/rockchip64-default/enable-1512mhz-opp.patch > > Cc: Heiko Stuebner <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org> > Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org > Signed-off-by: Leonidas P. Papadakos <papadakospan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > --- > arch/arm64/boot/dts/rockchip/rk3328.dtsi | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi > index 84f14b132..18caef3c3 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi > @@ -123,6 +123,20 @@ > opp-microvolt = <1300000>; > clock-latency-ns = <40000>; > }; > + opp-1392000000 { > + opp-hz = /bits/ 64 <1392000000>; > + opp-microvolt = <1350000 1350000 1350000>; > + opp-microvolt-L0 = <1350000 1350000 1350000>; > + opp-microvolt-L1 = <1325000 1325000 1325000>; I checked Rockchip's productpage and the chip really seems to be rated up to 1.5GHz, but you should get rid of opp-microvolt-Lx options as these are still vendor-specific regarding the leakage handling. While on it, when all microvolt elements are the same, using the absolute value instead of "preferred min max" saves a bit of space similar to the other OPPs in the file. Thanks Heiko > + clock-latency-ns = <40000>; > + }; > + opp-1512000000 { > + opp-hz = /bits/ 64 <1512000000>; > + opp-microvolt = <1450000 1450000 1450000>; > + opp-microvolt-L0 = <1450000 1450000 1450000>; > + opp-microvolt-L1 = <1425000 1425000 1425000>; > + clock-latency-ns = <40000>; > + }; > }; > > amba { > ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: dts: rockchip: add more cpu operating points for RK3328 2019-03-01 18:24 ` Heiko Stuebner @ 2019-03-01 19:33 ` Jonas Karlman [not found] ` <AM3PR03MB0966D92B504944D7C6D06123AC760-XQTXrJX/giFAc9da7WRX18eAHadYHfrlvxpqHgZTriW3zl9H0oFU5g@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Jonas Karlman @ 2019-03-01 19:33 UTC (permalink / raw) To: Heiko Stuebner, Leonidas P. Papadakos Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Rob Herring On 2019-03-01 19:24, Heiko Stuebner wrote: > Hi, > > Am Freitag, 1. März 2019, 18:54:53 CET schrieb Leonidas P. Papadakos: >> This allows for greater max frequency on rk3328 boards, >> increasing performance. >> >> It has been included in Armbian (a linux distibution for ARM boards) >> for a while now without any reported issues >> >> https://github.com/armbian/build/blob/master/patch/kernel/rockchip64-default/enable-1392mhz-opp.patch >> https://github.com/armbian/build/blob/master/patch/kernel/rockchip64-default/enable-1512mhz-opp.patch >> >> Cc: Heiko Stuebner <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org> >> Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org >> Signed-off-by: Leonidas P. Papadakos <papadakospan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> >> --- >> arch/arm64/boot/dts/rockchip/rk3328.dtsi | 14 ++++++++++++++ >> 1 file changed, 14 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi >> index 84f14b132..18caef3c3 100644 >> --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi >> +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi >> @@ -123,6 +123,20 @@ >> opp-microvolt = <1300000>; >> clock-latency-ns = <40000>; >> }; >> + opp-1392000000 { >> + opp-hz = /bits/ 64 <1392000000>; >> + opp-microvolt = <1350000 1350000 1350000>; >> + opp-microvolt-L0 = <1350000 1350000 1350000>; >> + opp-microvolt-L1 = <1325000 1325000 1325000>; > I checked Rockchip's productpage and the chip really seems to be > rated up to 1.5GHz, but you should get rid of opp-microvolt-Lx > options as these are still vendor-specific regarding the leakage > handling. The datasheet at [1] lists Max CPU frequency of A53 as 1.4 Ghz in Table 3-2 Recommended operating condition, is there a newer datasheet that lists 1.5 Ghz as recommended max? [1] http://opensource.rock-chips.com/images/d/d7/Rockchip_RK3328_Datasheet_V1.1-20170309.pdf Regards, Jonas > > While on it, when all microvolt elements are the same, using the > absolute value instead of "preferred min max" saves a bit of space > similar to the other OPPs in the file. > > Thanks > Heiko > >> + clock-latency-ns = <40000>; >> + }; >> + opp-1512000000 { >> + opp-hz = /bits/ 64 <1512000000>; >> + opp-microvolt = <1450000 1450000 1450000>; >> + opp-microvolt-L0 = <1450000 1450000 1450000>; >> + opp-microvolt-L1 = <1425000 1425000 1425000>; >> + clock-latency-ns = <40000>; >> + }; >> }; >> >> amba { >> > ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <AM3PR03MB0966D92B504944D7C6D06123AC760-XQTXrJX/giFAc9da7WRX18eAHadYHfrlvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>]
* Re: [PATCH] arm64: dts: rockchip: add more cpu operating points for RK3328【请注意,邮件由linux-rockchip-bounces+cl=rock-chips.com@lists.infradead.org代发】 [not found] ` <AM3PR03MB0966D92B504944D7C6D06123AC760-XQTXrJX/giFAc9da7WRX18eAHadYHfrlvxpqHgZTriW3zl9H0oFU5g@public.gmane.org> @ 2019-03-05 7:48 ` 陈亮 0 siblings, 0 replies; 4+ messages in thread From: 陈亮 @ 2019-03-05 7:48 UTC (permalink / raw) To: Jonas Karlman, Heiko Stuebner, Leonidas P. Papadakos Cc: huangtao-TNX95d0MmH7DzftRWevZcw@public.gmane.org, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Rob Herring, cl-TNX95d0MmH7DzftRWevZcw Hi, All: The 1.4 Ghz and 1.5 Ghz frequency is not stable for some chips of rk3328, so we recommend use 1.3 Ghz as the max frequency for rk3328 SoCs. And the max voltage of vdd_cpu is 1.35V, do not exceed that. 在 2019/3/2 上午3:33, Jonas Karlman 写道: > On 2019-03-01 19:24, Heiko Stuebner wrote: >> Hi, >> >> Am Freitag, 1. März 2019, 18:54:53 CET schrieb Leonidas P. Papadakos: >>> This allows for greater max frequency on rk3328 boards, >>> increasing performance. >>> >>> It has been included in Armbian (a linux distibution for ARM boards) >>> for a while now without any reported issues >>> >>> https://github.com/armbian/build/blob/master/patch/kernel/rockchip64-default/enable-1392mhz-opp.patch >>> https://github.com/armbian/build/blob/master/patch/kernel/rockchip64-default/enable-1512mhz-opp.patch >>> >>> Cc: Heiko Stuebner <heiko@sntech.de> >>> Cc: linux-rockchip@lists.infradead.org >>> Signed-off-by: Leonidas P. Papadakos <papadakospan@gmail.com> >>> --- >>> arch/arm64/boot/dts/rockchip/rk3328.dtsi | 14 ++++++++++++++ >>> 1 file changed, 14 insertions(+) >>> >>> diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi >>> index 84f14b132..18caef3c3 100644 >>> --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi >>> +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi >>> @@ -123,6 +123,20 @@ >>> opp-microvolt = <1300000>; >>> clock-latency-ns = <40000>; >>> }; >>> + opp-1392000000 { >>> + opp-hz = /bits/ 64 <1392000000>; >>> + opp-microvolt = <1350000 1350000 1350000>; >>> + opp-microvolt-L0 = <1350000 1350000 1350000>; >>> + opp-microvolt-L1 = <1325000 1325000 1325000>; >> I checked Rockchip's productpage and the chip really seems to be >> rated up to 1.5GHz, but you should get rid of opp-microvolt-Lx >> options as these are still vendor-specific regarding the leakage >> handling. > The datasheet at [1] lists Max CPU frequency of A53 as 1.4 Ghz in Table 3-2 Recommended operating condition, > is there a newer datasheet that lists 1.5 Ghz as recommended max? > > [1] http://opensource.rock-chips.com/images/d/d7/Rockchip_RK3328_Datasheet_V1.1-20170309.pdf > > Regards, > Jonas > >> While on it, when all microvolt elements are the same, using the >> absolute value instead of "preferred min max" saves a bit of space >> similar to the other OPPs in the file. >> >> Thanks >> Heiko >> >>> + clock-latency-ns = <40000>; >>> + }; >>> + opp-1512000000 { >>> + opp-hz = /bits/ 64 <1512000000>; >>> + opp-microvolt = <1450000 1450000 1450000>; >>> + opp-microvolt-L0 = <1450000 1450000 1450000>; >>> + opp-microvolt-L1 = <1425000 1425000 1425000>; >>> + clock-latency-ns = <40000>; >>> + }; >>> }; >>> >>> amba { >>> > _______________________________________________ > Linux-rockchip mailing list > Linux-rockchip@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-rockchip > > > > _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-03-05 7:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-01 17:54 [PATCH] arm64: dts: rockchip: add more cpu operating points for RK3328 Leonidas P. Papadakos
[not found] ` <20190301175452.6701-1-papadakospan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2019-03-01 18:24 ` Heiko Stuebner
2019-03-01 19:33 ` Jonas Karlman
[not found] ` <AM3PR03MB0966D92B504944D7C6D06123AC760-XQTXrJX/giFAc9da7WRX18eAHadYHfrlvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2019-03-05 7:48 ` [PATCH] arm64: dts: rockchip: add more cpu operating points for RK3328【请注意,邮件由linux-rockchip-bounces+cl=rock-chips.com@lists.infradead.org代发】 陈亮
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.