From: Jishnu Prakash <jishnu.prakash@oss.qualcomm.com>
To: Mark Brown <broonie@kernel.org>
Cc: Lee Jones <lee@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Guru Das Srinagesh <linux@gurudas.dev>,
Liam Girdwood <lgirdwood@gmail.com>,
linux-arm-msm@vger.kernel.org, mfd@lists.linux.dev,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
Dhruvin Rajpura <drajpura@qti.qualcomm.com>,
Nihal Kumar Gupta <nihal.gupta@oss.qualcomm.com>,
Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com>,
Oleg Keri <okerixx@gmail.com>,
Burke Cates <burke.cates@gmail.com>,
Christian Cortner <ccortner@gmail.com>
Subject: Re: [PATCH v5 3/7] regulator: pm8008: Add mode voting support for PM8010
Date: Thu, 3 Dec 2026 21:23:36 +0530 [thread overview]
Message-ID: <e674cc25-756c-4c99-b5a1-8bfaa6dc4406@oss.qualcomm.com> (raw)
In-Reply-To: <179572311835.838304.3101127250585330182.b4-review@b4>
Hi Mark,
On 11/27/2026 1:28 AM, Mark Brown wrote:
>> Implement set_mode/get_mode/get_optimum_mode support for PM8010 LDOs
>> using the mode control and status registers to allow clients to vote
>> for LDO modes. Mode voting is supported for L1 and L2 alone of PM8010
>> LDOs and not supported for any of the PM8008 LDOs.
>
>> +static unsigned int pm8010_regulator_of_map_mode(unsigned int mode)
>> +{
>> + switch (mode) {
>> + case REGULATOR_MODE_NORMAL:
>> + case REGULATOR_MODE_IDLE:
>> + return mode;
>
> These values would need documenting in the binding (or use the existing
> HPM and LPM values and map them, LPM at least looks appropriate).
Yes, I'll add a patch to add new dt-binding macros for PM8010 modes
and document them.
Thanks,
Jishnu
>
next prev parent reply other threads:[~2026-12-03 15:53 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-16 6:13 [PATCH v5 0/7] mfd: qcom-pm8008: Add support for PM8010 over I2C Jishnu Prakash
2026-11-16 6:13 ` [PATCH v5 1/7] dt-bindings: mfd: pm8008: Add qcom,pm8010-i2c compatible Jishnu Prakash
2026-11-16 6:13 ` [PATCH v5 2/7] regulator: pm8008: Add PM8010 support Jishnu Prakash
2026-11-26 19:58 ` Mark Brown
2026-12-03 15:53 ` Jishnu Prakash
2026-11-16 6:13 ` [PATCH v5 3/7] regulator: pm8008: Add mode voting support for PM8010 Jishnu Prakash
2026-11-26 10:26 ` Konrad Dybcio
2026-11-26 19:58 ` Mark Brown
2026-12-03 15:53 ` Jishnu Prakash [this message]
2026-11-16 6:13 ` [PATCH v5 4/7] mfd: qcom-pm8008: Drop GPIO support Jishnu Prakash
2026-11-16 6:13 ` [PATCH v5 5/7] mfd: qcom-pm8008: Add PM8010 support Jishnu Prakash
2026-11-16 6:13 ` [PATCH v5 6/7] dt-bindings: mfd: pm8008: Make interrupts optional Jishnu Prakash
2026-11-16 6:13 ` [PATCH v5 7/7] mfd: qcom-pm8008: Tolerate missing interrupt Jishnu Prakash
2026-12-02 16:57 ` [PATCH v5 0/7] mfd: qcom-pm8008: Add support for PM8010 over I2C Lee Jones
2026-12-02 17:00 ` (subset) " Lee Jones
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=e674cc25-756c-4c99-b5a1-8bfaa6dc4406@oss.qualcomm.com \
--to=jishnu.prakash@oss.qualcomm.com \
--cc=broonie@kernel.org \
--cc=burke.cates@gmail.com \
--cc=ccortner@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=drajpura@qti.qualcomm.com \
--cc=kamal.wadhwa@oss.qualcomm.com \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@gurudas.dev \
--cc=mfd@lists.linux.dev \
--cc=nihal.gupta@oss.qualcomm.com \
--cc=okerixx@gmail.com \
--cc=robh@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®