From: tony@atomide.com (Tony Lindgren) Date: Mon, 1 Jun 2015 10:12:09 -0700 Subject: [PATCH] ARM: dts: am335x-boneblack: disable RTC-only sleep In-Reply-To: References: <1432136322-7609-1-git-send-email-robertcnelson@gmail.com> Message-ID: <20150601171209.GW30984@atomide.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org * Robert Nelson [150531 19:20]: > On Sun, May 31, 2015 at 7:20 PM, Matthijs van Duin > wrote: > > Sorry for the late response, I only just noticed this since I wasn't CC'd. > > > > This "fix" was not ever Reported-By or Tested-By me as it claims. It > > is in fact wrong: &rtc { system-power-controller; } needs to be > > present for every variety of beaglebone (more generally every design > > with a TPS65217 whose PWR_EN is connected to the PMIC_POWER_EN pin of > > an AM335x). > > > > Without a system-power-controller, the kernel has no way of turning > > off the system and shutdown will leave the system halted instead. > > > > The previously posted fix, which added &tps { > > ti,pmic-shutdown-controller; } was correct, and ensures that a > > poweroff makes the pmic enter "OFF-state" rather than "SLEEP-state" > > (aka RTC-only sleep). > > Sorry Matthijs, (and everyone else) > > That's my fault for completely screwing up this patch.. Hmm OK. So do we now have a situation in the mainline that can potentially cause hardware damage? It seems we don't need to revert anything, just apply Matthijs' new patch? Regards, Tony