[PATCH v4 0/6] Fix issues on pf8x00 driver

From: Adrien Grassein
Date: Wed Jan 13 2021 - 17:25:37 EST


Hello,

this patch set aims is to fix some issues contains in the pf8x00 driver.
Some issues are documentation ones, some others are in code.

These issues where found while developing another version of the same
driver. I prefer to share with you the patch for it.

I do these patches on the master branch of the linux-next repository.

1: there is a missing documentation when we build the driver as a
module.

2: nxp,phase-shift documentation was not optimal.

3: nxp,ilim-ma is useless since another property does (nearly) the same.

4: Same than 4, in driver code.

5: It's better to use a linear_range to describe the voltage of bucks.

6: Fix several mistakes in the handle of nxp,phase-shift property.

Changes introduced in v2:
Some patches were mixed (and did not compile separately);
Add path 7 for the handle of nxp,phase-shift property.

Changes introduced in v3:
Remove useless patch 0;
Do requested fixes in patches.

Changes introduced in v4:
Mark nxp,ilim-ma as deprecated since it was already present in a kernel
version.

Thanks,

Adrien Grassein (6):
regulator: pf8x00: add a doc for the module
regulator: dt-bindings: pf8x00: fix nxp,phase-shift doc
regulator: dt-bindings: pf8x00: mark nxp,ilim-ma property as
deprecated
regulator: pf8x00: mark nxp,ilim-ma property as deprecated
regulator: pf8x00: use linear range for buck 1-6
regulator: pf8x00: fix nxp,phase-shift

.../regulator/nxp,pf8x00-regulator.yaml | 16 +-
drivers/regulator/Kconfig | 4 +
drivers/regulator/pf8x00-regulator.c | 203 +++++++++++-------
3 files changed, 135 insertions(+), 88 deletions(-)

--
2.25.1