From: Mark Brown <broonie@kernel.org>
To: Lucas Stach <l.stach@pengutronix.de>
Cc: Viresh Kumar <viresh.kumar@linaro.org>,
nm@ti.com, rob.herring@linaro.org, kesavan.abhilash@gmail.com,
linaro-kernel@lists.linaro.org, catalin.marinas@arm.com,
linux-pm@vger.kernel.org, sboyd@codeaurora.org,
santosh.shilimkar@oracle.com, Rafael Wysocki <rjw@rjwysocki.net>,
olof@lixom.net, devicetree@vger.kernel.org,
mike.turquette@linaro.org, Sudeep.Holla@arm.com,
grant.likely@linaro.org, thomas.petazzoni@free-electrons.com,
linux-arm-kernel@lists.infradead.org
Subject: Re: [RFC] OPP: Redefine bindings to overcome shortcomings
Date: Thu, 4 Dec 2014 17:18:49 +0000 [thread overview]
Message-ID: <20141204171849.GX7712@sirena.org.uk> (raw)
In-Reply-To: <1417692868.9037.4.camel@pengutronix.de>
[-- Attachment #1: Type: text/plain, Size: 1696 bytes --]
On Thu, Dec 04, 2014 at 12:34:28PM +0100, Lucas Stach wrote:
> Am Donnerstag, den 04.12.2014, 16:44 +0530 schrieb Viresh Kumar:
> > + - voltage-tolerance: Specify the CPU voltage tolerance in percentage.
> This is extremely ill defined. It doesn't say in which direction the
> tolerance is to be applied. Can you go below or above the OPP specified
> voltage? For now everyone just assumes that it has to work both ways.
> Also with this binding the tolerance is applied for all OPPs, where is
> very much depends on the individual OPP.
Almost all specifications for voltages are done as either min/typ/max or
+/- a target voltage.
> If you are going to redefine OPPs anyway I would really like to see this
> property die and rather have a min/max voltage per OPP. That way you can
> properly express the OPP constraints. Most OPPs will likely allow a much
> higher voltage than their minimal specified one, except when you go over
> thermal limits with a high clock/voltage combination.
If you've got a minimum and maximum you also need to specify a target,
generally it's going to be better to go for the target voltage which may
not be the midpoint and is unlikely to be one of the bounds. I do think
it's sensible to have the option of doing both to more closely match
datasheets.
> > + - clock-latency: Specify the possible maximum transition latency for clock,
> > + in unit of nanoseconds.
> Why do we need this? This is property of the clock. We should be able to
> handle this completely internally in the kernel. I don't know if the
> clock API has something like this right now, but it should be a trivial
> addition.
Or have it be part of the clock binding at any rate.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2014-12-04 17:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-04 11:14 [RFC] OPP: Redefine bindings to overcome shortcomings Viresh Kumar
2014-12-04 11:34 ` Lucas Stach
2014-12-04 14:07 ` Viresh Kumar
2014-12-05 5:24 ` Viresh Kumar
2014-12-04 17:18 ` Mark Brown [this message]
2014-12-09 15:51 ` Viresh Kumar
2014-12-29 17:05 ` Rob Herring
2014-12-31 4:47 ` Viresh Kumar
2015-01-20 7:21 ` Viresh Kumar
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=20141204171849.GX7712@sirena.org.uk \
--to=broonie@kernel.org \
--cc=Sudeep.Holla@arm.com \
--cc=catalin.marinas@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=grant.likely@linaro.org \
--cc=kesavan.abhilash@gmail.com \
--cc=l.stach@pengutronix.de \
--cc=linaro-kernel@lists.linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-pm@vger.kernel.org \
--cc=mike.turquette@linaro.org \
--cc=nm@ti.com \
--cc=olof@lixom.net \
--cc=rjw@rjwysocki.net \
--cc=rob.herring@linaro.org \
--cc=santosh.shilimkar@oracle.com \
--cc=sboyd@codeaurora.org \
--cc=thomas.petazzoni@free-electrons.com \
--cc=viresh.kumar@linaro.org \
/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