From mboxrd@z Thu Jan 1 00:00:00 1970 From: d-gerlach@ti.com (Dave Gerlach) Date: Thu, 29 Aug 2013 16:30:19 -0500 Subject: [PATCHv3 0/9] ARM: OMAP2+: AM33XX: Add suspend-resume support In-Reply-To: <87vc2qyjao.fsf@linaro.org> References: <1375811376-49985-1-git-send-email-d-gerlach@ti.com> <5211E3F6.6090108@ti.com> <52125A39.3010008@ti.com> <87vc2qyjao.fsf@linaro.org> Message-ID: <521FBD6B.3020208@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 08/27/2013 03:23 PM, Kevin Hilman wrote: > Hi Dave, > > Dave Gerlach writes: > >> On 08/19/2013 04:23 AM, Gururaja Hebbar wrote: >>> On 8/6/2013 11:19 PM, Dave Gerlach wrote: >>>> Hi, >>>> >>>> This is the third version of the patch series for adding basic suspend-resume >>>> support for AM33XX, previously submitted by Vaibhav Bedia. This patchset >>>> is based on 3.11-rc4 and depends on a forthcoming patchset from Suman Anna >>>> that adds mailbox support for the wkup_m3. The patches at [1], [2], and [3] are >>>> required for the pm code to properly suspend and resume. >>>> >>>> The PM code uses the firmware interface and expects the userspace to load >>>> the WKUP_M3 binary before the suspend-resume functionality is made available. >>>> The binary file (and the source-code for WKUP_M3) can be obtained from the >>>> 'next2' branch at [4]. The WKUP_M3 binary can either be loaded post bootup >>>> via the sysfs entry './sys/devices/ocp.2/wkup_m3.4/firmware' or it can be >>>> included in the kernel image as part of the build process. >>>> >>>> Suspend to mem is tested on am335x-bone and am335x-evm. >>>> >>>> More details on AM335x suspend-resume are provided within the commit logs >>>> for each patch. >>> >>> can you share the working repo which has all these patches applied? >>> >>> Thanks & Regards >>> Gururaja >>> >> >> The working repo for this version of the patch series can be found here: >> >> git://github.com/dgerlach/linux-pm.git am335x-3.11rc4-suspend-resume > > I tried this branch on my beaglebone black, and it's not fully resuming. > Suspend seems to be working (power draw goes from ~1W to ~130mW) and > pressing a key on the UART seems to be waking up the SoC (power draw > goes to ~600mW) but I don't ever get the console back. > > Is there a specific version of the firmware I should be using? > > Kevin > Kevin, I agree there does seem to be some issues with Beaglebone black. I can confirm it works on BeagleBone White and the large am335 EVM, I am working on pinpointing the issue on beaglebone black, seems that support isn't quite there yet. Regards, Dave