public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: d-gerlach@ti•com (Dave Gerlach)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCHv3 0/9] ARM: OMAP2+: AM33XX: Add suspend-resume support
Date: Mon, 19 Aug 2013 12:47:37 -0500	[thread overview]
Message-ID: <52125A39.3010008@ti.com> (raw)
In-Reply-To: <5211E3F6.6090108@ti.com>

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

Regards,
Dave

>>
>> Changes in v3:
>> - Moved wkup_m3 code into separate driver
>> - Split up ti_emif header move
>> - Addressed clean-up comments
>> - Removed mailbox patches
>> - v2-v3 Discussion:
>> http://marc.info/?l=linux-arm-kernel&m=135698501821090&w=4
>>
>> Changes in v2:
>> - Broke patches up to isolate assembly code and build hookup.
>> - Moved control module code to separate module
>> - v1->v2 Discussion:
>> http://lists.infradead.org/pipermail/linux-arm-kernel/2012-November/129508.html
>>
>> Regards,
>> Dave
>>
>> [1] http://marc.info/?l=linux-arm-kernel&m=137303736714638&w=4
>> [2] http://marc.info/?l=linux-omap&m=137303723114610&w=4
>> [3] http://marc.info/?l=linux-omap&m=137401384611934&w=4
>> [4] http://arago-project.org/git/projects/?p=am33x-cm3.git;a=shortlog;h=refs/heads/next2
>>
>>
>> Dave Gerlach (1):
>>    memory: emif: Move EMIF register defines to include/linux/
>>
>> Vaibhav Bedia (8):
>>    ARM: OMAP2+: AM33XX: control: Add some control module registers and
>>      APIs
>>    ARM: OMAP: DTB: Update IRQ data for WKUP_M3
>>    ARM: OMAP2+: AM33XX: Reserve memory to comply with EMIF spec
>>    ARM: OMAP2+: AM33XX: Add assembly code for PM operations
>>    ARM: OMAP2+: timer: Add suspend-resume callbacks for clkevent device
>>    ARM: OMAP: omap_device: Add APIs to enable and idle hwmods
>>    ARM: OMAP2+: AM33XX: Basic suspend resume support
>>    ARM: OMAP2+: AM33XX: Hookup AM33XX PM code into OMAP builds
>>
>>   arch/arm/boot/dts/am33xx.dtsi       |    1 +
>>   arch/arm/mach-omap2/Kconfig         |    7 +-
>>   arch/arm/mach-omap2/Makefile        |    2 +
>>   arch/arm/mach-omap2/board-generic.c |    3 +-
>>   arch/arm/mach-omap2/common.c        |   28 ++
>>   arch/arm/mach-omap2/common.h        |   14 +
>>   arch/arm/mach-omap2/control.c       |   57 ++++
>>   arch/arm/mach-omap2/control.h       |   54 ++++
>>   arch/arm/mach-omap2/io.c            |    6 +
>>   arch/arm/mach-omap2/omap_device.c   |    8 +
>>   arch/arm/mach-omap2/omap_device.h   |    2 +
>>   arch/arm/mach-omap2/pm.c            |    3 +-
>>   arch/arm/mach-omap2/pm.h            |    5 +
>>   arch/arm/mach-omap2/pm33xx.c        |  474 +++++++++++++++++++++++++++++
>>   arch/arm/mach-omap2/pm33xx.h        |   77 +++++
>>   arch/arm/mach-omap2/sleep33xx.S     |  350 ++++++++++++++++++++++
>>   arch/arm/mach-omap2/sram.c          |   10 +-
>>   arch/arm/mach-omap2/sram.h          |    2 +
>>   arch/arm/mach-omap2/timer.c         |   32 ++
>>   arch/arm/mach-omap2/wkup_m3.c       |  183 ++++++++++++
>>   drivers/memory/emif.h               |  543 +---------------------------------
>>   include/linux/ti_emif.h             |  558 +++++++++++++++++++++++++++++++++++
>>   22 files changed, 1872 insertions(+), 547 deletions(-)
>>   create mode 100644 arch/arm/mach-omap2/pm33xx.c
>>   create mode 100644 arch/arm/mach-omap2/pm33xx.h
>>   create mode 100644 arch/arm/mach-omap2/sleep33xx.S
>>   create mode 100644 arch/arm/mach-omap2/wkup_m3.c
>>   create mode 100644 include/linux/ti_emif.h
>>
>

  reply	other threads:[~2013-08-19 17:47 UTC|newest]

Thread overview: 106+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-06 17:49 [PATCHv3 0/9] ARM: OMAP2+: AM33XX: Add suspend-resume support Dave Gerlach
2013-08-06 17:49 ` [PATCHv3 1/9] memory: emif: Move EMIF register defines to include/linux/ Dave Gerlach
2013-08-08  0:48   ` Russ Dill
2013-08-08 13:35   ` Santosh Shilimkar
2013-08-12 19:32     ` Greg Kroah-Hartman
2013-08-12 19:33       ` Santosh Shilimkar
2013-08-06 17:49 ` [PATCHv3 2/9] ARM: OMAP2+: AM33XX: control: Add some control module registers and APIs Dave Gerlach
2013-08-08  0:52   ` Russ Dill
2013-08-08 13:44   ` Santosh Shilimkar
2013-08-08 16:16     ` Dave Gerlach
2013-08-09  5:11       ` Tony Lindgren
2013-08-09 20:55         ` Dave Gerlach
2013-08-12  7:54           ` Tony Lindgren
2013-08-12 19:17           ` Kevin Hilman
2013-08-12 21:40             ` Dave Gerlach
2013-08-13 14:29               ` Kevin Hilman
2013-08-13 15:08                 ` Santosh Shilimkar
2013-08-13 16:19                   ` Kevin Hilman
2013-08-13 18:18                     ` Santosh Shilimkar
2013-08-13 18:30                       ` Russ Dill
2013-08-13 18:40                         ` Santosh Shilimkar
2013-08-13 19:11                         ` Kevin Hilman
2013-08-14 17:27                           ` Suman Anna
2013-08-14 19:16                             ` Russ Dill
2013-08-20 23:39                             ` Paul Walmsley
2013-08-21 17:32                               ` Suman Anna
2013-08-06 17:49 ` [PATCHv3 3/9] ARM: OMAP: DTB: Update IRQ data for WKUP_M3 Dave Gerlach
2013-08-08  0:53   ` Russ Dill
2013-08-08 13:46   ` Santosh Shilimkar
2013-08-06 17:49 ` [PATCHv3 4/9] ARM: OMAP2+: AM33XX: Reserve memory to comply with EMIF spec Dave Gerlach
2013-08-08  2:30   ` Russ Dill
2013-08-08 14:19   ` Santosh Shilimkar
2013-08-08 18:16   ` Kevin Hilman
2013-08-08 19:31     ` Santosh Shilimkar
2013-08-08 20:05       ` Kevin Hilman
2013-08-08 20:11         ` Santosh Shilimkar
2013-08-09 15:11           ` Kevin Hilman
2013-08-09 16:25             ` Dave Gerlach
2013-08-06 17:49 ` [PATCHv3 5/9] ARM: OMAP2+: AM33XX: Add assembly code for PM operations Dave Gerlach
2013-08-08  7:02   ` Russ Dill
2013-08-08 14:50   ` Santosh Shilimkar
2013-08-08 15:16     ` Russ Dill
2013-08-08 15:22       ` Santosh Shilimkar
2013-08-08 16:03         ` Russ Dill
2013-08-19 12:54   ` Gururaja Hebbar
2013-08-19 17:51     ` Dave Gerlach
2013-08-06 17:49 ` [PATCHv3 6/9] ARM: OMAP2+: timer: Add suspend-resume callbacks for clkevent device Dave Gerlach
2013-08-08  7:03   ` Russ Dill
2013-08-08 14:23   ` Santosh Shilimkar
2013-08-08 16:09     ` Dave Gerlach
2013-08-08 18:25   ` Kevin Hilman
2013-08-08 19:49     ` Dave Gerlach
2013-08-06 17:49 ` [PATCHv3 7/9] ARM: OMAP: omap_device: Add APIs to enable and idle hwmods Dave Gerlach
2013-08-08  7:05   ` Russ Dill
2013-08-08 14:26   ` Santosh Shilimkar
2013-08-06 17:49 ` [PATCHv3 8/9] ARM: OMAP2+: AM33XX: Basic suspend resume support Dave Gerlach
2013-08-07 16:22   ` Nishanth Menon
2013-08-07 18:12     ` Dave Gerlach
2013-08-07 19:16       ` Nishanth Menon
2013-08-08  8:45   ` Russ Dill
2013-08-08 12:26     ` Nishanth Menon
2013-08-08 15:03       ` Santosh Shilimkar
2013-08-08 16:06         ` Dave Gerlach
2013-08-08 16:22           ` Nishanth Menon
2013-08-08 21:14           ` Kevin Hilman
2013-08-08 21:32             ` Nishanth Menon
2013-08-08 23:04               ` Kevin Hilman
2013-08-09 15:11                 ` Nishanth Menon
2013-08-09 16:12                   ` Kevin Hilman
2013-08-09 16:36                     ` Nishanth Menon
2013-08-09 20:34                       ` Kevin Hilman
2013-08-09 21:35                         ` Nishanth Menon
2013-08-09 22:28                         ` Russ Dill
2013-08-12 16:09                           ` Kevin Hilman
2013-08-30 17:29                 ` Vaibhav Bedia
2013-08-20 22:48             ` Paul Walmsley
2013-08-23 14:56               ` Dave Gerlach
2013-08-13  7:43   ` Russ Dill
2013-08-13 14:59     ` Kevin Hilman
2013-08-27 21:45   ` Kevin Hilman
2013-08-29 21:41     ` Dave Gerlach
2013-08-29 22:02       ` Kevin Hilman
2013-08-30 17:39     ` Vaibhav Bedia
2013-08-30 21:18       ` Kevin Hilman
2013-08-06 17:49 ` [PATCHv3 9/9] ARM: OMAP2+: AM33XX: Hookup AM33XX PM code into OMAP builds Dave Gerlach
2013-08-08  8:47   ` Russ Dill
2013-08-08 14:53   ` Santosh Shilimkar
2013-08-08 13:31 ` [PATCHv3 0/9] ARM: OMAP2+: AM33XX: Add suspend-resume support Santosh Shilimkar
2013-08-11 11:53 ` Daniel Mack
2013-08-12 18:59   ` Dave Gerlach
2013-08-13 12:39     ` Daniel Mack
2013-08-13 15:33       ` Dave Gerlach
2013-08-13 15:51         ` Daniel Mack
2013-08-19  9:23 ` Gururaja Hebbar
2013-08-19 17:47   ` Dave Gerlach [this message]
2013-08-27 20:23     ` Kevin Hilman
2013-08-29 21:30       ` Dave Gerlach
2013-08-29 21:52         ` Kevin Hilman
2013-08-29 22:20           ` Dave Gerlach
2013-08-29 22:20         ` Kevin Hilman
2013-08-29 22:43           ` Russ Dill
2013-08-29 23:02             ` Kevin Hilman
2013-09-03 17:24               ` Dave Gerlach
2013-09-04 15:01                 ` Kevin Hilman
2013-09-04 15:12                   ` Russ Dill
2013-09-04 15:18                     ` Kevin Hilman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52125A39.3010008@ti.com \
    --to=d-gerlach@ti$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox