Add generic PM domain support for Tegra
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest14 patches 0 repliesNew
- v416 patches 44 repliesApplied
- v319 patches 0 repliesSuperseded
Patches in v5 No applies recorded yet
Reviews trailers per patch
4 of 29 patches have a Reviewed-by or Acked-by.
| Patch | Rob Herring |
|---|---|
| 1/14 | |
| 2/14 | |
| 2/14 | |
| 3/14 | |
| 4/14 | |
| 5/14 | |
| 5/14 | |
| 5/14 | |
| 6/14 | |
| 6/14 | |
| 7/14 | |
| 8/14 | |
| 8/14 | |
| 9/14 | A-b |
| 10/14 | A-b |
| 10/14 | A-b |
| 10/14 | A-b |
| 11/14 | |
| 11/14 | |
| 11/14 | |
| 11/14 | |
| 11/14 | |
| 11/14 | |
| 11/14 | |
| 11/14 | |
| 11/14 | |
| 12/14 | |
| 13/14 | |
| 14/14 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V5 00/14] Add generic PM domain support for Tegra
Adds generic PM domain support for Tegra SoCs but this series only enables support for it on Tegra 64-bit devices. There is no reason why this cannot be enable for Tegra 32-bit devices, but to keep the patch series to a minimum only 64-bit devices are enabled so far.
This series has been boot tested on Tegra210 as well as various 32-bit Tegra platforms.
Summary of changes since V4 [1]:
- Re-worked fix to handle base address on probe failure
- Added patch to lock around simultaneuous accesses to PMC registers
- Added patch to change powergate and rail IDs to unsigned type
- Added patch to fix testing of powergate state
- Updated patch to check for valid powergates to use a bitmap
- Updated Tegra DT PMC bindings per Rob H's feedback
- Updated Tegra power domains binding per Thierry's feedback
- Updated Tegra generic power domain support per Thierry's feedback
Summary of changes since V3 [0]:
- Dropped tegra124 support for now
- Removed MC flush support per feedback from Thierry
- Cleaned up the PMC changes per feedback from Thierry
- Added support for tegra210
Series Summary:
Patch 1-7: PMC clean-up and fixes Patch 8: Adds function to remove a generic PM domain Patch 9: Updates DT documentation for tegra PMC Patch 10: Adds DT documentation for tegra generic PM domains Patch 11: Adds PMC generic DM domains support Patch 12: Adds audio clock for Tegra210 audio power-domain Patch 13: Adds DT bindings for Tegra210 audio power-domain Patch 14: Enable generic PM domains for tegra64
[0] http://comments.gmane.org/gmane.linux.ports.tegra/22944
[1] http://marc.info/?l=linux-tegra&m=144924153600529&w=2
Jon Hunter (14):
soc: tegra: pmc: Restore base address on probe failure
soc: tegra: pmc: Protect public functions from potential race
conditions
soc: tegra: pmc: Change powergate and rail IDs to be an unsigned type
soc: tegra: pmc: Fix testing of powergate state
soc: tegra: pmc: Wait for powergate state to change
soc: tegra: pmc: Fix checking of valid partitions
soc: tegra: pmc: Ensure partitions can be toggled on/off by PMC PM / Domains: Add function to remove a pm-domain
Documentation: DT: bindings: Update NVIDIA PMC for Tegra
Documentation: DT: bindings: Add power domain info for NVIDIA PMC
soc: tegra: pmc: Add generic PM domain support
clk: tegra210: Add the APB2APE audio clock
ARM64: tegra: Add audio PM domain device node for Tegra210
ARM64: tegra: select PM_GENERIC_DOMAINS
.../bindings/arm/tegra/nvidia,tegra20-pmc.txt | 67 ++- arch/arm/mach-tegra/platsmp.c | 16 +- arch/arm64/Kconfig.platforms | 2 + arch/arm64/boot/dts/nvidia/tegra210.dtsi | 11 +- drivers/base/power/domain.c | 26 + drivers/clk/tegra/clk-id.h | 1 + drivers/clk/tegra/clk-tegra-periph.c | 1 + drivers/clk/tegra/clk-tegra210.c | 1 + drivers/gpu/drm/tegra/drm.h | 2 +- drivers/soc/tegra/pmc.c | 603 ++++++++++++++++++--- include/dt-bindings/clock/tegra210-car.h | 2 +- include/dt-bindings/power/tegra-powergate.h | 36 ++ include/linux/pm_domain.h | 5 + include/soc/tegra/pmc.h | 73 +-- 14 files changed, 709 insertions(+), 137 deletions(-) create mode 100644 include/dt-bindings/power/tegra-powergate.h
Signature · 1 line
2.1.4