[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170630121236.dqbya3gh5r5mi5xk@sirena.org.uk>
Date: Fri, 30 Jun 2017 13:12:36 +0100
From: Mark Brown <broonie@...nel.org>
To: Chen-Yu Tsai <wens@...e.org>
Cc: Viresh Kumar <viresh.kumar@...aro.org>,
"Enrico Weigelt, metux IT consult" <enrico.weigelt@...3.net>,
Rafael Wysocki <rjw@...ysocki.net>,
Vincent Guittot <vincent.guittot@...aro.org>,
Rob Herring <robh@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Stephen Boyd <sboyd@...eaurora.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
rnayak@...eaurora.org, Shiraz Hashim <shashim@...eaurora.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [RFC 0/5] drivers: Add boot constraints core
On Fri, Jun 30, 2017 at 12:22:13PM +0800, Chen-Yu Tsai wrote:
> What I'm saying is for the DT case, the constraints are already limited
> to the intersection of all users, regardless of whether they are turned
> on or not. At least this is what I believe makes sense. You really don't
> want to set a regulator such that it over voltages for a subset of its
> consumers. Consumers might not have proper power isolation for this.
Right, and we also shouldn't have voltage setting code in consumers that
don't need to vary their voltage at runtime. This keeps complexity out
of drivers and avoids the need to handle things like variants that have
different power requirements.
> I think what you mean is that the DT constraints are the union of all
> consumer constraints (1.8 - 3.0 V in this case), then each consumer
> comes in and adds its own constraints. And for such a design, the kernel
> needs to know which and what constraints to apply.
That's the broad idea.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists