[PATCH v3 0/2] Add support of nxp pf8x00 regulator

From: Adrien Grassein
Date: Mon Dec 14 2020 - 18:00:36 EST


Hello,

this set of patch intends to add the support of the pf8x00 PMIC
regulators. This family of PMIC contains 12 regulators (7 bucks
converters, 4 LDO, 1 RTC supply). All these 12 regulators are
configurable via an OTP memory and by i2c at runtime for some
specific properties.

1: Adds the dt-binding corresponding to the new driver;
2: Adds the driver itself.

This is th 3rd version of the patch set. In this version I fixed:
- Bad default values were described in the description;
- The configuration is now done at parsing time;
- The code doesn't attempt to parse the regulator properties;
- Remove the unnecessary new "nxp,illim-microamp" property;
- Use the "regulator-max-microamp" of the regulator instead;
- Cut the code in multiple function to obtain a better readability.
- Rework some code part;

Thanks,

Adrien Grassein (2):
dt-bindings: regulator: add pf8x00 PMIC
regulator: pf8x00: add support of nxp pf8x00 regulator

.../regulator/nxp,pf8x00-regulator.yaml | 220 +++++
MAINTAINERS | 7 +
drivers/regulator/Kconfig | 12 +
drivers/regulator/Makefile | 1 +
drivers/regulator/pf8x00-regulator.c | 798 ++++++++++++++++++
5 files changed, 1038 insertions(+)
create mode 100644 Documentation/devicetree/bindings/regulator/nxp,pf8x00-regulator.yaml
create mode 100644 drivers/regulator/pf8x00-regulator.c

--
2.20.1