From: "Cousson, Benoit" <b-cousson@ti.com>
To: "Premi, Sanjeev" <premi@ti.com>
Cc: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
Paul Walmsley <paul@pwsan.com>
Subject: Re: hwmod: multi-omap: disabling smartreflex on AM3517
Date: Fri, 25 Feb 2011 13:40:21 +0100 [thread overview]
Message-ID: <4D67A335.3030102@ti.com> (raw)
In-Reply-To: <B85A65D85D7EB246BE421B3FB0FBB593024BE49E50@dbde02.ent.ti.com>
Hi Sanjeev,
On 2/25/2011 12:39 PM, Premi, Sanjeev wrote:
>> From: Cousson, Benoit
>> Sent: Wednesday, February 23, 2011 9:23 PM
[...]
>> In that case you can handle that using cpu_is_3517().
>>
>> omap_hwmod_init(omap3xxx_common_hwmods);
>> if (omap3_has_smartreflex())
>> omap_hwmod_init(omap3xxx_sr_hwmods);
>> if (omap3_has_iva())
>> omap_hwmod_init(omap3xxx_iva_hwmods);
>> if (cpu_is_omap3517())
>> omap_hwmod_init(omap3xxx_emac_usb_vpfe_hwmods);
>> ...
>>
>> Isn't it enough for your needs?
>>
> [sp] Removal of smartreflex has more cyclic dependencies than I expected.
I didn't anticipated that either :-(
> Just removing omap34xx_sr1_hwmod, omap34xx_sr2_hwmod isn't sufficient.
> It leads to:
>
> [ 0.000000] omap_hwmod: l4_core: cannot clk_get interface_clk sr_l4_ick
> [ 0.000000] omap_hwmod: l4_core: cannot clk_get interface_clk sr_l4_ick
>
> Now wemoving, omap3_l4_core__sr1 and omap3_l4_core__sr2 from the array
> omap3xxx_l4_core_slaves[] leads to ripple effect in pretty much all
> hwmods.
>
> . omap3xxx_l4_core_slaves is referenced in omap3xxx_l4_core_hwmod,
> . omap3xxx_l4_core_hwmod is referenced in many other hdmods.
> . and so on.
>
> In the end, we might end up making changes to almost all.
> I will be submitting an updated patch in about an hour.
I'm afraid, we will probably end up with a dynamic binding solution like
what we have to do for the clock framework for the similar reason.
We can optimize the size but it will impact the performance... the usual
trade off.
Thanks,
Benoit
prev parent reply other threads:[~2011-02-25 12:40 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-15 11:51 hwmod: multi-omap: disabling smartreflex on AM3517 Premi, Sanjeev
2011-02-15 12:47 ` Cousson, Benoit
2011-02-18 12:13 ` Premi, Sanjeev
2011-02-21 9:57 ` Premi, Sanjeev
2011-02-21 10:30 ` Cousson, Benoit
2011-02-21 10:39 ` Premi, Sanjeev
2011-02-21 14:17 ` Cousson, Benoit
2011-02-21 15:41 ` Premi, Sanjeev
2011-02-21 23:40 ` Cousson, Benoit
2011-02-22 13:48 ` Premi, Sanjeev
2011-02-22 22:53 ` Cousson, Benoit
2011-02-23 8:46 ` Premi, Sanjeev
2011-02-23 15:52 ` Cousson, Benoit
2011-02-25 11:39 ` Premi, Sanjeev
2011-02-25 12:40 ` Cousson, Benoit [this message]
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=4D67A335.3030102@ti.com \
--to=b-cousson@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=paul@pwsan.com \
--cc=premi@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