Merge series "Add pca9450 driver" from Robin Gong <yibin.gong@nxp.com>:

Add pca9450 driver for i.mx8mn-evk board. PCA9450A/B/C supported now.
Please refer to below link for PCA9450 datasheet:
https://www.nxp.com/docs/en/data-sheet/PCA9450DS.pdf

v2:
  1. rebase with the latest code to use linear_ranges helper instead.
  2. address Frieder's comments, such as dulipcated buck4 description,
     debug info added etc.

Robin Gong (4):
  regulator: pca9450: add pca9450 pmic driver
  dt-bindings: regulator: add pca9450 regulator yaml
  arm64: dts: imx8mn-evk: add pca9450 for i.mx8mn-evk board
  arm64: configs: add pca9450 pmic driver

 .../bindings/regulator/nxp,pca9450-regulator.yaml  | 190 +++++
 arch/arm64/boot/dts/freescale/imx8mn-evk.dts       |  96 +++
 arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi      |   6 +
 arch/arm64/configs/defconfig                       |   1 +
 drivers/regulator/Kconfig                          |   8 +
 drivers/regulator/Makefile                         |   1 +
 drivers/regulator/pca9450-regulator.c              | 859 +++++++++++++++++++++
 include/linux/regulator/pca9450.h                  | 219 ++++++
 8 files changed, 1380 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml
 create mode 100644 drivers/regulator/pca9450-regulator.c
 create mode 100644 include/linux/regulator/pca9450.h

--
2.7.4

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
diff --git a/drivers/regulator/fan53880.c b/drivers/regulator/fan53880.c
index 285acc7..575d289 100644
--- a/drivers/regulator/fan53880.c
+++ b/drivers/regulator/fan53880.c
@@ -45,6 +45,7 @@ static const struct regulator_ops fan53880_ops = {
 		.of_match =	   of_match_ptr("LDO"#_num),		\
 		.regulators_node = of_match_ptr("regulators"),		\
 		.type =		   REGULATOR_VOLTAGE,			\
+		.owner =	   THIS_MODULE,				\
 		.linear_ranges =   (struct linear_range[]) {		\
 		      REGULATOR_LINEAR_RANGE(_default, 0x0, 0x0, 0),	\
 		      REGULATOR_LINEAR_RANGE(800000, 0xf, 0x73, 25000),	\
@@ -69,6 +70,7 @@ static const struct regulator_desc fan53880_regulators[] = {
 		.of_match =	   of_match_ptr("BUCK"),
 		.regulators_node = of_match_ptr("regulators"),
 		.type =		   REGULATOR_VOLTAGE,
+		.owner =	   THIS_MODULE,
 		.linear_ranges =   (struct linear_range[]) {
 		      REGULATOR_LINEAR_RANGE(1100000, 0x0, 0x0, 0),
 		      REGULATOR_LINEAR_RANGE(600000, 0x1f, 0xf7, 12500),
@@ -87,6 +89,7 @@ static const struct regulator_desc fan53880_regulators[] = {
 		.of_match =	   of_match_ptr("BOOST"),
 		.regulators_node = of_match_ptr("regulators"),
 		.type =		   REGULATOR_VOLTAGE,
+		.owner =	   THIS_MODULE,
 		.linear_ranges =   (struct linear_range[]) {
 		      REGULATOR_LINEAR_RANGE(5000000, 0x0, 0x0, 0),
 		      REGULATOR_LINEAR_RANGE(3000000, 0x4, 0x70, 25000),