Skip to content

OMAP2+ PRCM: standardize PRCM macros

Paul Walmsley linux-omap 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4OMAP2 PRCM: convert OMAP2 PRCM macros to the _SHIFT/_MASK suffixesarch/arm/mach-omap2/clkt2xxx_apll.c arch/arm/mach-omap2/clock2420_data.c arch/arm/mach-omap2/clockdomain.c +3 more+238 -2370 replies
2/4OMAP3 PRCM: convert OMAP3 PRCM macros to the _SHIFT/_MASK suffixesarch/arm/mach-omap2/cm-regbits-34xx.h arch/arm/mach-omap2/control.c arch/arm/mach-omap2/pm34xx.c +2 more+397 -3910 replies
3/4OMAP2+ PRCM: convert remaining PRCM macros to the _SHIFT/_MASK suffixesarch/arm/mach-omap2/cm.h arch/arm/mach-omap2/pm24xx.c arch/arm/mach-omap2/pm34xx.c +4 more+114 -1120 replies
4/4OMAP3: PM: PM_MPUGRPSEL writes should use GRPSEL macros, not EN macrosarch/arm/mach-omap2/pm34xx.c+12 -70 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] OMAP2+ PRCM: standardize PRCM macros

Hello,

This series standardizes the OMAP2+ PRCM register macro names to end in _SHIFT for bitshift counts and _MASK for bitmasks. This is already the case for many of the macros, but others were unconverted; this series finally fixes those and their users in mainline.

These patches will cause Kevin some merge pain, which is regrettable, but there seems to be no good time to do this sort of thing.

This series should not result in any functional change.

Note that at this point, this series has been compile-tested only, not boot-tested - that will happen shortly. It's been compile-tested with n8x0_defconfig, omap3_beagle_defconfig, and omap_4430sdp_defconfig.

- Paul

---

Paul Walmsley (4):
OMAP2 PRCM: convert OMAP2 PRCM macros to the _SHIFT/_MASK suffixes OMAP3 PRCM: convert OMAP3 PRCM macros to the _SHIFT/_MASK suffixes OMAP2+ PRCM: convert remaining PRCM macros to the _SHIFT/_MASK suffixes
OMAP3: PM: PM_MPUGRPSEL writes should use GRPSEL macros, not EN macros

 arch/arm/mach-omap2/clkt2xxx_apll.c    |    4 
 arch/arm/mach-omap2/clock2420_data.c   |    4 
 arch/arm/mach-omap2/clockdomain.c      |    4 
 arch/arm/mach-omap2/cm-regbits-24xx.h  |  236 ++++++++++-----------
 arch/arm/mach-omap2/cm-regbits-34xx.h  |  222 ++++++++++----------
 arch/arm/mach-omap2/cm.h               |    5 
 arch/arm/mach-omap2/control.c          |    7 -
 arch/arm/mach-omap2/pm24xx.c           |  126 ++++++-----
 arch/arm/mach-omap2/pm34xx.c           |  202 +++++++++---------
 arch/arm/mach-omap2/powerdomain.c      |   26 +-
 arch/arm/mach-omap2/prcm-common.h      |  146 ++++++-------
 arch/arm/mach-omap2/prcm.c             |    4 
 arch/arm/mach-omap2/prm-regbits-24xx.h |  120 +++++------
 arch/arm/mach-omap2/prm-regbits-34xx.h |  360 ++++++++++++++++----------------
 arch/arm/mach-omap2/prm.h              |   18 +-
 15 files changed, 749 insertions(+), 735 deletions(-)