From: Ulf Hansson <ulf.hansson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
Linus Walleij
<linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
"Rafael J. Wysocki" <rjw-LthD3rsA81gm4RdzfppkhA@public.gmane.org>,
Tomasz Figa <tomasz.figa-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Kevin Hilman <khilman-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
Russell King <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>,
Geert Uytterhoeven
<geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>,
Philipp Zabel
<philipp.zabel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Jack Dai <jack.dai-TNX95d0MmH7DzftRWevZcw@public.gmane.org>,
Jinkun Hong <jinkun.hong-TNX95d0MmH7DzftRWevZcw@public.gmane.org>,
Ulf Hansson <ulf.hansson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Subject: [PATCH 0/8] ARM: ux500: Add initial support for PM domains
Date: Tue, 14 Oct 2014 11:12:53 +0200 [thread overview]
Message-ID: <1413277981-27451-1-git-send-email-ulf.hansson@linaro.org> (raw)
This patchset enables initial support for PM domains for ux500.
The implementation is based upon the generic PM domain and its corresponding
DT support, which is used to decribe PM domains and tell what devices resides
in what PM domain.
In this initial step, the VAPE PM domain is added and the devices with
corresponding drivers that properly implements runtime PM support. Especially,
to gate the VAPE PM domain drivers must implement register context save/restore.
Typically that must be done from the driver's runtime PM callbacks.
Currently the generic PM domain, doesn't handle IRQ safe devices very well. For
example, having such device in a PM domain would keep it always powered. The
DMA controller in ux500, handled by the ste_dma40 driver is configured as IRQ
safe. That limitation in the generic PM domain needs to be fixed, prior we can
add the DMA device to the VAPE PM domain.
Ulf Hansson (8):
dt: bindings: ux500: Add documentation for PM domains
dt: bindings: ux500: Add header for PM domains specifiers
ARM: ux500: Initial support for PM domains
ARM: ux500: Enable Kconfig for the generic PM domain
ARM: ux500: Add DT node for ux500 PM domains
ARM: ux500: Add sdi devices to the VAPE PM domain
ARM: ux500: Add spi and ssp devices to the VAPE PM domain
ARM: ux500: Add i2c devices to the VAPE PM domain
.../devicetree/bindings/arm/ux500/power_domain.txt | 35 ++++++++++
arch/arm/boot/dts/ste-dbx5x0.dtsi | 22 ++++++
arch/arm/mach-ux500/Kconfig | 1 +
arch/arm/mach-ux500/Makefile | 1 +
arch/arm/mach-ux500/pm.c | 4 ++
arch/arm/mach-ux500/pm_domains.c | 79 ++++++++++++++++++++++
arch/arm/mach-ux500/pm_domains.h | 17 +++++
include/dt-bindings/arm/ux500_pm_domains.h | 15 ++++
8 files changed, 174 insertions(+)
create mode 100644 Documentation/devicetree/bindings/arm/ux500/power_domain.txt
create mode 100644 arch/arm/mach-ux500/pm_domains.c
create mode 100644 arch/arm/mach-ux500/pm_domains.h
create mode 100644 include/dt-bindings/arm/ux500_pm_domains.h
--
1.9.1
--
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
next reply other threads:[~2014-10-14 9:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-14 9:12 Ulf Hansson [this message]
[not found] ` <1413277981-27451-1-git-send-email-ulf.hansson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-10-14 9:12 ` [PATCH 1/8] dt: bindings: ux500: Add documentation for PM domains Ulf Hansson
2014-10-14 9:12 ` [PATCH 2/8] dt: bindings: ux500: Add header for PM domains specifiers Ulf Hansson
2014-10-14 9:12 ` [PATCH 3/8] ARM: ux500: Initial support for PM domains Ulf Hansson
2014-10-14 9:12 ` [PATCH 4/8] ARM: ux500: Enable Kconfig for the generic PM domain Ulf Hansson
2014-10-14 9:12 ` [PATCH 5/8] ARM: ux500: Add DT node for ux500 PM domains Ulf Hansson
2014-10-14 9:12 ` [PATCH 6/8] ARM: ux500: Add sdi devices to the VAPE PM domain Ulf Hansson
2014-10-14 9:13 ` [PATCH 7/8] ARM: ux500: Add spi and ssp " Ulf Hansson
2014-10-14 9:13 ` [PATCH 8/8] ARM: ux500: Add i2c " Ulf Hansson
2014-10-28 9:51 ` [PATCH 0/8] ARM: ux500: Add initial support for PM domains Linus Walleij
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=1413277981-27451-1-git-send-email-ulf.hansson@linaro.org \
--to=ulf.hansson-qsej5fyqhm4dnm+yrofe0a@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org \
--cc=jack.dai-TNX95d0MmH7DzftRWevZcw@public.gmane.org \
--cc=jinkun.hong-TNX95d0MmH7DzftRWevZcw@public.gmane.org \
--cc=khilman-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org \
--cc=philipp.zabel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=rjw-LthD3rsA81gm4RdzfppkhA@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=tomasz.figa-Re5JQEeQqe8AvxtiuMwx3w@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).