All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: exynos4412-odroid-*: add workaround for CPUfreq/reboot issue
@ 2015-09-01 13:08 Marek Szyprowski
  2015-09-01 13:57 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 4+ messages in thread
From: Marek Szyprowski @ 2015-09-01 13:08 UTC (permalink / raw)
  To: linux-samsung-soc
  Cc: Marek Szyprowski, Kukjin Kim, Krzysztof Kozlowski, Tobias Jakobi,
	Bartlomiej Zolnierkiewicz

Exynos4412-based Odroid boards (X2, U3, U3+) don't reset PMIC
configuration during hardware reset. This causes serious issues with
CPUfreq, when ARM voltage is set below 1.0V. When one resets the board
when CPUfreq selected one of lower Exynos 4412 operating points (for
example: 200MHz and 0.9V), the bootloader crashes and it is not possible
to restart the board without turning power off.

This patch provides a workaround for this issue by increasing the start
of valid range for vdd_arm regulator from 1.0V. After such change,
CPUfreq can still use lower operating points, but the voltage won't be
decreased below 1.0V and as a result it will be possible to reset board
at any time.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
---
Hello,

This issue was there from the beggining, but I was not able to reproduce
it. It has been already reported by Tobias in early Feb 2015
(http://www.spinics.net/lists/linux-samsung-soc/msg42294.html).
Recently, after CPUfreq changes (conversion to generic cpufreq dt and
enabling cpufreq in exynos_defconfig) it was much easier to observe this
issue.

This workaround lets one still use CPUfreq and avoid unexpect board
crashes during reboot (both 'standard' and emergency).

Best regards
Marek Szyprowski, PhD
Samsung R&D Institute Poland
---
 arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
index db52841..fca8233 100644
--- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
+++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
@@ -370,7 +370,7 @@
 
 			buck2_reg: BUCK2 {
 				regulator-name = "vdd_arm";
-				regulator-min-microvolt = <900000>;
+				regulator-min-microvolt = <1000000>;
 				regulator-max-microvolt = <1350000>;
 				regulator-always-on;
 				regulator-boot-on;
-- 
1.9.2

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

end of thread, other threads:[~2015-09-02  2:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-01 13:08 [PATCH] ARM: dts: exynos4412-odroid-*: add workaround for CPUfreq/reboot issue Marek Szyprowski
2015-09-01 13:57 ` Krzysztof Kozlowski
2015-09-01 14:08   ` Bartlomiej Zolnierkiewicz
2015-09-02  2:00     ` Krzysztof Kozlowski

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.