Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1309238 > unrolled thread
| Started by | Andy Yan <andy.yan@rock-chips.com> |
|---|---|
| First post | 2016-01-14 13:40 +0100 |
| Last post | 2016-01-14 13:50 +0100 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH 0/2] fix rk3066a-rayeager board hang when cpufreq changes Andy Yan <andy.yan@rock-chips.com> - 2016-01-14 13:40 +0100
[PATCH 2/2] ARM: dts: rockchip: enable pwm3 as pwm regulator for rk3066a-rayeager board Andy Yan <andy.yan@rock-chips.com> - 2016-01-14 13:40 +0100
Re: [PATCH 2/2] ARM: dts: rockchip: enable pwm3 as pwm regulator for rk3066a-rayeager board Heiko Stuebner <heiko@sntech.de> - 2016-01-14 13:50 +0100
| From | Andy Yan <andy.yan@rock-chips.com> |
|---|---|
| Date | 2016-01-14 13:40 +0100 |
| Subject | [PATCH 0/2] fix rk3066a-rayeager board hang when cpufreq changes |
| Message-ID | <qQPm2-71u-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
Andy Yan (2):
ARM: dts: rockchip: increase vdd_arm voltage for rk3066a-rayeager
board
ARM: dts: rockchip: enable pwm3 as pwm regulator for rk3066a-rayeager
board
arch/arm/boot/dts/rk3066a-rayeager.dts | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
--
1.9.1
[toc] | [next] | [standalone]
| From | Andy Yan <andy.yan@rock-chips.com> |
|---|---|
| Date | 2016-01-14 13:40 +0100 |
| Subject | [PATCH 2/2] ARM: dts: rockchip: enable pwm3 as pwm regulator for rk3066a-rayeager board |
| Message-ID | <qQPm3-71u-31@gated-at.bofh.it> |
| In reply to | #1309238 |
Rayeager board use pwm3 modulate the vdd_logic voltage, so enable it.
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
---
arch/arm/boot/dts/rk3066a-rayeager.dts | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm/boot/dts/rk3066a-rayeager.dts b/arch/arm/boot/dts/rk3066a-rayeager.dts
index 3d4c104..d17a5b8 100644
--- a/arch/arm/boot/dts/rk3066a-rayeager.dts
+++ b/arch/arm/boot/dts/rk3066a-rayeager.dts
@@ -78,6 +78,18 @@
};
};
+ pwm_regulator: pwm-regulator {
+ compatible = "pwm-regulator";
+ pwms = <&pwm3 0 1000>;
+ regulator-name = "vdd_logic";
+ regulator-min-microvolt = <1200000>;
+ regulator-max-microvolt = <1200000>;
+ regulator-always-on;
+ voltage-table = <1000000 100>,
+ <1200000 42>;
+ status = "okay";
+ };
+
vsys: vsys-regulator {
compatible = "regulator-fixed";
regulator-name = "vsys";
@@ -443,6 +455,10 @@
status = "okay";
};
+&pwm3 {
+ status = "okay";
+};
+
&saradc {
vref-supply = <&vcc_25>;
status = "okay";
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Heiko Stuebner <heiko@sntech.de> |
|---|---|
| Date | 2016-01-14 13:50 +0100 |
| Subject | Re: [PATCH 2/2] ARM: dts: rockchip: enable pwm3 as pwm regulator for rk3066a-rayeager board |
| Message-ID | <qQPvI-75K-11@gated-at.bofh.it> |
| In reply to | #1309241 |
Hi Andy,
Am Donnerstag, 14. Januar 2016, 20:35:56 schrieb Andy Yan:
> Rayeager board use pwm3 modulate the vdd_logic voltage, so enable it.
>
> Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
> ---
>
> arch/arm/boot/dts/rk3066a-rayeager.dts | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/arch/arm/boot/dts/rk3066a-rayeager.dts
> b/arch/arm/boot/dts/rk3066a-rayeager.dts index 3d4c104..d17a5b8 100644
> --- a/arch/arm/boot/dts/rk3066a-rayeager.dts
> +++ b/arch/arm/boot/dts/rk3066a-rayeager.dts
> @@ -78,6 +78,18 @@
> };
> };
>
> + pwm_regulator: pwm-regulator {
> + compatible = "pwm-regulator";
> + pwms = <&pwm3 0 1000>;
> + regulator-name = "vdd_logic";
> + regulator-min-microvolt = <1200000>;
> + regulator-max-microvolt = <1200000>;
I guess this is to make sure it stays at 1.2V at all times, or is the min-
microvolt settings supposed to be lower?
Thanks
Heiko
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web