public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Archit Taneja <archit@ti.com>
To: tomi.valkeinen@ti.com
Cc: linux-omap@vger.kernel.org, Archit Taneja <archit@ti.com>
Subject: [PATCH 0/3] OMAP: DSS2: Generalize DSS clock source names
Date: Mon, 28 Feb 2011 12:20:34 +0530	[thread overview]
Message-ID: <1298875837-6305-1-git-send-email-archit@ti.com> (raw)

The OMAP Display Subsystem has multiple clock sources available for its
modules. One of these sources has to be selected through a global control
register called DSS_CTRL.

For example, on OMAP4, the Display Controller Module's (DISPC) functional
clock can be derived from:
a) output of DPLL_PER's M5 divisor
b) output of DSI1 PLL's M4 divisor
c) output of DSI2 PLL's M4 divisor
d) output of HDMI PLL

There is, hence, an enum called 'dss_clk_source' which is used throughout
DSS2, to select clock sources for various DSS sub modules. These clock
source names are currently specific to OMAP2/3 TRM clock names.

All enum members, variables, functions which are based on these clock
source names have been made generic such that they can be used for future
OMAPs as well.

Archit Taneja (3):
  OMAP2PLUS: DSS2: Make members of dss_clk_source generic
  OMAP2PLUS: DSS2: Use dss features to get clock source names of
    current OMAP
  OMAP2PLUS: DSS2: DSI: Generalize DSI PLL Clock Naming

 arch/arm/plat-omap/include/plat/display.h |    4 +-
 drivers/video/omap2/dss/dispc.c           |   11 +-
 drivers/video/omap2/dss/dpi.c             |    8 +-
 drivers/video/omap2/dss/dsi.c             |  178 ++++++++++++++++-------------
 drivers/video/omap2/dss/dss.c             |   43 +++++---
 drivers/video/omap2/dss/dss.h             |   33 ++++--
 drivers/video/omap2/dss/dss_features.c    |   23 ++++
 drivers/video/omap2/dss/dss_features.h    |    1 +
 8 files changed, 185 insertions(+), 116 deletions(-)


             reply	other threads:[~2011-02-28  6:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-28  6:50 Archit Taneja [this message]
2011-02-28  6:50 ` [PATCH 1/3] OMAP2PLUS: DSS2: Make members of dss_clk_source generic Archit Taneja
2011-02-28  6:50 ` [PATCH 2/3] OMAP2PLUS: DSS2: Use dss features to get clock source names of current OMAP Archit Taneja
2011-02-28  6:50 ` [PATCH 3/3] OMAP2PLUS: DSS2: DSI: Generalize DSI PLL Clock Naming Archit Taneja
2011-02-28 12:29 ` [PATCH 0/3] OMAP: DSS2: Generalize DSS clock source names Tomi Valkeinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1298875837-6305-1-git-send-email-archit@ti.com \
    --to=archit@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=tomi.valkeinen@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox