[3.19.y-ckt stable] Patch "ARM: dts: am335x-boneblack: disable RTC-only sleep to avoid hardware damage" has been added to staging queue
Kamal Mostafa
kamal at canonical.com
Tue Jul 7 00:11:21 UTC 2015
This is a note to let you know that I have just added a patch titled
ARM: dts: am335x-boneblack: disable RTC-only sleep to avoid hardware damage
to the linux-3.19.y-queue branch of the 3.19.y-ckt extended stable tree
which can be found at:
http://kernel.ubuntu.com/git/ubuntu/linux.git/log/?h=linux-3.19.y-queue
This patch is scheduled to be released in version 3.19.8-ckt3.
If you, or anyone else, feels it should not be added to this tree, please
reply to this email.
For more information about the 3.19.y-ckt tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable
Thanks.
-Kamal
------
>From 8485b68b971cceaf1826ffe2b7ec441e62da0097 Mon Sep 17 00:00:00 2001
From: Matthijs van Duin <matthijsvanduin at gmail.com>
Date: Mon, 1 Jun 2015 21:33:28 +0200
Subject: ARM: dts: am335x-boneblack: disable RTC-only sleep to avoid hardware
damage
commit 7a6cb0abe1aa63334f3ded6d2b6c8eca80e72302 upstream.
Avoid entering "RTC-only mode" at poweroff. It is unsupported by most
versions of BeagleBone, and risks hardware damage.
The damaging configuration is having system-power-controller
without ti,pmic-shutdown-controller.
Reported-by: Matthijs van Duin <matthijsvanduin at gmail.com>
Tested-by: Matthijs van Duin <matthijsvanduin at gmail.com>
Signed-off-by: Robert Nelson <robertcnelson at gmail.com>
Cc: Tony Lindgren <tony at atomide.com>
Cc: Felipe Balbi <balbi at ti.com>
Cc: Johan Hovold <johan at kernel.org>
[Matthijs van Duin: added explanatory comments]
Signed-off-by: Matthijs van Duin <matthijsvanduin at gmail.com>
Fixes: http://bugs.elinux.org/issues/143
[tony at atomide.com: updated comments with the hardware breaking info]
Signed-off-by: Tony Lindgren <tony at atomide.com>
Signed-off-by: Kamal Mostafa <kamal at canonical.com>
---
arch/arm/boot/dts/am335x-bone-common.dtsi | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
index 2c6248d..7ecde1a 100644
--- a/arch/arm/boot/dts/am335x-bone-common.dtsi
+++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
@@ -223,6 +223,25 @@
/include/ "tps65217.dtsi"
&tps {
+ /*
+ * Configure pmic to enter OFF-state instead of SLEEP-state ("RTC-only
+ * mode") at poweroff. Most BeagleBone versions do not support RTC-only
+ * mode and risk hardware damage if this mode is entered.
+ *
+ * For details, see linux-omap mailing list May 2015 thread
+ * [PATCH] ARM: dts: am335x-bone* enable pmic-shutdown-controller
+ * In particular, messages:
+ * http://www.spinics.net/lists/linux-omap/msg118585.html
+ * http://www.spinics.net/lists/linux-omap/msg118615.html
+ *
+ * You can override this later with
+ * &tps { /delete-property/ ti,pmic-shutdown-controller; }
+ * if you want to use RTC-only mode and made sure you are not affected
+ * by the hardware problems. (Tip: double-check by performing a current
+ * measurement after shutdown: it should be less than 1 mA.)
+ */
+ ti,pmic-shutdown-controller;
+
regulators {
dcdc1_reg: regulator at 0 {
regulator-name = "vdds_dpr";
--
1.9.1
More information about the kernel-team
mailing list