mbox series

[0/3] power: pmic: add Dialog DA9063 PMIC and regulators

Message ID cover.1579014062.git.ian.ray@ge.com
Headers show
Series power: pmic: add Dialog DA9063 PMIC and regulators | expand

Message

Ian Ray Jan. 14, 2020, 3:56 p.m. UTC
Add a PMIC driver for DA9063 PMIC and associated registers.
Allow pmic dump command to skip register holes.

Note: This change is a prerequisite for enabling full DM support
for ge_bx50v3_config.

Note: Split out of https://patchwork.ozlabs.org/cover/1182351/.
Feedback in https://patchwork.ozlabs.org/patch/1182404/ and
https://patchwork.ozlabs.org/patch/1182416/ has been addressed.


Martin Fuzzey (3):
  power: pmic: add driver for Dialog DA9063 PMIC
  power: regulator: add driver for Dialog DA9063 PMIC
  pmic: allow dump command for non contiguous register maps

 cmd/pmic.c                       |  12 +-
 drivers/power/pmic/Kconfig       |  14 ++
 drivers/power/pmic/Makefile      |   1 +
 drivers/power/pmic/da9063.c      | 130 +++++++++++++
 drivers/power/regulator/Kconfig  |  20 ++
 drivers/power/regulator/Makefile |   1 +
 drivers/power/regulator/da9063.c | 388 +++++++++++++++++++++++++++++++++++++++
 include/power/da9063_pmic.h      | 320 ++++++++++++++++++++++++++++++++
 8 files changed, 884 insertions(+), 2 deletions(-)
 create mode 100644 drivers/power/pmic/da9063.c
 create mode 100644 drivers/power/regulator/da9063.c
 create mode 100644 include/power/da9063_pmic.h