Skip to content

OMAP2PLUS:DSS2: use opt-clocks information from hwmod.

Sumit Semwal linux-omap 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyIn review
  2. v22 patches 7 repliesSuperseded
  3. v12 patches 3 repliesSuperseded

Changes in v3 from the cover letter

- made oh_core a static variable, looked up only once in omap_display_init.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2OMAP2PLUS:DSS2: add opt_clock_available in pdataarch/arm/mach-omap2/display.c arch/arm/plat-omap/include/plat/display.h+24 -00 replies
2/2OMAP2PLUS:DSS2: Use opt_clock_available from pdatadrivers/video/omap2/dss/dss.c+30 -160 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [Patch v3 0/2] OMAP2PLUS:DSS2: use opt-clocks information from hwmod.

This series uses information about opt-clocks provided by omap_hwmod framework to select which of the non-mandatory DSS clocks are available on a given platform.

A function pointer opt_clock_available is exported via pdata, which checks the clock roles returned by hwmod database.
In the driver, while doing clk-get, it is checked if as per hwmod a given clock is an opt-clock or not, and is handled accordingly.

Tested on: OMAP3430sdp

Sumit Semwal (2):
OMAP2PLUS:DSS2: add opt_clock_available in pdata OMAP2PLUS:DSS2: Use opt_clock_available from pdata

changes from v2:
- made oh_core a static variable, looked up only once in omap_display_init.

changes from v1:
- made opt_clock_available a function pointer in the omap_display_platform_data to avoid having to copy the opt-clock role names.

 arch/arm/mach-omap2/display.c             |   22 ++++++++++++++
 arch/arm/plat-omap/include/plat/display.h |    2 +
 drivers/video/omap2/dss/dss.c             |   46 +++++++++++++++++++----------
 3 files changed, 54 insertions(+), 16 deletions(-)