From: Nishanth Menon <nm@ti.com>
To: Mike Turquette <mturquette@linaro.org>
Cc: "Andrii Tseglytskyi" <andrii.tseglytskyi@ti.com>,
"Tero Kristo" <t-kristo@ti.com>,
"Benoît Cousson" <b-cousson@ti.com>,
linux-omap@vger.kernel.org
Subject: Re: [RFC PATCH 5/6] ARM: OMAP3+: ABB: introduce ABB driver
Date: Mon, 1 Apr 2013 18:00:10 -0500 [thread overview]
Message-ID: <20130401230009.GA2038@snafu> (raw)
In-Reply-To: <20130401213430.8177.21940@quantum>
On 14:34-20130401, Mike Turquette wrote:
> Quoting Nishanth Menon (2013-04-01 12:28:20)
> > On Mon, Apr 1, 2013 at 1:10 PM, Mike Turquette <mturquette@linaro.org> wrote:
> > > Let's figure out what is happening to the VC/VP code first and then
> > > figure out what to do about ABB.
> > >
> > http://picpaste.com/KmqDYTn0.jpg
> > is an quick depiction of the thought I have in my mind.
> >
>
> OK, looks like the Super Regulator Approach(tm).
:D I hope it can be modelled after TI SoCs and then expanded to other
SoCs as needed.
>
> > We do have, in the upcoming SoCs, where Nominal Voltages per device,
> > will now be encoded into the efuse itself(so called class 0 voltage).
> > Future SoCs will need to be able to use ABB along with standard
> > regulators (without use of VC-VP) - in fact, even today, SoCs like AM
> > and DM series of processors have the same requirement.
> >
>
> This de-linking of ABB from VC/VP probably supports modeling ABB ldo's
> as Linux regulators. That would provide a common interface where either
> the VC/VP code or another regulator could call something like
> regulator_set_mode.
>
> If we're going to export something which can get called by different
> actors it's best to use an already exported interface which the
> regulator framework supplies, instead of exporting something new and
> omap-specific.
Yep - that was my original thought - though modeling it as a regulator
in itself is, IMHO, I think is a good idea.
>
> > We also will have to support class 2 variants of AVS (which will use
> > standard regulators to set voltage).
> >
> > As of date, CCF does not control regulators - which means the interim
> > solution would be for the device control to manipulate both clock and
> > regulator voltage (similar to what cpufreq-cpu0 driver does today).
> > these drivers should not know the existance of SoC specific
> > intricacies - so ABB linked to voltage values make more sense if ABB
> > sequencing is handled in "TI regulator"
> >
> > Intent of VC/VP regulator is to be replaceable, on required platforms,
> > with appropriate regulator which do not use VC/VP paths (e.g. on SoCs
> > that do not have it).
> >
>
> Well if everything is nicely modeled then I suppose per-board and
> per-soc DT will give you the ability to link things up nicely. E.g.
> replacing VC/VP with an external physical LDO, etc.
True - that is precisely what are attempting to do in (hopefully) edible
stages :).
--
Regards,
Nishanth Menon
next prev parent reply other threads:[~2013-04-01 23:00 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-28 17:16 [PATCH 1/6] ARM: dts: OMAP36xx: add device tree for ABB Andrii Tseglytskyi
2013-03-28 17:16 ` [PATCH 2/6] ARM: dts: OMAP4: " Andrii Tseglytskyi
2013-03-28 17:16 ` [PATCH 3/6] ARM: dts: OMAP5: " Andrii Tseglytskyi
2013-03-28 17:16 ` [PATCH 4/6] ARM: OMAP3+: ABB: add aliases for clocks used in ABB driver Andrii Tseglytskyi
2013-03-28 17:16 ` [PATCH 5/6] ARM: OMAP3+: ABB: introduce " Andrii Tseglytskyi
2013-03-28 21:27 ` Mike Turquette
2013-03-28 22:35 ` Nishanth Menon
2013-04-01 11:04 ` Andrii Tseglytskyi
2013-04-01 11:07 ` Andrii Tseglytskyi
[not found] ` <51596725.9060109@ti.com>
2013-04-01 18:10 ` [RFC PATCH " Mike Turquette
2013-04-01 19:28 ` Nishanth Menon
[not found] ` <20130401213430.8177.21940@quantum>
2013-04-01 23:00 ` Nishanth Menon [this message]
[not found] ` <20130402000545.8177.65252@quantum>
2013-04-02 3:35 ` Nishanth Menon
2013-04-02 10:15 ` Grygorii Strashko
2013-04-02 12:49 ` Nishanth Menon
[not found] ` <20130402171614.8177.68752@quantum>
2013-04-02 17:35 ` Andrii Tseglytskyi
2013-04-03 2:00 ` Nishanth Menon
2013-04-03 20:09 ` Mike Turquette
2013-03-28 17:16 ` [PATCH 6/6] ARM: OMAP3+: ABB: introduce debugfs entry Andrii Tseglytskyi
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=20130401230009.GA2038@snafu \
--to=nm@ti.com \
--cc=andrii.tseglytskyi@ti.com \
--cc=b-cousson@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=mturquette@linaro.org \
--cc=t-kristo@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;
as well as URLs for NNTP newsgroup(s).