From: Viresh Kumar <viresh.kumar@linaro.org>
To: Nicolas Boichat <drinkcat@chromium.org>
Cc: Viresh Kumar <vireshk@kernel.org>, Nishanth Menon <nm@ti.com>,
Stephen Boyd <sboyd@kernel.org>,
linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] PM / OPP: Add support for multiple regulators
Date: Wed, 12 Feb 2020 13:43:40 +0530 [thread overview]
Message-ID: <20200212081340.vcfd3t5w5pgxfuha@vireshk-i7> (raw)
In-Reply-To: <20200212075529.156756-1-drinkcat@chromium.org>
On 12-02-20, 15:55, Nicolas Boichat wrote:
> The OPP table can contain multiple voltages and regulators, and
> implementing that logic does not add a lot of code or complexity,
> so let's modify _generic_set_opp_regulator to support that use
> case.
>
> Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
This is already supported in a different way. See how following driver
does this (hint dev_pm_opp_register_set_opp_helper()).
drivers/opp/ti-opp-supply.c
The problem with a generic solution is that we can't assume an order
for programming of the regulators, as this can be complex on few
platforms.
--
viresh
next prev parent reply other threads:[~2020-02-12 8:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-12 7:55 [PATCH] PM / OPP: Add support for multiple regulators Nicolas Boichat
2020-02-12 8:13 ` Viresh Kumar [this message]
2020-02-12 8:57 ` Nicolas Boichat
2020-02-12 9:03 ` Viresh Kumar
2020-02-13 0:06 ` Nicolas Boichat
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=20200212081340.vcfd3t5w5pgxfuha@vireshk-i7 \
--to=viresh.kumar@linaro.org \
--cc=drinkcat@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=nm@ti.com \
--cc=sboyd@kernel.org \
--cc=vireshk@kernel.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;
as well as URLs for NNTP newsgroup(s).