Re: [RFC PATCH v1 6/6] soc/tegra: regulators: Add regulators coupler for Tegra30

From: Dmitry Osipenko
Date: Wed May 15 2019 - 07:47:06 EST

15.05.2019 12:05, Mark Brown ÐÐÑÐÑ:
> On Tue, May 14, 2019 at 09:30:05PM +0300, Dmitry Osipenko wrote:
>> 13.05.2019 20:40, Mark Brown ÐÐÑÐÑ:
>>> The thing with OPPs is that they specify a whole table of values that
>>> work together including regulator settings, the result being that you
>>> have many fewer options but don't need to think about constraints.
>> I'm afraid this is just a way of abusing the OPP's. I actually already
> There's nothing wrong with handling regulators in an OPP, that's a
> totally normal thing.

Only if those regulators are directly related to the hardware unit,
which is not the case here. Regulators coupling is the right abstraction
that glues things together, there is absolutely no need in trying to
make workarounds using OPP.