From: Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
To: Dave Gerlach <d-gerlach-l0cyMroinI0@public.gmane.org>
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Benoit Cousson <bcousson-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>,
Paul Walmsley <paul-DWxLp4Yu+b8AvxtiuMwx3w@public.gmane.org>,
Kevin Hilman <khilman-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Subject: Re: [RFC PATCH v5 0/4] ARM: OMAP2+: AM33XX: Add suspend-resume support
Date: Tue, 20 Jan 2015 10:03:47 -0800 [thread overview]
Message-ID: <20150120180347.GJ7718@atomide.com> (raw)
In-Reply-To: <cover.1417038624.git.d-gerlach-l0cyMroinI0@public.gmane.org>
* Dave Gerlach <d-gerlach-l0cyMroinI0@public.gmane.org> [141126 13:54]:
> Hi,
> This series is v5 of the series to add suspend/resume support for Texas
> Instruments AM335x SoC. It has gone through a rather major overhaul
> since the last version and because of that has been split into multiple
> different sets of patches, on which this series depends. Previous discussion
> that influenced there changes can be found here [1]. This series depends on
> generic sram exec mapping patch here [2], emif series here [3],
> and wkup_m3_ipc series here [4]. I have pushed a branch containing the patches
> from ALL required series here [5] for testing or a view of the high level
> flow of the entire series.
>
> The largest change with this revision is the introduction of a
> wkup_m3_ipc driver which handles all communication with the Cortex M3
> present on am335x for handling low power tasks. Previously this was
> handled in the wkup_m3_rproc driver (also sent in an earlier series)
> but that driver is now only responsible for booting the wkup_m3. The
> wkup_m3_ipc driver exposes an API with all required PM functionality
> needed by the PM code introduced by this series, so the PM code has
> shrunk considerably.
>
> Another major change is that the EMIF code previously present in the
> sleep33xx asm code and pm33xx code for save and restore of EMIF context
> and entry into low power mode has all been moved in to a separate EMIF
> driver, further reducing the size of the PM code. Because of this, moving
> the emif header defines into include/linux/ti_emif.h is no longer necessary.
>
> Other changes include clean up of the timer suspend/resume handlers, now
> look up hwmod in init and use that handle along with renaming to
> *_idle/*_unidle to avoid confusion with true suspend handlers.
>
> Suspend support requires:
> CONFIG_TI_EMIF_SRAM
> CONFIG_WKUP_M3_RPROC
> CONFIG_WKUP_M3_IPC
>
> And also requires AM335x USB support to be enabled to work for multiple
> cycles. If you want to load firmware from rootfs in /lib/firmware you now
> must also select CONFIG_FW_LOADER_USER_HELPER_FALLBACK.
>
> This code works with version 0x189 of the CM3 firmware found here [6] on
> the next branch, /bin/am335x-pm-firmware.elf.
Dave, does this series have dependencies to the other patches? Can some
parts of this already be applied without breaking anything?
Regards,
Tony
> [1] http://www.spinics.net/lists/linux-omap/msg109331.html
> [2] http://www.spinics.net/linux/lists/kernel/msg1876629.html
> [3] http://www.spinics.net/linux/lists/kernel/msg1876646.html
> [4] http://www.spinics.net/linux/lists/kernel/msg1876642.html
> [5] https://github.com/dgerlach/linux-pm/tree/rfc-pm-am335x-v3.18-rc6
> [6] https://git.ti.com/ti-cm3-pm-firmware/amx3-cm3/commits/next
>
> Dave Gerlach (3):
> ARM: OMAP2+: AM33XX: Add assembly code for PM operations
> ARM: OMAP2+: AM33XX: Basic suspend resume support
> ARM: OMAP2+: AM33XX: Hookup AM33XX PM code into OMAP builds
>
> Vaibhav Bedia (1):
> ARM: OMAP2+: timer: Add suspend-resume callbacks for clkevent device
>
> arch/arm/boot/dts/am33xx.dtsi | 2 +
> arch/arm/mach-omap2/Makefile | 2 +
> arch/arm/mach-omap2/common.h | 9 ++
> arch/arm/mach-omap2/io.c | 1 +
> arch/arm/mach-omap2/pm.h | 6 +
> arch/arm/mach-omap2/pm33xx.c | 250 ++++++++++++++++++++++++++++++++++++++++
> arch/arm/mach-omap2/sleep33xx.S | 216 ++++++++++++++++++++++++++++++++++
> arch/arm/mach-omap2/timer.c | 28 +++++
> 8 files changed, 514 insertions(+)
> create mode 100644 arch/arm/mach-omap2/pm33xx.c
> create mode 100644 arch/arm/mach-omap2/sleep33xx.S
>
> --
> 2.1.0
>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: tony@atomide.com (Tony Lindgren)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH v5 0/4] ARM: OMAP2+: AM33XX: Add suspend-resume support
Date: Tue, 20 Jan 2015 10:03:47 -0800 [thread overview]
Message-ID: <20150120180347.GJ7718@atomide.com> (raw)
In-Reply-To: <cover.1417038624.git.d-gerlach@ti.com>
* Dave Gerlach <d-gerlach@ti.com> [141126 13:54]:
> Hi,
> This series is v5 of the series to add suspend/resume support for Texas
> Instruments AM335x SoC. It has gone through a rather major overhaul
> since the last version and because of that has been split into multiple
> different sets of patches, on which this series depends. Previous discussion
> that influenced there changes can be found here [1]. This series depends on
> generic sram exec mapping patch here [2], emif series here [3],
> and wkup_m3_ipc series here [4]. I have pushed a branch containing the patches
> from ALL required series here [5] for testing or a view of the high level
> flow of the entire series.
>
> The largest change with this revision is the introduction of a
> wkup_m3_ipc driver which handles all communication with the Cortex M3
> present on am335x for handling low power tasks. Previously this was
> handled in the wkup_m3_rproc driver (also sent in an earlier series)
> but that driver is now only responsible for booting the wkup_m3. The
> wkup_m3_ipc driver exposes an API with all required PM functionality
> needed by the PM code introduced by this series, so the PM code has
> shrunk considerably.
>
> Another major change is that the EMIF code previously present in the
> sleep33xx asm code and pm33xx code for save and restore of EMIF context
> and entry into low power mode has all been moved in to a separate EMIF
> driver, further reducing the size of the PM code. Because of this, moving
> the emif header defines into include/linux/ti_emif.h is no longer necessary.
>
> Other changes include clean up of the timer suspend/resume handlers, now
> look up hwmod in init and use that handle along with renaming to
> *_idle/*_unidle to avoid confusion with true suspend handlers.
>
> Suspend support requires:
> CONFIG_TI_EMIF_SRAM
> CONFIG_WKUP_M3_RPROC
> CONFIG_WKUP_M3_IPC
>
> And also requires AM335x USB support to be enabled to work for multiple
> cycles. If you want to load firmware from rootfs in /lib/firmware you now
> must also select CONFIG_FW_LOADER_USER_HELPER_FALLBACK.
>
> This code works with version 0x189 of the CM3 firmware found here [6] on
> the next branch, /bin/am335x-pm-firmware.elf.
Dave, does this series have dependencies to the other patches? Can some
parts of this already be applied without breaking anything?
Regards,
Tony
> [1] http://www.spinics.net/lists/linux-omap/msg109331.html
> [2] http://www.spinics.net/linux/lists/kernel/msg1876629.html
> [3] http://www.spinics.net/linux/lists/kernel/msg1876646.html
> [4] http://www.spinics.net/linux/lists/kernel/msg1876642.html
> [5] https://github.com/dgerlach/linux-pm/tree/rfc-pm-am335x-v3.18-rc6
> [6] https://git.ti.com/ti-cm3-pm-firmware/amx3-cm3/commits/next
>
> Dave Gerlach (3):
> ARM: OMAP2+: AM33XX: Add assembly code for PM operations
> ARM: OMAP2+: AM33XX: Basic suspend resume support
> ARM: OMAP2+: AM33XX: Hookup AM33XX PM code into OMAP builds
>
> Vaibhav Bedia (1):
> ARM: OMAP2+: timer: Add suspend-resume callbacks for clkevent device
>
> arch/arm/boot/dts/am33xx.dtsi | 2 +
> arch/arm/mach-omap2/Makefile | 2 +
> arch/arm/mach-omap2/common.h | 9 ++
> arch/arm/mach-omap2/io.c | 1 +
> arch/arm/mach-omap2/pm.h | 6 +
> arch/arm/mach-omap2/pm33xx.c | 250 ++++++++++++++++++++++++++++++++++++++++
> arch/arm/mach-omap2/sleep33xx.S | 216 ++++++++++++++++++++++++++++++++++
> arch/arm/mach-omap2/timer.c | 28 +++++
> 8 files changed, 514 insertions(+)
> create mode 100644 arch/arm/mach-omap2/pm33xx.c
> create mode 100644 arch/arm/mach-omap2/sleep33xx.S
>
> --
> 2.1.0
>
next prev parent reply other threads:[~2015-01-20 18:03 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-26 21:52 [RFC PATCH v5 0/4] ARM: OMAP2+: AM33XX: Add suspend-resume support Dave Gerlach
2014-11-26 21:52 ` Dave Gerlach
2014-11-26 21:52 ` [RFC PATCH v5 1/4] ARM: OMAP2+: timer: Add suspend-resume callbacks for clkevent device Dave Gerlach
2014-11-26 21:52 ` Dave Gerlach
2014-11-26 21:52 ` [RFC PATCH v5 2/4] ARM: OMAP2+: AM33XX: Add assembly code for PM operations Dave Gerlach
2014-11-26 21:52 ` Dave Gerlach
2014-11-26 21:52 ` [RFC PATCH v5 3/4] ARM: OMAP2+: AM33XX: Basic suspend resume support Dave Gerlach
2014-11-26 21:52 ` Dave Gerlach
2014-11-26 21:52 ` [RFC PATCH v5 4/4] ARM: OMAP2+: AM33XX: Hookup AM33XX PM code into OMAP builds Dave Gerlach
2014-11-26 21:52 ` Dave Gerlach
[not found] ` <cover.1417038624.git.d-gerlach-l0cyMroinI0@public.gmane.org>
2015-01-20 18:03 ` Tony Lindgren [this message]
2015-01-20 18:03 ` [RFC PATCH v5 0/4] ARM: OMAP2+: AM33XX: Add suspend-resume support Tony Lindgren
2015-01-20 20:32 ` Dave Gerlach
2015-01-20 20:32 ` Dave Gerlach
2015-01-20 21:22 ` Tony Lindgren
2015-01-20 21:22 ` Tony Lindgren
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=20150120180347.GJ7718@atomide.com \
--to=tony-4v6ys6ai5vpbdgjk7y7tuq@public.gmane.org \
--cc=bcousson-rdvid1DuHRBWk0Htik3J/w@public.gmane.org \
--cc=d-gerlach-l0cyMroinI0@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=khilman-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=paul-DWxLp4Yu+b8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.