Skip to content

OMAP: voltage layer cleanup and restructure: part 2

Kevin Hilman linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13OMAP3+: add PRM VP functions for checking/clearing VP TX done statusarch/arm/mach-omap2/prm2xxx_3xxx.c arch/arm/mach-omap2/prm2xxx_3xxx.h arch/arm/mach-omap2/prm44xx.c +4 more+136 -390 replies
2/13OMAP3+ VP: replace transaction done check/clear with VP opsarch/arm/mach-omap2/voltage.h arch/arm/mach-omap2/voltagedomains3xxx_data.c arch/arm/mach-omap2/voltagedomains44xx_data.c +1 more+5 -230 replies
3/13OMAP3+: PRM: add register access functions for VC/VParch/arm/mach-omap2/prm2xxx_3xxx.c arch/arm/mach-omap2/prm2xxx_3xxx.h arch/arm/mach-omap2/prm44xx.c +1 more+53 -00 replies
4/13OMAP3+: voltage: convert to PRM register access functionsarch/arm/mach-omap2/vc.c arch/arm/mach-omap2/vc.h arch/arm/mach-omap2/vc3xxx_data.c +9 more+76 -1110 replies
5/13OMAP3+: VC: cleanup i2c slave address configurationarch/arm/mach-omap2/vc.c arch/arm/mach-omap2/vc.h arch/arm/mach-omap2/vc3xxx_data.c +1 more+12 -130 replies
6/13OMAP3+: VC: cleanup PMIC register address configurationarch/arm/mach-omap2/vc.c arch/arm/mach-omap2/vc.h arch/arm/mach-omap2/vc3xxx_data.c +1 more+23 -150 replies
7/13OMAP3+: VC bypass: use fields from VC struct instead of PMIC infoarch/arm/mach-omap2/vc.c+2 -50 replies
8/13OMAP3+: VC: cleanup voltage setup time configurationarch/arm/mach-omap2/vc.c arch/arm/mach-omap2/vc.h arch/arm/mach-omap2/voltage.h +2 more+11 -120 replies
9/13OMAP3+: VC: move on/onlp/ret/off command configuration into common initarch/arm/mach-omap2/vc.c+13 -170 replies
10/13OMAP3+: VC: abstract out channel configurationarch/arm/mach-omap2/vc.c arch/arm/mach-omap2/vc.h arch/arm/mach-omap2/vc3xxx_data.c +1 more+69 -120 replies
11/13OMAP4: PRM: VC: rename I2C configuration register: s/INSTE/MODE/arch/arm/mach-omap2/prm44xx.h+2 -20 replies
12/13OMAP3+: voltage domain: move PMIC struct from vdd_info into struct voltagedomainarch/arm/mach-omap2/omap_twl.c arch/arm/mach-omap2/vc.c arch/arm/mach-omap2/voltage.c +2 more+52 -590 replies
13/13OMAP3+: VC: make I2C config programmable with PMIC-specific settingsarch/arm/mach-omap2/omap_twl.c arch/arm/mach-omap2/vc.c arch/arm/mach-omap2/vc.h +3 more+65 -80 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH/RFC 00/13] OMAP: voltage layer cleanup and restructure: part 2

Here is part 2 of the voltage layer cleanup and restrucure. This part focuses on the VC layer cleanups and abstracions, and moves register access functions into PRM code.

Some things still needed on top of this series, please let me know if you want to work on any of them:

- OMAP4: hard-coded I2C SCLL/SCCH values removed and calculated based on sys_clk

- OMAP3: abstract CLKSETUP, VOLTSETUP, VOLTSETUP2 to something that is common with OMAP4 so common VC code can be used. (Vishwa started on this one already, but it needs a common OMAP3/OMAP4 description.)

This series is based on part 1, and is also available in the pm-wip/voltdm_b branch of my tree.

Kevin

Kevin Hilman (13):
OMAP3+: add PRM VP functions for checking/clearing VP TX done status OMAP3+ VP: replace transaction done check/clear with VP ops OMAP3+: PRM: add register access functions for VC/VP OMAP3+: voltage: convert to PRM register access functions OMAP3+: VC: cleanup i2c slave address configuration OMAP3+: VC: cleanup PMIC register address configuration OMAP3+: VC bypass: use fields from VC struct instead of PMIC info OMAP3+: VC: cleanup voltage setup time configuration OMAP3+: VC: move on/onlp/ret/off command configuration into common
init
OMAP3+: VC: abstract out channel configuration
OMAP4: PRM: VC: rename I2C configuration register: s/INSTE/MODE/ OMAP3+: voltage domain: move PMIC struct from vdd_info into struct
voltagedomain
OMAP3+: VC: make I2C config programmable with PMIC-specific settings

 arch/arm/mach-omap2/omap_twl.c                |   32 ++--
 arch/arm/mach-omap2/prm2xxx_3xxx.c            |   56 ++++++
 arch/arm/mach-omap2/prm2xxx_3xxx.h            |   12 ++
 arch/arm/mach-omap2/prm44xx.c                 |   71 +++++++
 arch/arm/mach-omap2/prm44xx.h                 |   16 ++-
 arch/arm/mach-omap2/vc.c                      |  256 ++++++++++++++++---------
 arch/arm/mach-omap2/vc.h                      |   31 ++-
 arch/arm/mach-omap2/vc3xxx_data.c             |   14 +-
 arch/arm/mach-omap2/vc44xx_data.c             |   18 +-
 arch/arm/mach-omap2/voltage.c                 |   60 ++-----
 arch/arm/mach-omap2/voltage.h                 |   27 ++-
 arch/arm/mach-omap2/voltagedomains3xxx_data.c |   14 +-
 arch/arm/mach-omap2/voltagedomains44xx_data.c |   21 ++-
 arch/arm/mach-omap2/vp.c                      |   86 ++++-----
 arch/arm/mach-omap2/vp.h                      |   35 ++--
 arch/arm/mach-omap2/vp3xxx_data.c             |   20 +-
 arch/arm/mach-omap2/vp44xx_data.c             |   26 +--
 17 files changed, 499 insertions(+), 296 deletions(-)
Signature · 1 line
1.7.4