Skip to content

OPP layer: hide OPP implementation details

Kevin Hilman linux-omap 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 6 repliesIn review
  2. v14 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- actually works
- Fix SRF indexing after initial terminators were removed
- dropped opp_find_by_index() in favor of changing SRF remove indexing.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4OMAP OPP: Add accessor function for getting OPP ID.arch/arm/plat-omap/include/plat/opp.h arch/arm/plat-omap/opp.c+6 -02 replies
2/4OMAP SRF: adjust OPP array accessarch/arm/mach-omap2/resource34xx.c+2 -21 reply
3/4OMAP SR/SRF: use OPP API for OPP ID, remove direct accessarch/arm/mach-omap2/resource34xx.c arch/arm/mach-omap2/smartreflex.c+5 -52 replies
4/4OMAP OPP: hide struct omap_opp internals in OPP layer implementationarch/arm/plat-omap/include/plat/opp.h arch/arm/plat-omap/opp.c+20 -181 reply

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchNishanth Menon
1/4A-b
2/4A-b
3/4
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] OPP layer: hide OPP implementation details

This series continues on top of Paul's OPP cleanup series and aims to completly hide the OPP layer implementation details.

To do this, a couple more another accessor
functions have been added so current SR/SRF code can still function.

The goal here is to allow continued OPP layer cleanup and possibly alternate implementations to be done in parallel with the ongoing SR/SRF rework efforts.

Unless I hear some objections, this series will be added onto my pm-wip-opp branch after some more thorough testing.

Tested on OMAP3EVM, RX51

Changes from v1:
- actually works
- Fix SRF indexing after initial terminators were removed
- dropped opp_find_by_index() in favor of changing SRF remove indexing.

Kevin Hilman (4):
OMAP OPP: Add accessor function for getting OPP ID.
OMAP SRF: adjust OPP array access
OMAP SR/SRF: use OPP API for OPP ID, remove direct access OMAP OPP: hide struct omap_opp internals in OPP layer implementation

 arch/arm/mach-omap2/resource34xx.c    |    6 +++---
 arch/arm/mach-omap2/smartreflex.c     |    4 ++--
 arch/arm/plat-omap/include/plat/opp.h |   20 ++------------------
 arch/arm/plat-omap/opp.c              |   24 ++++++++++++++++++++++++
 4 files changed, 31 insertions(+), 23 deletions(-)