From: "Mårten Lindahl" <martenli@axis.com>
To: Mark Brown <broonie@kernel.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
<linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>,
<kernel@axis.com>
Subject: Re: [PATCH v2 2/2] regulator: Add support for TI TPS6287x regulators
Date: Mon, 8 May 2023 08:51:47 +0200 [thread overview]
Message-ID: <ab469af7-22e1-c3cb-6374-26c99f30a900@axis.com> (raw)
In-Reply-To: <ZFTuAZvnvY2sSXrm@finisterre.sirena.org.uk>
On 5/5/23 13:52, Mark Brown wrote:
> On Fri, May 05, 2023 at 08:46:06AM +0200, Mårten Lindahl wrote:
>
>> 2. Dynamically set the range when a new voltage is set. This way any
>> voltage from
>> 0.4V to 3.35V could be set if the DT node has:
>> regulator-min-microvolt = <400000>;
>> regulator-max-microvolt = <3350000>;
> You can probably use one of the linear range mappings with a custom
> set/get which munges the range selection and voltage selection into a
> single value.
Hi Mark!
I found the *sel_pickable_regmap helpers which seems to do what I need
for this.
Thanks!
Kind regards
Mårten
prev parent reply other threads:[~2023-05-08 6:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-04 8:30 [PATCH v2 0/2] regulator: Add support for TPS6287x Mårten Lindahl
2023-05-04 8:30 ` [PATCH v2 1/2] regulator: Add bindings " Mårten Lindahl
2023-05-04 9:34 ` Krzysztof Kozlowski
2023-05-04 15:08 ` Mårten Lindahl
2023-05-04 15:11 ` Krzysztof Kozlowski
2023-05-05 11:03 ` Mårten Lindahl
2023-05-04 8:30 ` [PATCH v2 2/2] regulator: Add support for TI TPS6287x regulators Mårten Lindahl
2023-05-04 12:04 ` Mark Brown
2023-05-05 8:29 ` Mårten Lindahl
[not found] ` <e02589b8-118d-0feb-d32a-bdf39d1b88f6@axis.com>
2023-05-05 11:52 ` Mark Brown
2023-05-08 6:51 ` Mårten Lindahl [this message]
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=ab469af7-22e1-c3cb-6374-26c99f30a900@axis.com \
--to=martenli@axis.com \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kernel@axis.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@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
all inboxes | Powered by JetHome®