From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: "K, Mythri P" <mythripk@ti.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH v2 5/5] OMAPDSS: HDMI: Add support to dump clocks through
Date: Fri, 23 Sep 2011 09:01:08 +0300 [thread overview]
Message-ID: <1316757668.1901.12.camel@deskari> (raw)
In-Reply-To: <CAP5A+B-Ahwfk4tu3OtvRpfejFbv_jVpiVmoNJW0cGTfiwkG7kA@mail.gmail.com>
On Fri, 2011-09-23 at 11:22 +0530, K, Mythri P wrote:
> > - What is dcofreq? Looking at the code, it tells if the pixel clock is >
> > 1000MHz. Why is such a field needed, can't the HDMI driver manage that
> > itself? And if it's needed, why is it called dcofreq, the name doesn't
> > make much sense to me.
> It is DCO frequency, It suggest the frequency selector range ,
The field is not DCO frequency, it's a boolean, 0 or 1. That's why the
name doesn't really make sense to me.
> HDMI_PLL_CONFIGURATION2 (3:1) has to be set accordingly by the driver
> depending on whether the CLKOUTLDO is greater than or less than
> 1000Mhz, but anyways the decision is taken by the driver.
But can't it be done in the ti_hdmi driver, at the same time when
programming the registers? Why do we need to set the boolean beforehand.
> Also the name is as suggested by TRM .
I couldn't find boolean dcofreq in the TRM.
> > - We are doing HDMI PLL calculations in the omapdss drivers hdmi.c file.
> > The PLL calculations are PLL specific, and thus should be in the
> > specific HDMI implementation file, right?
> >
> >> + seq_printf(s, "DISPC clock source %s (%s)\t(%s)\n",
> >> + dss_get_generic_clk_source_name(dispc_clk_src),
> >> + dss_feat_get_clk_source_name(dispc_clk_src),
> >> + dispc_clk_src == OMAP_DSS_CLK_SRC_FCK ?
> >> + "off" : "on");
> >
> > Why do you print DISPC clock source? How is that part of HDMI clock
> > configuration?
> Reason is to check whether the DISPC clock source is PRCM / DSI PLL,
> Because DSI PLL might not be sufficient.
But it's already printed by the DISPC section, and it's not part of
HDMI, so I don't quite see the need.
What do you mean DSI PLL might not be sufficient? We can get higher
DISPC clocks with DSI PLL than with PRCM.
Tomi
next prev parent reply other threads:[~2011-09-23 6:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-22 8:07 [PATCH 0/5] OMAPDSS: HDMI: Debug support and Register cleanup mythripk
2011-09-22 8:07 ` [PATCH v2 1/5] OMAPDSS: HDMI: Move the comments in avi infoframe mythripk
2011-09-22 8:07 ` [PATCH v2 2/5] OMAPDSS: HDMI: Replace hdmi_reg struct with u16 mythripk
2011-09-22 8:07 ` [PATCH v2 3/5] OMAPDSS: HDMI: Add missing register definitions mythripk
2011-09-22 8:07 ` [PATCH v2 4/5] OMAPDSS: HDMI: Add support to dump registers through mythripk
2011-09-22 8:07 ` [PATCH v2 5/5] OMAPDSS: HDMI: Add support to dump clocks through mythripk
2011-09-22 12:01 ` Tomi Valkeinen
2011-09-23 5:52 ` K, Mythri P
2011-09-23 6:01 ` Tomi Valkeinen [this message]
2011-09-23 6:40 ` K, Mythri P
2011-09-23 7:03 ` 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=1316757668.1901.12.camel@deskari \
--to=tomi.valkeinen@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=mythripk@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