Skip to content

OMAP DSS HWMOD fixes

Paul Walmsley linux-arm-kernel linux-omap 1 version New

Get series with b4
b4 am 20110821053355.20198.23847.stgit@dusk

Versions newest first

  1. v3 Latest5 patches 0 repliesNew

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5OMAP2xxx: HWMOD: fix DSS opt clocksarch/arm/mach-omap2/omap_hwmod_2420_data.c arch/arm/mach-omap2/omap_hwmod_2430_data.c+26 -42 replies
1/5OMAP2xxx: HWMOD: fix DSS opt clocks+0 -00 replies
2/5OMAP3: HWMOD: fix DSS opt clocksarch/arm/mach-omap2/omap_hwmod_3xxx_data.c+31 -40 replies
3/5OMAP4: HWMOD: fix DSS opt clocksarch/arm/mach-omap2/omap_hwmod_44xx_data.c+4 -120 replies
4/5OMAP2/3: HWMOD: Add SYSS_HAS_RESET_STATUS for dssarch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c+2 -10 replies
5/5OMAP: HWMOD: Unify DSS resets for all OMAPsarch/arm/mach-omap2/Makefile arch/arm/mach-omap2/display.c arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c +3 more+43 -110 replies

Reviews trailers per patch

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

PatchBenoit Cousson
1/5
1/5
2/5
3/5A-b
4/5
5/5

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

Read the v3 thread

Cover letter [PATCHv3 0/5] OMAP DSS HWMOD fixes

Just ensuring that this series is copied to lakml. The fifth patch has been revised slightly from Tomi's original posting. This series is targeted for 3.1-rc.

- Paul

Date: Mon, 8 Aug 2011 12:15:09 +0300
From: Tomi Valkeinen <[email protected]>
To: paul at pwsan.com, linux-omap at vger.kernel.org, b-cousson at ti.com
Cc: archit at ti.com, Tomi Valkeinen <[email protected]>
Subject: [PATCHv2 0/5] OMAP DSS HWMOD fixes

Second try with the DSS HWMODs

This set fixes the DSS clocks in HWMOD data, and implements a new reset mechanism for dss_core.

The new dss_reset function doesn't actually do a reset, it just enables all DSS clocks and waits for the reset to complete. This should be better approach than actually doing a reset, because:

OMAP4 - dss_core HW doesn't contain a SW reset bit so doing a reset is impossible. But after power-on we need to enable all DSS clocks and wait for the power-on reset to complete.

OMAP2/3 - dss_core does have a SW reset bit, but resetting dss_core also resets all the other DSS modules. This means that the other modules could be left uninitialized, as the hwmod code handles all modules independently, and in this case initializes only dss_core's registers. Thus dss_core's reset shouldn't be used, and we should only verify that the power-on reset has completed.

Tested on OMAP4 and OMAP3.

The first two HWMOD patches (for OMAP2/3) are not changed since v1.

Tomi

---

Tomi Valkeinen (5):
OMAP2xxx: HWMOD: fix DSS opt clocks
OMAP3: HWMOD: fix DSS opt clocks
OMAP4: HWMOD: fix DSS opt clocks OMAP2/3: HWMOD: Add SYSS_HAS_RESET_STATUS for dss
OMAP: HWMOD: Unify DSS resets for all OMAPs

 arch/arm/mach-omap2/Makefile                       |    5 +--
 arch/arm/mach-omap2/display.c                      |   35 ++++++++++++++++++++
 arch/arm/mach-omap2/omap_hwmod_2420_data.c         |   15 +++++++--
 arch/arm/mach-omap2/omap_hwmod_2430_data.c         |   15 +++++++--
 .../mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c |    5 ++-
 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c         |   35 ++++++++++++++++++--
 arch/arm/mach-omap2/omap_hwmod_44xx_data.c         |   18 +++-------
 arch/arm/plat-omap/include/plat/common.h           |    3 ++
 include/video/omapdss.h                            |    7 ----
 9 files changed, 106 insertions(+), 32 deletions(-)