Thread (26 messages) 26 messages, 6 authors, 2012-07-18

Re: Device tree binding for DVFS table

From: Mark Brown <hidden>
Date: 2012-07-12 17:15:29
Also in: linux-arm-kernel

On Thu, Jul 12, 2012 at 10:10:16AM -0700, Mike Turquette wrote:
On 20120712-17:10, Peter De Schrijver wrote:
quoted
+ power rail constraints (eg voltage difference limit between 2 rails)
This should come from regulator DT data and not anything DVFS-specific,
correct?
Currently the regulator API will only constrain individual rails (and
shortly likely parent/child relationships).  It will not do anything to
constrain between different rails, this has been left to the consumers.
For this stuff it may still make sense to do that if we've got a set of
operating points defined which apply over multiple inputs (like clock
and frequency) - we'll naturally impose these constraints by virtue of
selecting the operating point.
quoted
+ clock constraints (eg. clock x frequency must be a fixed ratio of clock y
  frequency)
Yeah, after sending my email above yesterday I instantly regretted it.
It is true that *functional* clock dependencies are really the purview
of the device driver.  E.g. for Device X to operate at FAST_SPEED, scale
functional_clk up to 200MHz and l3_ddr_clk up to 100MHz.  On OMAP our
display subsystem block also has clock ratio rules that must be honored,
but it just open-coded.
This is similar to the regulator thing.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help