Skip to content

OMAP: hwmod: Add hardreset and softreset management

Benoit Cousson linux-omap 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3OMAP4: prcm: Add temporarily helper functions for rmw and read inside the PRMarch/arm/mach-omap2/prcm.c arch/arm/plat-omap/include/plat/prcm.h+26 -03 replies
2/3OMAP: hwmod: Add hardreset management supportarch/arm/mach-omap2/omap_hwmod.c arch/arm/plat-omap/include/plat/omap_hwmod.h+201 -00 replies
3/3OMAP: hwmod: Force a softreset during _setuparch/arm/mach-omap2/omap_hwmod.c+8 -96 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/3] OMAP: hwmod: Add hardreset and softreset management

Hi Paul & Kevin,

Here are a reset management series.

- The first patch will be removed as soon as we will have the proper OMAP4 support for the prm_xxx accessors.
- The second one is adding hardreset support in order to allow syslink driver to manage properly the DSP and IPU processor reset.
- The last one is forcing a sofreset after the first init. Some IP might require sofreset after each wakeup
from power domain OFF mode. That still needs to be confirm.

Tested on PAB board using OMAP4 ES1.0 GP device

Patches are based on lo/for-next + for-next-fixes and are available here:
git://dev.omapzoom.org/pub/scm/swarch/linux-omap-adv.git pm-wip/hwmods-reset

Regards,
Benoit

Benoit Cousson (3):
OMAP4: prcm: Add temporarily helper functions for rmw and read inside
the PRM
OMAP: hwmod: Add hardreset management support
OMAP: hwmod: Force a softreset during _setup

 arch/arm/mach-omap2/omap_hwmod.c             |  197 ++++++++++++++++++++++++--
 arch/arm/mach-omap2/prcm.c                   |   24 +++
 arch/arm/plat-omap/include/plat/omap_hwmod.h |   21 +++
 arch/arm/plat-omap/include/plat/prcm.h       |    2 +
 4 files changed, 235 insertions(+), 9 deletions(-)