mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
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 2/7] regulator: pm8008: Add PM8010 support
Date: Thu, 3 Dec 2026 21:23:18 +0530	[thread overview]
Message-ID: <9a78a041-69a7-4917-a0a3-c48d331c8238@oss.qualcomm.com> (raw)
In-Reply-To: <179572311831.838304.7206356885620187961.b4-review@b4>

Hi Mark,

On 11/27/2026 1:28 AM, Mark Brown wrote:
>> PM8010 is effectively the next generation of PM8008.
>>
>> Like PM8008, PM8010 also has 7 LDOs under it which are used to power
>> camera sensors. The PM8010 LDO are of different types from the PM8008
>> ones and have different voltage dropout values. PM8010 LDOs do not have
>> a voltage step rate configuration register.
>>
>> Add the necessary changes to support PM8010 LDOs.
> 
>> @@ -145,18 +190,21 @@ static int pm8008_regulator_probe(struct platform_device *pdev)
>>  		desc->owner = THIS_MODULE;
>>  
>>  		desc->linear_ranges = data->voltage_range;
>> -		desc->n_linear_ranges = 1;
>> -		desc->uV_step = desc->linear_ranges[0].step;
> 
> I'm not seeing this uV_step configuration replaced anywere, don't we
> need it for PM8008 which still uses regulator_get_linear_step()?

I don't think PM8008 uses regulator_get_linear_step() anywhere. This change
was needed because pm8010_pldo_lv_ranges has 3 different voltage ranges with
different step sizes, so having a fixed uV_step would be wrong for it.

And considering other places using uV_step, we have changed the .list_voltage
callback from regulator_list_voltage_linear() to regulator_list_voltage_linear_range()
now, so uV_step should not be needed there too.

Thanks,
Jishnu


> 


  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 [this message]
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
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=9a78a041-69a7-4917-a0a3-c48d331c8238@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®