[PATCH v3 00/16] Support ROHM BD72720 PMIC

Matti Vaittinen posted 16 patches 3 months ago
There is a newer version of this series
.../bindings/leds/rohm,bd71828-leds.yaml      |    7 +-
.../bindings/mfd/rohm,bd72720-pmic.yaml       |  273 +++++
.../bindings/power/supply/battery.yaml        |   11 +-
.../power/supply/rohm,vdr-battery.yaml        |   80 ++
.../regulator/rohm,bd72720-regulator.yaml     |  149 +++
MAINTAINERS                                   |    2 +
drivers/clk/Kconfig                           |    4 +-
drivers/clk/clk-bd718x7.c                     |   10 +-
drivers/gpio/Kconfig                          |    9 +
drivers/gpio/Makefile                         |    1 +
drivers/gpio/gpio-bd72720.c                   |  281 +++++
drivers/mfd/Kconfig                           |   18 +-
drivers/mfd/rohm-bd71828.c                    |  546 ++++++++-
drivers/power/supply/bd71828-power.c          |  160 ++-
drivers/regulator/Kconfig                     |    8 +-
drivers/regulator/bd71828-regulator.c         | 1025 ++++++++++++++++-
drivers/rtc/Kconfig                           |    3 +-
drivers/rtc/rtc-bd70528.c                     |   21 +-
include/linux/mfd/rohm-bd72720.h              |  634 ++++++++++
include/linux/mfd/rohm-generic.h              |    1 +
20 files changed, 3113 insertions(+), 130 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mfd/rohm,bd72720-pmic.yaml
create mode 100644 Documentation/devicetree/bindings/power/supply/rohm,vdr-battery.yaml
create mode 100644 Documentation/devicetree/bindings/regulator/rohm,bd72720-regulator.yaml
create mode 100644 drivers/gpio/gpio-bd72720.c
create mode 100644 include/linux/mfd/rohm-bd72720.h
[PATCH v3 00/16] Support ROHM BD72720 PMIC
Posted by Matti Vaittinen 3 months ago
The ROHM BD72720 is a new power management IC for portable, battery
powered devices. It integrates 10 BUCKs and 11 LDOs, RTC, charger, LEDs,
GPIOs and a clock gate. To me the BD72720 seems like a successor to the
BD71828 and BD71815 PMICs.

This series depends on
5bff79dad20a ("power: supply: Add bd718(15/28/78) charger driver")
which is in power-supply tree, for-next. Thus, the series is based on
it.

Revision history:
  v2 => v3:
  - rebased to power-supply/for-next as dependencies are merged to there
  - plenty of dt-binding changes as suggested by reviewers
  - add new patch to better document existing 'trickle-charging' property
  More accurate changelog in individual patches

  RFCv1 => v2:
  - Drop RFC status
  - Use stacked regmaps to hide secondary map from the sub-drivers
  - Quite a few styling fixes and improvements as suggested by
    reviewers. More accurate changelog in individual patches.
  - Link to v1:
    https://lore.kernel.org/all/cover.1759824376.git.mazziesaccount@gmail.com/

It may be worth nothing that the 'From' header changed as I send these
now via linux.dev mail, because gmail started filtering some of the
outgoing patch mails. Commits should still be from "Matti Vaittinen
<mazziesaccount@gmail.com>", which should be handed by in-(mail)-body
From -line. Please, let me know if I messed it up.

---

Matti Vaittinen (16):
  dt-bindings: regulator: ROHM BD72720
  dt-bindings: battery: Clarify trickle-charge
  dt-bindings: battery: Add trickle-charge upper limit
  dt-bindings: power: supply: BD72720 managed battery
  dt-bindings: mfd: ROHM BD72720
  dt-bindings: leds: bd72720: Add BD72720
  mfd: rohm-bd71828: Use regmap_reg_range()
  mfd: bd71828: Support ROHM BD72720
  regulator: bd71828: rename IC specific entities
  regulator: bd71828: Support ROHM BD72720
  gpio: Support ROHM BD72720 gpios
  clk: clk-bd718x7: Support BD72720 clk gate
  rtc: bd70528: Support BD72720 rtc
  power: supply: bd71828: Support wider register addresses
  power: supply: bd71828-power: Support ROHM BD72720
  MAINTAINERS: Add ROHM BD72720 PMIC

 .../bindings/leds/rohm,bd71828-leds.yaml      |    7 +-
 .../bindings/mfd/rohm,bd72720-pmic.yaml       |  273 +++++
 .../bindings/power/supply/battery.yaml        |   11 +-
 .../power/supply/rohm,vdr-battery.yaml        |   80 ++
 .../regulator/rohm,bd72720-regulator.yaml     |  149 +++
 MAINTAINERS                                   |    2 +
 drivers/clk/Kconfig                           |    4 +-
 drivers/clk/clk-bd718x7.c                     |   10 +-
 drivers/gpio/Kconfig                          |    9 +
 drivers/gpio/Makefile                         |    1 +
 drivers/gpio/gpio-bd72720.c                   |  281 +++++
 drivers/mfd/Kconfig                           |   18 +-
 drivers/mfd/rohm-bd71828.c                    |  546 ++++++++-
 drivers/power/supply/bd71828-power.c          |  160 ++-
 drivers/regulator/Kconfig                     |    8 +-
 drivers/regulator/bd71828-regulator.c         | 1025 ++++++++++++++++-
 drivers/rtc/Kconfig                           |    3 +-
 drivers/rtc/rtc-bd70528.c                     |   21 +-
 include/linux/mfd/rohm-bd72720.h              |  634 ++++++++++
 include/linux/mfd/rohm-generic.h              |    1 +
 20 files changed, 3113 insertions(+), 130 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mfd/rohm,bd72720-pmic.yaml
 create mode 100644 Documentation/devicetree/bindings/power/supply/rohm,vdr-battery.yaml
 create mode 100644 Documentation/devicetree/bindings/regulator/rohm,bd72720-regulator.yaml
 create mode 100644 drivers/gpio/gpio-bd72720.c
 create mode 100644 include/linux/mfd/rohm-bd72720.h


base-commit: 8e8856396b54bea5c00a7ae88d87c6254aef2d94
-- 
2.51.0