Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1310103 > unrolled thread

[PATCH v2 0/2] fix rk3066a based boards hang when cpufreq changes

Started byAndy Yan <andy.yan@rock-chips.com>
First post2016-01-15 14:30 +0100
Last post2016-01-18 00:20 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v2 0/2] fix rk3066a based boards hang when cpufreq changes Andy Yan <andy.yan@rock-chips.com> - 2016-01-15 14:30 +0100
    [PATCH v2 1/2] ARM: dts: rockchip: increase vdd_arm voltage for rk3066a based boards Andy Yan <andy.yan@rock-chips.com> - 2016-01-15 14:30 +0100
    Re: [PATCH v2 0/2] fix rk3066a based boards hang when cpufreq changes Heiko Stuebner <heiko@sntech.de> - 2016-01-18 00:20 +0100

#1310103 — [PATCH v2 0/2] fix rk3066a based boards hang when cpufreq changes

FromAndy Yan <andy.yan@rock-chips.com>
Date2016-01-15 14:30 +0100
Subject[PATCH v2 0/2] fix rk3066a based boards hang when cpufreq changes
Message-ID<qRcBX-6DV-9@gated-at.bofh.it>
I found the rayeager board always hang in the system boot
process or when cpufreq change. When check the BSP code[0]
from ChipSpark, I found the current vdd_arm voltage is too
low and so is the vdd_logic voltage, which should be modulated
by PWM3.

So I increase the vdd_arm voltage and enabled pwm3 as a pwm
regulator here.

[0] https://github.com/RockchipOpensourceCommunity/px2-android-kernel-3.0/blob/master/arch/arm/mach-rkpx2/board-rkpx2-sdk.c

Changes in v2:
- move the opp table to rk3066a.dtsi, make it as the default opp table
  for rk3066a based board.
- also enable the pwm regulator for bqcurie2 and Marsboard

Andy Yan (2):
  ARM: dts: rockchip: increase vdd_arm voltage for rk3066a based boards
  ARM: dts: rockchip: enable pwm3 as pwm regulator for rk3066a based
    boards

 arch/arm/boot/dts/rk3066a-bqcurie2.dts  | 16 ++++++++++++++++
 arch/arm/boot/dts/rk3066a-marsboard.dts | 16 ++++++++++++++++
 arch/arm/boot/dts/rk3066a-rayeager.dts  | 16 ++++++++++++++++
 arch/arm/boot/dts/rk3066a.dtsi          | 12 +++++++-----
 4 files changed, 55 insertions(+), 5 deletions(-)

-- 
1.9.1

[toc] | [next] | [standalone]


#1310106 — [PATCH v2 1/2] ARM: dts: rockchip: increase vdd_arm voltage for rk3066a based boards

FromAndy Yan <andy.yan@rock-chips.com>
Date2016-01-15 14:30 +0100
Subject[PATCH v2 1/2] ARM: dts: rockchip: increase vdd_arm voltage for rk3066a based boards
Message-ID<qRcBY-6DV-25@gated-at.bofh.it>
In reply to#1310103
The current vdd_arm voltage is too low, increase it will make
the system more stable.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>

---

Changes in v2:
- move the opp table to rk3066a.dtsi, make it as the default opp table
  for rk3066a based board.

 arch/arm/boot/dts/rk3066a.dtsi | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/arch/arm/boot/dts/rk3066a.dtsi b/arch/arm/boot/dts/rk3066a.dtsi
index 946f187..ff0530e 100644
--- a/arch/arm/boot/dts/rk3066a.dtsi
+++ b/arch/arm/boot/dts/rk3066a.dtsi
@@ -61,11 +61,13 @@
 			reg = <0x0>;
 			operating-points = <
 				/* kHz    uV */
-				1008000 1075000
-				 816000 1025000
-				 600000 1025000
-				 504000 1000000
-				 312000  975000
+				1416000 1300000
+				1200000 1175000
+				1008000 1125000
+				816000  1125000
+				600000  1100000
+				504000  1100000
+				312000  1075000
 			>;
 			clock-latency = <40000>;
 			clocks = <&cru ARMCLK>;
-- 
1.9.1

[toc] | [prev] | [next] | [standalone]


#1311199

FromHeiko Stuebner <heiko@sntech.de>
Date2016-01-18 00:20 +0100
Message-ID<qS4M2-J7-11@gated-at.bofh.it>
In reply to#1310103
Hi Andy,

Am Freitag, 15. Januar 2016, 21:23:43 schrieb Andy Yan:
> I found the rayeager board always hang in the system boot
> process or when cpufreq change. When check the BSP code[0]
> from ChipSpark, I found the current vdd_arm voltage is too
> low and so is the vdd_logic voltage, which should be modulated
> by PWM3.
> 
> So I increase the vdd_arm voltage and enabled pwm3 as a pwm
> regulator here.

applied both to my dts32 branch for 4.6

Thanks
Heiko

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web