[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201214225851.23342-1-adrien.grassein@gmail.com>
Date: Mon, 14 Dec 2020 23:58:49 +0100
From: Adrien Grassein <adrien.grassein@...il.com>
To: unlisted-recipients:; (no To-header on input)
Cc: lgirdwood@...il.com, broonie@...nel.org, robh+dt@...nel.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
troy.kisky@...ndarydevices.com, gary.bisson@...ndarydevices.com,
Adrien Grassein <adrien.grassein@...il.com>
Subject: [PATCH v3 0/2] Add support of nxp pf8x00 regulator
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
Powered by blists - more mailing lists