Re: [PATCH v5 2/7] regulator: pm8008: Add PM8010 support

From: Mark Brown

Date: Thu Nov 26 2026 - 14:58:48 EST


> 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()?

--
Mark Brown <broonie@xxxxxxxxxx>