Skip to content

Support ROHM BD72720 PMIC

Matti Vaittinen linux-clk linux-devicetree linux-gpio linux-leds linux-pm linux-rtc lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest posting 2/217 patches 12 repliesIn review
  2. v6 posting 1/217 patches 2 repliesSuperseded
  3. v516 patches 5 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v416 patches14 repliesSuperseded
v316 patches8 repliesSuperseded

Changes in v6 from the cover letter

- Rebased on v6.19-rc1 and collected rb-tags from v6.

Patches in v6 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17dt-bindings: regulator: ROHM BD72720Documentation/devicetree/bindings/regulator/rohm,bd72720-regulator.yaml+148 -00 replies
2/17dt-bindings: battery: Clarify trickle-chargeDocumentation/devicetree/bindings/power/supply/battery.yaml+6 -10 replies
3/17dt-bindings: battery: Add trickle-charge upper limitDocumentation/devicetree/bindings/power/supply/battery.yaml+4 -00 replies
4/17dt-bindings: battery: Voltage drop propertiesDocumentation/devicetree/bindings/power/supply/battery.yaml+22 -00 replies
5/17dt-bindings: mfd: ROHM BD72720Documentation/devicetree/bindings/mfd/rohm,bd72720-pmic.yaml+339 -00 replies
6/17dt-bindings: leds: bd72720: Add BD72720Documentation/devicetree/bindings/leds/rohm,bd71828-leds.yaml+4 -30 replies
7/17mfd: rohm-bd71828: Use regmap_reg_range()drivers/mfd/rohm-bd71828.c+18 -460 replies
8/17mfd: rohm-bd71828: Use standard file header formatdrivers/mfd/rohm-bd71828.c+5 -40 replies
9/17mfd: rohm-bd71828: Support ROHM BD72720drivers/mfd/Kconfig drivers/mfd/rohm-bd71828.c include/linux/mfd/rohm-bd72720.h +1 more+1129 -140 replies
10/17regulator: bd71828: rename IC specific entitiesdrivers/regulator/bd71828-regulator.c+16 -160 replies
11/17regulator: bd71828: Support ROHM BD72720drivers/regulator/Kconfig drivers/regulator/bd71828-regulator.c+992 -90 replies
12/17gpio: Support ROHM BD72720 gpiosdrivers/gpio/Kconfig drivers/gpio/Makefile drivers/gpio/gpio-bd72720.c+291 -00 replies
13/17clk: clk-bd718x7: Support BD72720 clk gatedrivers/clk/Kconfig drivers/clk/clk-bd718x7.c+10 -40 replies
14/17rtc: bd70528: Support BD72720 rtcdrivers/rtc/Kconfig drivers/rtc/rtc-bd70528.c+16 -80 replies
15/17power: supply: bd71828: Support wider register addressesdrivers/power/supply/bd71828-power.c+13 -131 reply
16/17power: supply: bd71828-power: Support ROHM BD72720drivers/power/supply/bd71828-power.c+116 -183 replies
17/17MAINTAINERS: Add ROHM BD72720 PMICMAINTAINERS+2 -00 replies

Reviews trailers per patch

12 of 17 patches have a Reviewed-by or Acked-by.

PatchRob Herring (Arm)Krzysztof KozlowskiLinus WalleijMark BrownBartosz GolaszewskiStephen BoydAlexandre BelloniSebastian Reichel
1/17R-b
2/17R-b R-b
3/17R-b R-b
4/17R-b R-b
5/17R-b R-b
6/17A-b
7/17
8/17
9/17
10/17A-b
11/17R-b
12/17R-b A-b
13/17A-b
14/17A-b
15/17R-b
16/17
17/17

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 8 reviewers.

Read the v6 thread

Cover letter [PATCH RESEND v6 00/17] Support ROHM BD72720 PMIC

Resending the v6

Series is same as v6 _except_ being rebased on v6.19-rc1 - and adding rb tags which were replied to v6.

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.

The testing since v4 has suffered some hardware-issues after I accidentally enabled charging while the PMIC's battery pin was connected to the I/O domain. Some heat was generated, not terribly lot smoke though...

After the incident I've had occasional I2C failures. I, however, suspect the root cause is HW damage in I/O lines.

Revision history:
v6 resend:
- Rebased on v6.19-rc1 and collected rb-tags from v6.

v5 => v6:
- MFD fixes as suggested by Lee
- Styling mostly
- New patch to Fix comment style for MFD driver
More accurate changelog in individual patches

v4 => v5:
- dt-binding fixes as discussed in v4 reviews.
- Drop rohm,vdr-battery.yaml and add vdr properties to battery.yaml
- Drop 'rohm,' -vendor-prefix from vdr properties
- Link to v4:

    https://lore.kernel.org/all/[email protected]/

More accurate changelog in individual patches

v3 => v4:
- dt-binding fixes to the BD72720 MFD example and regulator bindings More accurate changelog in individual patches

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/[email protected]/

---

Matti Vaittinen (17):
dt-bindings: regulator: ROHM BD72720
dt-bindings: battery: Clarify trickle-charge
dt-bindings: battery: Add trickle-charge upper limit
dt-bindings: battery: Voltage drop properties
dt-bindings: mfd: ROHM BD72720
dt-bindings: leds: bd72720: Add BD72720
mfd: rohm-bd71828: Use regmap_reg_range()
mfd: rohm-bd71828: Use standard file header format
mfd: rohm-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       |  339 ++++++
 .../bindings/power/supply/battery.yaml        |   33 +-
 .../regulator/rohm,bd72720-regulator.yaml     |  148 +++
 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                    |  555 ++++++++-
 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 +
 19 files changed, 3127 insertions(+), 132 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mfd/rohm,bd72720-pmic.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: 8f0b4cce4481fb22653697cced8d0d04027cb1e8

Signature · 1 line
2.52.0