soc/tegra: bpmp: Generic PM domains for Tegra186
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 of 3 patches 5 repliesIn review
- v12 of 3 patches 3 repliesSuperseded
Changes in v2 from the cover letter
- 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()
2 of 3 patches are in this archive. The cover letter announces 3.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 2/3 | soc/tegra: bpmp: Update ABI headerinclude/ | +408 | 2 replies | |
| 3/3 | soc/tegra: bpmp: Implement generic PM domainsdrivers/ drivers/ drivers/ +2 more | +381 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Ulf Hansson |
|---|---|
| Series | A-b |
| 2/3 | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] soc/tegra: bpmp: Generic PM domains for Tegra186
From: Thierry Reding <[email protected]>
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
Signature · 1 line
2.12.0