Skip to content

OMAP3: PM: refactor Smart Reflex

Nishanth Menon linux-omap 3 versions – NAK

Status from this message: NAK - read the context please before you comment -> the call is from

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 12 repliesNAK
  2. v22 patches 3 repliesSuperseded
  3. v1 RFC2 patches 4 repliesSuperseded

Patches in v3

#Subject and filesSizeRepliesApplied
1/2OMAP3: PM: SR: prepare: remove old SR codearch/arm/mach-omap2/smartreflex.c arch/arm/mach-omap2/smartreflex.h+0 -12800 replies
2/2OMAP3: PM: SR: SmartReflex Refactor Rev4.0arch/arm/mach-omap2/pm-debug.c arch/arm/mach-omap2/resource34xx.c arch/arm/mach-omap2/smartreflex.c +2 more+1893 -1112 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH 0/2 v3] OMAP3: PM: refactor Smart Reflex

Hi,

Based on linux-omap PM branch(kevin's tree) commit 25c7b64bf80176463aa741407318e0e6b21cfd71

V4 - More changes:
* Guilhem's review comments for timeout return value
* Changes to make sr_list and OPP table dynamic selection based on cpu_type
* vsel dbgfs entry added for folks who like to see voltage decisions made by OMAP Voltage processor
(e.g. without a scope)
* nvalue_opp is a variable array
* omapsr_list introduced, initialized runtime based on type of omap - currently omap3430 only- but makes 3630 possible
* all opp searches are isolated to opp accessor functions
V3 - Bunch of changes:
* Introduce debugfs entries for SR - since these are variable updates, you can essentially do what we do with test values, change things but without a rebuild!
* Removed the test values altogether
* srid is standardised to u8 and it is not a bit field
* Guilhem's changes for non-twl5030 PMIC incorporated
* uses ioremap
V2 - made possible to work with non twl5030 PMICs
V1 - original rewrite

Requesting as much testing as possible and all comments welcome.

Nishanth Menon (2):
OMAP3: PM: SR: prepare: remove old SR code
OMAP3: PM: SR: SmartReflex Refactor Rev4.0

 arch/arm/mach-omap2/pm-debug.c     |    3 +
 arch/arm/mach-omap2/resource34xx.c |    8 +-
 arch/arm/mach-omap2/smartreflex.c  | 2180 +++++++++++++++++++++++-------------
 arch/arm/mach-omap2/smartreflex.h  |  280 +++---
 arch/arm/plat-omap/Kconfig         |   15 +-
 5 files changed, 1544 insertions(+), 942 deletions(-)

Regards,
Nishanth Menon