OMAP: iommu: hwmod support and runtime PM
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest4 patches 0 repliesNew
- v34 patches 10 repliesSuperseded
- v24 patches 0 repliesSuperseded
Changes in v4 from the cover letter
- Rebased to 3.2-rc5 LO.
- Added missing clkdm field for OMAP4 hwmod data.
- Moved pm runtime enable/disable to probe/remove functions as suggested by MyungJoo Ham.
- Removed HWMOD_INIT_NO_RESET as it is not needed and because of Kevin Hilman's comments, the failure I was seeing without HWMOD_INIT_NO_RESET might have been related to local changes as it couldn't be reproduced anymore.
- Removed iommu latency as it is the same as the default omap latency.
- Tested on OMAP3 (zoom3 + tidspbridge) and OMAP4 (Panda + rpmsg).
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | OMAP3: hwmod data: add mmu data for iva and isparch/ arch/ | +148 | 1 reply | |
| 1/4 | OMAP3: hwmod data: add mmu data for iva and isp | +0 | 1 reply | |
| 1/4 | OMAP3: hwmod data: add mmu data for iva and isp | +0 | 1 reply | |
| 1/4 | OMAP3: hwmod data: add mmu data for iva and isp | +0 | 1 reply | |
| 2/4 | OMAP4: hwmod data: add mmu hwmod for ipu and dsparch/ | +142 | 0 replies | |
| 3/4 | OMAP3/4: iommu: migrate to hwmod frameworkarch/ arch/ arch/ +1 more | +27 | 1 reply | |
| 4/4 | OMAP3/4: iommu: adapt to runtime pmarch/ arch/ arch/ +2 more | +18 | 3 replies | |
| 4/4 | OMAP3/4: iommu: adapt to runtime pm | +0 | 0 replies | |
| 4/4 | OMAP3/4: iommu: adapt to runtime pm | +0 | 1 reply | |
| 4/4 | OMAP3/4: iommu: adapt to runtime pm | +0 | 1 reply | |
| 4/4 | OMAP3/4: iommu: adapt to runtime pm | +0 | 1 reply | |
| 4/4 | OMAP3/4: iommu: adapt to runtime pm | +0 | 0 replies |
Reviews trailers per patch
6 of 12 patches have a Reviewed-by or Acked-by.
| Patch | Tony Lindgren |
|---|---|
| 1/4 | |
| 1/4 | |
| 1/4 | |
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 | A-b |
| 4/4 | A-b |
| 4/4 | A-b |
| 4/4 | A-b |
| 4/4 | A-b |
| 4/4 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/4] OMAP: iommu: hwmod support and runtime PM
Introduced hwmod support for OMAP3 (iva, isp) and OMAP4 (ipu, dsp), along with the corresponding runtime PM routines to deassert reset lines, enable/disable clocks and configure sysc registers.
v4:
- Rebased to 3.2-rc5 LO.
- Added missing clkdm field for OMAP4 hwmod data.
- Moved pm runtime enable/disable to probe/remove functions as suggested by MyungJoo Ham.
- Removed HWMOD_INIT_NO_RESET as it is not needed and because of Kevin Hilman's comments, the failure I was seeing without HWMOD_INIT_NO_RESET might have been related to local changes as it couldn't be reproduced anymore.
- Removed iommu latency as it is the same as the default omap latency.
- Tested on OMAP3 (zoom3 + tidspbridge) and OMAP4 (Panda + rpmsg).
v3:
- Rebased to 3.1-rc10 lo rebuilt, added structure terminators, and removed .omap_chip field.
v2:
- Added oh reset info to assert/deassert mmu reset lines.
- Addressed previous comments on v1
http://www.spinics.net/lists/arm-kernel/msg103271.html
Due to compatibility an ifdef needs to be propagated (previously on iommu resource info) to hwmod data in OMAP3, so users of iommu and tidspbridge can avoid issues of two modules managing mmu data/irqs/resets; this until tidspbridge can be safely migrated to iommu framework.
Omar Ramirez Luna (4):
OMAP3: hwmod data: add mmu data for iva and isp
OMAP4: hwmod data: add mmu hwmod for ipu and dsp OMAP3/4: iommu: migrate to hwmod framework OMAP3/4: iommu: adapt to runtime pm
arch/arm/mach-omap2/iommu2.c | 36 ------- arch/arm/mach-omap2/omap-iommu.c | 156 +++++----------------------- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 135 ++++++++++++++++++++++++ arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 154 +++++++++++++++++++++++++-- arch/arm/plat-omap/include/plat/iommu.h | 17 +++- arch/arm/plat-omap/include/plat/iommu2.h | 2 - drivers/iommu/omap-iommu.c | 47 +++----- 7 files changed, 334 insertions(+), 213 deletions(-)
Signature · 1 line
1.7.4.1