[PATCH v4 0/4] mfd: max8907: Schema, pdata and poweroff

From: Svyatoslav Ryhel

Date: Tue Oct 27 2026 - 07:52:41 EST


Convert existing txt documentation file to DF schema. Remove
platform data use. Switch to device managed poweroff handler.

Schema includes reference to pending tegra-regulators-coupling
conversion. https://lore.kernel.org/lkml/20260924-ti-tps6586x-v4-1-6c7a8fb8b646@xxxxxxxxx/

---
Changes in v2:
- fixed max8907_power_off return

Changes in v3:
- added idata check in max8907_regulator_probe() for BBAT/SDBY/VRTC
- added conversion to devm_ helpers commit
- switch to devm_register_power_off_handler() and
of_device_is_system_power_controller()

Changes in v4:
- dropped in-supply type definitions in schema
---

Svyatoslav Ryhel (4):
regulator: dt-bindings: maxim,max8907: Convert to DT schema
mfd: max8907: Remove platform_data based probing
mfd: max8907: Switch to resource-managed versions of helpers
mfd: max8907: Convert to use device managed poweroff handler

.../devicetree/bindings/regulator/max8907.txt | 69 -----
.../bindings/regulator/maxim,max8907.yaml | 283 ++++++++++++++++++
drivers/mfd/max8907.c | 159 ++++------
drivers/regulator/max8907-regulator.c | 11 +-
include/linux/mfd/max8907.h | 5 -
5 files changed, 347 insertions(+), 180 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/regulator/max8907.txt
create mode 100644 Documentation/devicetree/bindings/regulator/maxim,max8907.yaml

--
2.53.0