linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Add support of nxp pf8x00 regulator
@ 2020-12-14 22:58 Adrien Grassein
  2020-12-14 22:58 ` [PATCH v3 1/2] dt-bindings: regulator: add pf8x00 PMIC Adrien Grassein
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Adrien Grassein @ 2020-12-14 22:58 UTC (permalink / raw)
  Cc: lgirdwood, broonie, robh+dt, linux-kernel, devicetree,
	troy.kisky, gary.bisson, Adrien Grassein

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-12-15 20:28 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-14 22:58 [PATCH v3 0/2] Add support of nxp pf8x00 regulator Adrien Grassein
2020-12-14 22:58 ` [PATCH v3 1/2] dt-bindings: regulator: add pf8x00 PMIC Adrien Grassein
2020-12-15 14:26   ` Rob Herring
2020-12-15 15:00   ` Rob Herring
2020-12-14 22:58 ` [PATCH v3 2/2] regulator: pf8x00: add support of nxp pf8x00 regulator Adrien Grassein
2020-12-15 13:06 ` [PATCH v3 0/2] Add " Mark Brown
2020-12-15 13:14   ` Adrien Grassein
2020-12-15 13:20     ` Fabio Estevam
2020-12-15 13:24       ` Mark Brown
2020-12-15 13:33         ` Adrien Grassein
2020-12-15 20:17   ` Jagan Teki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).