public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: "K, Mythri P" <mythripk@ti.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH 0/8] HDMI: Split hdmi.c to seperate HDMI IP dependant code from DSS.
Date: Fri, 01 Jul 2011 14:44:37 +0300	[thread overview]
Message-ID: <1309520677.1821.43.camel@deskari> (raw)
In-Reply-To: <BANLkTik+0P1ycGpS-xU1Utu2Zfzk17ZkWA@mail.gmail.com>

On Fri, 2011-07-01 at 14:52 +0530, K, Mythri P wrote:

> > I don't see a need for a separate file right now. We have the
> > hdmi_ti_4xxx_ip.c file which contains code for the HDMI block as a
> > whole, and could well contain the code that implements the API.
> >
> if the hdmi_ti_4xxx_ip.c  is handling the configuration then how are
> we going to handle a scenario where netra uses a different PHY block ,

I wasn't aware that Netra has different HDMI blocks. I understood it's
the same as on OMAP4.

So they have a different PHY driver, but want to use PLL and core parts
of OMAP4 HDMI driver?

> you suggest to have a #if in the programming sequence within
> hdmi_ti_4xxx_ip.c function ?

No, we can't use #ifdefs as the same kernel has to work for both SoCs.

> Also in future OMAP's when are using the PHY and PLL block from
> hdmi_ti_4xxx_ip.c , but a different core/video block from
> hdmi_ti_5xxx_ip.c then how  would hdmi_ti_5xxx_ip.c hdmi_enable be
> able to call the PHY and PLL configuration functions  from
> hdmi_ti_4xxx_ip.c ??

If the different HDMI blocks will be mixed like that, then we need to
split the blocks to separate files. Otherwise it will get strange if
OMAP5 HDMI code is calling PLL functions from OMAP4 HDMI code.

And on top of those drivers/libs we would have a higher level driver/lib
for the whole HDMI entity, and this higher level driver would implement
the API being discussed. It would then use the lower level drivers/libs,
and be used by OMAP/Netra DSS.

 Tomi



  reply	other threads:[~2011-07-01 11:44 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-17  8:17 [PATCH 0/8] HDMI: Split hdmi.c to seperate HDMI IP dependant code from DSS Mythri P K
2011-06-17  8:17 ` [PATCH 1/8] OMAP4: DSS: HDMI: HDMI clean up to pass base_address Mythri P K
2011-06-17  8:17   ` [PATCH 2/8] OMAP4 : DSS : HDMI : Move the EDID portion from HDMI IP Mythri P K
2011-06-17  8:17     ` [PATCH 3/8] OMAP4: DSS: HDMI: Use specific HDMI timings structure Mythri P K
2011-06-17  8:17       ` [PATCH 4/8] OMAP4: DSS: HDMI: Move the common header file definition Mythri P K
2011-06-17  8:17         ` [PATCH 5/8] OMAP4: DSS2: HDMI: Split the HDMI driver to DSS and IP Mythri P K
2011-06-17  8:17           ` [PATCH 6/8] OMAP4: DSS: HDMI: Rename the functions in HDMI IP Mythri P K
2011-06-17  8:17             ` [PATCH 7/8] HDMI: Move HDMI IP Library from OMAP DSS to common Mythri P K
2011-06-17  8:17               ` [PATCH 8/8] OMAP4: DSS: Rename hdmi_omap4_panel.c to hdmi_panel.c Mythri P K
2011-06-20 13:48           ` [PATCH 5/8] OMAP4: DSS2: HDMI: Split the HDMI driver to DSS and IP Premi, Sanjeev
2011-06-23  5:55             ` K, Mythri P
2011-06-20 12:46       ` [PATCH 3/8] OMAP4: DSS: HDMI: Use specific HDMI timings structure Premi, Sanjeev
2011-06-23  5:45         ` K, Mythri P
2011-06-23  8:30       ` Tomi Valkeinen
2011-06-23  8:46         ` K, Mythri P
2011-06-20 13:33   ` [PATCH 1/8] OMAP4: DSS: HDMI: HDMI clean up to pass base_address Premi, Sanjeev
2011-06-23  5:51     ` K, Mythri P
2011-06-23 10:30       ` Premi, Sanjeev
2011-06-23 11:00         ` K, Mythri P
2011-06-23 11:03           ` Premi, Sanjeev
2011-06-23 11:09             ` K, Mythri P
2011-06-23  9:58 ` [PATCH 0/8] HDMI: Split hdmi.c to seperate HDMI IP dependant code from DSS Tomi Valkeinen
2011-06-23 12:05   ` K, Mythri P
2011-06-23 12:31     ` Tomi Valkeinen
2011-06-27  5:51       ` K, Mythri P
2011-06-27 12:58         ` Tomi Valkeinen
2011-06-29 13:38           ` K, Mythri P
2011-06-29 16:21             ` Tomi Valkeinen
2011-06-30 17:46               ` K, Mythri P
2011-07-01  8:51                 ` Tomi Valkeinen
2011-07-01  9:22                   ` K, Mythri P
2011-07-01 11:44                     ` Tomi Valkeinen [this message]
2011-07-01 12:43                       ` K, Mythri P

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=1309520677.1821.43.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