Skip to content

Some omap_device/hwmod/pwrdomain patches

Tomi Valkeinen linux-arm-kernel linux-omap 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v10 of 3 patches 0 repliesSuperseded

Changes in v2 from the cover letter

* Dropped can-ever-lose-context patch
* Use INT_MAX instead of ~(1 << 31) when masking the ctx loss count

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2OMAP: change get_context_loss_count ret value to intarch/arm/mach-omap2/omap_hwmod.c arch/arm/mach-omap2/powerdomain.c arch/arm/mach-omap2/powerdomain.h +5 more+34 -180 replies
2/2OMAP: add omap_device_reset()arch/arm/plat-omap/include/plat/omap_device.h arch/arm/plat-omap/omap_device.c+24 -01 reply
2/2OMAP: add omap_device_reset()+0 -05 replies
2/2OMAP: add omap_device_reset()+0 -02 replies
2/2OMAP: add omap_device_reset()+0 -00 replies
2/2OMAP: add omap_device_reset()+0 -00 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchKevin Hilman
1/2A-b
2/2
2/2
2/2
2/2
2/2

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

Read the v2 thread

Cover letter [PATCHv2 0/2] Some omap_device/hwmod/pwrdomain patches

I came up with these patches while implementing pm runtime adaptation for DSS driver. I'm not quite sure on who's turf they belong, or do they even belong together, but here they are anyway.

get_context_loss_count patch was discussed on l-o with Kevin.

The omap_device_reset patch I made as some parts of DSS currently presume that the HW module is reset when it is enabled, and the reset is better handled in hwmod code.

Changes in v2
* Dropped can-ever-lose-context patch
* Use INT_MAX instead of ~(1 << 31) when masking the ctx loss count

Tomi

Tomi Valkeinen (2):
OMAP: change get_context_loss_count ret value to int
OMAP: add omap_device_reset()

 arch/arm/mach-omap2/omap_hwmod.c              |    2 +-
 arch/arm/mach-omap2/powerdomain.c             |   14 ++++++++++----
 arch/arm/mach-omap2/powerdomain.h             |    2 +-
 arch/arm/plat-omap/include/plat/omap-pm.h     |    4 ++--
 arch/arm/plat-omap/include/plat/omap_device.h |    3 ++-
 arch/arm/plat-omap/include/plat/omap_hwmod.h  |    2 +-
 arch/arm/plat-omap/omap-pm-noop.c             |   24 +++++++++++++++++-------
 arch/arm/plat-omap/omap_device.c              |   25 ++++++++++++++++++++++++-
 8 files changed, 58 insertions(+), 18 deletions(-)
Signature · 1 line
1.7.4.1