Skip to content

Support ROHM BD96801 scalable PMIC

Matti Vaittinen linux-devicetree linux-watchdog lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6dt-bindings: ROHM BD96801 PMIC regulatorsDocumentation/devicetree/bindings/regulator/rohm,bd96801-regulator.yaml+62 -03 replies
2/6dt-bindings: mfd: bd96801 PMIC coreDocumentation/devicetree/bindings/mfd/rohm,bd96801-pmic.yaml+172 -00 replies
3/6mfd: support ROHM BD96801 PMIC coredrivers/mfd/Kconfig drivers/mfd/Makefile drivers/mfd/rohm-bd96801.c +2 more+508 -02 replies
4/6regulator: bd96801: ROHM BD96801 PMIC regulatorsdrivers/regulator/Kconfig drivers/regulator/Makefile drivers/regulator/bd96801-regulator.c+910 -00 replies
5/6watchdog: ROHM BD96801 PMIC WDG driverdrivers/watchdog/Kconfig drivers/watchdog/Makefile drivers/watchdog/bd96801_wdt.c+414 -02 replies
6/6MAINTAINERS: Add ROHM BD96801 'scalable PMIC' entriesMAINTAINERS+4 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/6] Support ROHM BD96801 scalable PMIC

Support ROHM BD96801 "scalable" PMIC.

The ROHM BD96801 is automotive grade PMIC, intended to be usable in multiple solutions. The BD96801 can be used as a stand-alone, or together with separate 'companion PMICs'. This modular approach aims to make this PMIC suitable for various use-cases.

This series brings only limited support. The more complete set of features was sent in the RFC:
https://lore.kernel.org/lkml/[email protected]/

As writing of this there is no known system using the ERRB interrupts, or doing configurations which require the PMIC to be in STBY state using Linux driver. Hence it felt natural to upstream only partial support for now, while leaving a note about the RFC series with more complete support for those who may need it later.

Revision history still tries to summarize changes from the RFC for the reviewers.

Revision history:
RFCv2 => v1:
- Drop ERRB IRQ from drivers (but not DT bindings).
- Drop configuration which requires STBY - state.
- Fix the register lock race by moving it from the regulator driver to the MFD driver.
- Fix watchdog timeout handling

RFCv1 => RFCv2:
- Tidying code based on feedback form Krzysztof Kozlowski and Lee Jones.
- Documented undocumented watchdog related DT properties.
- Added usage of the watchdog IRQ.
- Use irq_domain_update_bus_token() to work-around debugFS name collision for IRQ domains.

---

Matti Vaittinen (6):
dt-bindings: ROHM BD96801 PMIC regulators
dt-bindings: mfd: bd96801 PMIC core
mfd: support ROHM BD96801 PMIC core
regulator: bd96801: ROHM BD96801 PMIC regulators
watchdog: ROHM BD96801 PMIC WDG driver
MAINTAINERS: Add ROHM BD96801 'scalable PMIC' entries

 .../bindings/mfd/rohm,bd96801-pmic.yaml       | 172 ++++
 .../regulator/rohm,bd96801-regulator.yaml     |  62 ++
 MAINTAINERS                                   |   4 +
 drivers/mfd/Kconfig                           |  13 +
 drivers/mfd/Makefile                          |   1 +
 drivers/mfd/rohm-bd96801.c                    | 278 ++++++
 drivers/regulator/Kconfig                     |  12 +
 drivers/regulator/Makefile                    |   2 +
 drivers/regulator/bd96801-regulator.c         | 896 ++++++++++++++++++
 drivers/watchdog/Kconfig                      |  13 +
 drivers/watchdog/Makefile                     |   1 +
 drivers/watchdog/bd96801_wdt.c                | 400 ++++++++
 include/linux/mfd/rohm-bd96801.h              | 215 +++++
 include/linux/mfd/rohm-generic.h              |   1 +
 14 files changed, 2070 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mfd/rohm,bd96801-pmic.yaml
 create mode 100644 Documentation/devicetree/bindings/regulator/rohm,bd96801-regulator.yaml
 create mode 100644 drivers/mfd/rohm-bd96801.c
 create mode 100644 drivers/regulator/bd96801-regulator.c
 create mode 100644 drivers/watchdog/bd96801_wdt.c
 create mode 100644 include/linux/mfd/rohm-bd96801.h

base-commit: 4cece764965020c22cff7665b18a012006359095

Signature · 14 lines
2.44.0


-- 
Matti Vaittinen, Linux device drivers
ROHM Semiconductors, Finland SWDC
Kiviharjunlenkki 1E
90220 OULU
FINLAND

~~~ "I don't think so," said Rene Descartes. Just then he vanished ~~~
Simon says - in Latin please.
~~~ "non cogito me" dixit Rene Descarte, deinde evanescavit ~~~
Thanks to Simon Glass for the translation =]