From: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: "Rafael J. Wysocki" <rjw-LthD3rsA81gm4RdzfppkhA@public.gmane.org>,
Kevin Hilman <khilman-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Ulf Hansson <ulf.hansson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Cc: Jonathan Hunter
<jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
Stefan Kristiansson
<stefank-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
Mikko Perttunen
<mperttunen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH v2 0/3] soc/tegra: bpmp: Generic PM domains for Tegra186
Date: Wed, 29 Mar 2017 18:34:49 +0200 [thread overview]
Message-ID: <20170329163452.10761-1-thierry.reding@gmail.com> (raw)
From: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Hi Rafael, Kevin, Ulf,
This series implement generic power domains for Tegra186. Since the
power partitions on Tegra186 have a non-contiguous ID range, the PM
domain core is enhanced with a way to allow PM domain providers to
override the default ->xlate() implementation. This is used to look
up the correct PM domain given the ID read from device tree.
The second patch updates the BPMP ABI header to a version that has
support for the MRQ_PG request which is used to enumerate available
power partitions and control them.
An implementation of the generic PM domains using the MRQ_PG request
is provided in patch 3.
Given the dependency of patch 3 on patch 1 I think it'd be easiest
to get an Acked-by on patch 1 and take all of these through the Tegra
tree. If that's okay with you, I can provide a stable branch with the
first patch that could be pulled into the PM tree to resolve potential
conflicts.
Thanks,
Thierry
Changes in v2:
- take into account PG_STATE_RUNNING in tegra_bpmp_powergate_is_powered()
- check return value of pm_genpd_init() and clean up on failure
- simplify error unwinding in tegra_bpmp_init_powergates()
Thierry Reding (3):
PM / Domains: Allow overriding the ->xlate() callback
soc/tegra: bpmp: Update ABI header
soc/tegra: bpmp: Implement generic PM domains
drivers/base/power/domain.c | 8 +-
drivers/firmware/tegra/bpmp.c | 4 +
drivers/soc/tegra/Kconfig | 5 +
drivers/soc/tegra/Makefile | 1 +
drivers/soc/tegra/powergate-bpmp.c | 359 +++++++++++++++++++++++++++++++
include/linux/pm_domain.h | 4 +
include/soc/tegra/bpmp-abi.h | 418 ++++++++++++++++++++++++++++++++++++-
include/soc/tegra/bpmp.h | 12 ++
8 files changed, 797 insertions(+), 14 deletions(-)
create mode 100644 drivers/soc/tegra/powergate-bpmp.c
--
2.12.0
next reply other threads:[~2017-03-29 16:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-29 16:34 Thierry Reding [this message]
2017-03-29 16:34 ` [PATCH v2 1/3] PM / Domains: Allow overriding the ->xlate() callback Thierry Reding
2017-04-19 14:32 ` Ulf Hansson
[not found] ` <20170329163452.10761-1-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-03-29 16:34 ` [PATCH v2 2/3] soc/tegra: bpmp: Update ABI header Thierry Reding
2017-04-20 0:44 ` Rafael J. Wysocki
[not found] ` <10169152.Khpl4fl1AK-yvgW3jdyMHm1GS7QM15AGw@public.gmane.org>
2017-04-27 14:19 ` Thierry Reding
2017-03-29 16:34 ` [PATCH v2 3/3] soc/tegra: bpmp: Implement generic PM domains Thierry Reding
[not found] ` <20170329163452.10761-4-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-04-19 14:32 ` Ulf Hansson
2017-04-11 15:28 ` [PATCH v2 0/3] soc/tegra: bpmp: Generic PM domains for Tegra186 Thierry Reding
[not found] ` <20170411152838.GA13819-EkSeR96xj6Pcmrwk2tT4+A@public.gmane.org>
2017-04-11 19:37 ` Ulf Hansson
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=20170329163452.10761-1-thierry.reding@gmail.com \
--to=thierry.reding-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=khilman-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mperttunen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=rjw-LthD3rsA81gm4RdzfppkhA@public.gmane.org \
--cc=stefank-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=ulf.hansson-QSEj5FYQhm4dnm+yROfE0A@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