linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: thomas.abraham@linaro.org (Thomas Abraham)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/2] ARM: Exynos: Adapt to generic power domain
Date: Sat, 07 Jan 2012 15:40:53 +0530	[thread overview]
Message-ID: <1325931055-14486-1-git-send-email-thomas.abraham@linaro.org> (raw)

Changes since v1:
- Added a OF wrapper around __pm_genpd_add_device as suggested by Rafael.
- Added cpu_relax and usleep_range during waits for power domain to be
  enabled/disabled.
- Added static registrations of devices to power domains for non-dt
  platforms.

The power domains available on Exynos4 are made controllable using the generic
power domain infrastructure. The Samsung specific power domain control code
for Exynos4 is removed. Support for both DT and non-DT Exynos platforms is
added.

The first patch adds device tree support for generic power domain. A device
node is added to the generic power domain strucure that represents a power
domain node in the device tree. Other device nodes in the device tree can
include a property with a phandle of the power domain node which will enable
that device to be associated with a power domain.

The second patch registers available power domains to generic power domain
framework with support for both dt and non-dt platforms. The Samsung specific
power domain control support is removed.

The patchset is based on the following tree
http://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git for-next

with all patches merged from
http://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next

Thomas Abraham (2):
  PM / Domains: Add OF support
  ARM: Exynos: Hook up power domains to generic power domain infrastructure

 arch/arm/mach-exynos/Kconfig               |   10 +--
 arch/arm/mach-exynos/Makefile              |    2 +-
 arch/arm/mach-exynos/dev-pd.c              |  139 ---------------------
 arch/arm/mach-exynos/mach-nuri.c           |   11 --
 arch/arm/mach-exynos/mach-origen.c         |   14 --
 arch/arm/mach-exynos/mach-smdkv310.c       |   12 --
 arch/arm/mach-exynos/mach-universal_c210.c |   17 ---
 arch/arm/mach-exynos/pm_domains.c          |  183 ++++++++++++++++++++++++++++
 drivers/base/power/domain.c                |   32 +++++
 include/linux/pm_domain.h                  |   12 ++
 10 files changed, 229 insertions(+), 203 deletions(-)
 delete mode 100644 arch/arm/mach-exynos/dev-pd.c
 create mode 100644 arch/arm/mach-exynos/pm_domains.c

             reply	other threads:[~2012-01-07 10:10 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-07 10:10 Thomas Abraham [this message]
2012-01-07 10:10 ` [PATCH v2 1/2] PM / Domains: Add OF support Thomas Abraham
2012-01-08 21:23   ` Rafael J. Wysocki
2012-01-09 13:11     ` Thomas Abraham
2012-01-17  7:22     ` Kukjin Kim
2012-01-17 20:45       ` Rafael J. Wysocki
2012-01-31  5:53         ` Kukjin Kim
2012-02-01 21:32           ` Rafael J. Wysocki
2012-01-07 10:10 ` [PATCH v2 2/2] ARM: Exynos: Hook up power domains to generic power domain infrastructure Thomas Abraham
2012-01-07 14:44   ` Sylwester Nawrocki
2012-01-09 13:19     ` Thomas Abraham
2012-01-09  0:27   ` Kyungmin Park
2012-01-09 13:23     ` Thomas Abraham

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=1325931055-14486-1-git-send-email-thomas.abraham@linaro.org \
    --to=thomas.abraham@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.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).