From: "Cousson, Benoit" <b-cousson@ti.com>
To: "Taneja, Archit" <archit@ti.com>
Cc: Tomi Valkeinen <tomi.valkeinen@nokia.com>,
"Semwal, Sumit" <sumit.semwal@ti.com>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
Paul Walmsley <paul@pwsan.com>,
Kevin Hilman <khilman@deeprootsystems.com>
Subject: Re: DSS2 patch series
Date: Tue, 17 Aug 2010 13:32:36 +0200 [thread overview]
Message-ID: <4C6A7354.9010200@ti.com> (raw)
In-Reply-To: <FCCFB4CDC6E5564B9182F639FC35608703064DC3F9@dbde02.ent.ti.com>
Hi Archit,
On 8/17/2010 1:16 PM, Taneja, Archit wrote:
> Hi,
>
>> Ok. Well, good that it's clear now =).
>>
>>> How do you think we can clean things up?
>>
>> If I remember right, there's some kind of feature framework
>> being worked on (or ready?), but I haven't looked at that at
>> all. That may or may not suit our needs.
>>
>> But perhaps we could just have a separate dss_features.c
>> file, which would contain a bunch of functions that can be
>> used to ask whether a certain feature is supported, and also
>> to ask certain values (max dividers or similar).
>
> I talked to some more folks about this. To summarize:
>
> - The revision registers aren't reliable enough, it's better to
> use the combination of cpu_is_xxxx and and omap_rev macros. These
> should be enough for making an DSS specific feature list.
>
> -The feature framework(HWMOD) can help out with the following things
> - The internal IP blocks within DSS.
> - The PRCM clocks and IRQs coming to DSS, and PM stuff which I don't
> know much about.
> - Effectively, the information on how the outside world communicates with DSS.
>
> -DSS features like number of vid pipelines, supported color modes,internal clocks
> and PLL info, bit fields needs to be managed by us.
You can use hwmod to store that as well. Other IPs might require
features management, so instead of doing a DSS dedicated solution, you
can directly leverage the existing fmwk and extend it to manage your
features.
> One good input was that we can manage internal DSS clocks using the exisiting
> clock framework and custom clock modes. I don't know much about it. Others
> in the list can probably help out with this :)
>
> The present way of handling DSS2 clocks is good, but we need to see if it can be
> scalable when more OMAPs come in.
Good? It works, but this is still redoing what the clocks framework can
already do. The good approach will be to encode your clocks nodes using
the clock framework, as you've just said.
> The dss_features.c idea sounds good, we will still have these new bunch of functions
> scattered around in the code. But it will be much than an if else chain of omap checks.
>
> So should we stick with this idea?
Using directly the hwmod struct sound a much better idea for my point of
view.
Regards,
Benoit
next prev parent reply other threads:[~2010-08-17 11:32 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-27 8:27 DSS2 patch series Taneja, Archit
2010-08-02 11:51 ` Tomi Valkeinen
2010-08-02 12:05 ` Taneja, Archit
2010-08-03 8:43 ` Tomi Valkeinen
2010-08-03 9:00 ` Taneja, Archit
2010-08-05 7:06 ` Taneja, Archit
2010-08-05 8:09 ` Tomi Valkeinen
2010-08-10 9:33 ` Taneja, Archit
2010-08-17 10:52 ` Tomi Valkeinen
2010-08-17 11:16 ` Taneja, Archit
2010-08-17 11:32 ` Cousson, Benoit [this message]
2010-08-19 18:43 ` Taneja, Archit
2010-08-17 11:39 ` Tomi Valkeinen
2010-08-19 21:33 ` Taneja, Archit
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=4C6A7354.9010200@ti.com \
--to=b-cousson@ti.com \
--cc=archit@ti.com \
--cc=khilman@deeprootsystems.com \
--cc=linux-omap@vger.kernel.org \
--cc=paul@pwsan.com \
--cc=sumit.semwal@ti.com \
--cc=tomi.valkeinen@nokia.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