All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: rockchip: update rk3288-veyron cpu operating points
@ 2016-03-31 21:24 ` Heiko Stuebner
  0 siblings, 0 replies; 6+ messages in thread
From: Heiko Stuebner @ 2016-03-31 21:24 UTC (permalink / raw)
  To: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
  Cc: dianders-F7+t8E8rja9g9hUCZPvPmw,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	Heiko Stuebner

The generic operating points specified in rk3288.dtsi are specified by
Rockchip as conservative and for all cases.

In contrast the Veyron ChromeOS devices are supposed to use a special
chip variant often called rk3288-c and use different operating points
in their kernel also including a higher max frequency.

So override the operating points for veyron devices.

Signed-off-by: Heiko Stuebner <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
---
 arch/arm/boot/dts/rk3288-veyron.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/rk3288-veyron.dtsi b/arch/arm/boot/dts/rk3288-veyron.dtsi
index 274fa87..df7d70d 100644
--- a/arch/arm/boot/dts/rk3288-veyron.dtsi
+++ b/arch/arm/boot/dts/rk3288-veyron.dtsi
@@ -170,6 +170,22 @@
 
 &cpu0 {
 	cpu0-supply = <&vdd_cpu>;
+	operating-points = <
+		/* KHz    uV */
+		1800000 1400000
+		1704000 1350000
+		1608000 1300000
+		1512000 1250000
+		1416000 1200000
+		1200000 1100000
+		1008000 1050000
+		 816000 1000000
+		 696000  950000
+		 600000  900000
+		 408000  900000
+		 216000  900000
+		 126000  900000
+	>;
 };
 
 &emmc {
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH] ARM: dts: rockchip: update rk3288-veyron cpu operating points
@ 2016-03-31 21:24 ` Heiko Stuebner
  0 siblings, 0 replies; 6+ messages in thread
From: Heiko Stuebner @ 2016-03-31 21:24 UTC (permalink / raw)
  To: linux-arm-kernel

The generic operating points specified in rk3288.dtsi are specified by
Rockchip as conservative and for all cases.

In contrast the Veyron ChromeOS devices are supposed to use a special
chip variant often called rk3288-c and use different operating points
in their kernel also including a higher max frequency.

So override the operating points for veyron devices.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
 arch/arm/boot/dts/rk3288-veyron.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/rk3288-veyron.dtsi b/arch/arm/boot/dts/rk3288-veyron.dtsi
index 274fa87..df7d70d 100644
--- a/arch/arm/boot/dts/rk3288-veyron.dtsi
+++ b/arch/arm/boot/dts/rk3288-veyron.dtsi
@@ -170,6 +170,22 @@
 
 &cpu0 {
 	cpu0-supply = <&vdd_cpu>;
+	operating-points = <
+		/* KHz    uV */
+		1800000 1400000
+		1704000 1350000
+		1608000 1300000
+		1512000 1250000
+		1416000 1200000
+		1200000 1100000
+		1008000 1050000
+		 816000 1000000
+		 696000  950000
+		 600000  900000
+		 408000  900000
+		 216000  900000
+		 126000  900000
+	>;
 };
 
 &emmc {
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] ARM: dts: rockchip: update rk3288-veyron cpu operating points
  2016-03-31 21:24 ` Heiko Stuebner
@ 2016-04-01  0:53     ` Doug Anderson
  -1 siblings, 0 replies; 6+ messages in thread
From: Doug Anderson @ 2016-04-01  0:53 UTC (permalink / raw)
  To: Heiko Stuebner
  Cc: open list:ARM/Rockchip SoC...,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

Heiko

On Thu, Mar 31, 2016 at 2:24 PM, Heiko Stuebner <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org> wrote:
> The generic operating points specified in rk3288.dtsi are specified by
> Rockchip as conservative and for all cases.
>
> In contrast the Veyron ChromeOS devices are supposed to use a special
> chip variant often called rk3288-c and use different operating points
> in their kernel also including a higher max frequency.
>
> So override the operating points for veyron devices.
>
> Signed-off-by: Heiko Stuebner <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
> ---
>  arch/arm/boot/dts/rk3288-veyron.dtsi | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)

Matches the Chrome OS tree.

Reviewed-by: Douglas Anderson <dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] ARM: dts: rockchip: update rk3288-veyron cpu operating points
@ 2016-04-01  0:53     ` Doug Anderson
  0 siblings, 0 replies; 6+ messages in thread
From: Doug Anderson @ 2016-04-01  0:53 UTC (permalink / raw)
  To: linux-arm-kernel

Heiko

On Thu, Mar 31, 2016 at 2:24 PM, Heiko Stuebner <heiko@sntech.de> wrote:
> The generic operating points specified in rk3288.dtsi are specified by
> Rockchip as conservative and for all cases.
>
> In contrast the Veyron ChromeOS devices are supposed to use a special
> chip variant often called rk3288-c and use different operating points
> in their kernel also including a higher max frequency.
>
> So override the operating points for veyron devices.
>
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
> ---
>  arch/arm/boot/dts/rk3288-veyron.dtsi | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)

Matches the Chrome OS tree.

Reviewed-by: Douglas Anderson <dianders@chromium.org>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] ARM: dts: rockchip: update rk3288-veyron cpu operating points
  2016-03-31 21:24 ` Heiko Stuebner
@ 2016-04-01 16:34     ` Heiko Stuebner
  -1 siblings, 0 replies; 6+ messages in thread
From: Heiko Stuebner @ 2016-04-01 16:34 UTC (permalink / raw)
  To: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
  Cc: dianders-F7+t8E8rja9g9hUCZPvPmw,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

Am Donnerstag, 31. März 2016, 23:24:43 schrieb Heiko Stuebner:
> The generic operating points specified in rk3288.dtsi are specified by
> Rockchip as conservative and for all cases.
> 
> In contrast the Veyron ChromeOS devices are supposed to use a special
> chip variant often called rk3288-c and use different operating points
> in their kernel also including a higher max frequency.
> 
> So override the operating points for veyron devices.
> 
> Signed-off-by: Heiko Stuebner <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>

applied to my dts32 branch for 4.7

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] ARM: dts: rockchip: update rk3288-veyron cpu operating points
@ 2016-04-01 16:34     ` Heiko Stuebner
  0 siblings, 0 replies; 6+ messages in thread
From: Heiko Stuebner @ 2016-04-01 16:34 UTC (permalink / raw)
  To: linux-arm-kernel

Am Donnerstag, 31. M?rz 2016, 23:24:43 schrieb Heiko Stuebner:
> The generic operating points specified in rk3288.dtsi are specified by
> Rockchip as conservative and for all cases.
> 
> In contrast the Veyron ChromeOS devices are supposed to use a special
> chip variant often called rk3288-c and use different operating points
> in their kernel also including a higher max frequency.
> 
> So override the operating points for veyron devices.
> 
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>

applied to my dts32 branch for 4.7

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-04-01 16:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-31 21:24 [PATCH] ARM: dts: rockchip: update rk3288-veyron cpu operating points Heiko Stuebner
2016-03-31 21:24 ` Heiko Stuebner
     [not found] ` <1459459483-5356-1-git-send-email-heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
2016-04-01  0:53   ` Doug Anderson
2016-04-01  0:53     ` Doug Anderson
2016-04-01 16:34   ` Heiko Stuebner
2016-04-01 16:34     ` Heiko Stuebner

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.