Skip to content

mfd: max8907: Schema, pdata and poweroff

Svyatoslav Ryhel linux-devicetree lkml mfd 7 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest5 patches 0 repliesNew
  2. v55 patches 0 repliesSuperseded
  3. v44 patches 4 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v34 patches1 replySuperseded
v2 posting 2/23 patches0 repliesSuperseded
v2 posting 1/23 patches1 replySuperseded
v13 patches1 replySuperseded

Changes in v6 from the cover letter

- rebased on top of latest next
- resolved conflict with Lee commit
---

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5regulator: dt-bindings: maxim,max8907: Convert to DT schemaDocumentation/devicetree/bindings/regulator/max8907.txt Documentation/devicetree/bindings/regulator/maxim,max8907.yaml+283 -690 replies
2/5mfd: max8907: Remove platform_data based probingdrivers/mfd/max8907.c drivers/regulator/max8907-regulator.c include/linux/mfd/max8907.h+4 -170 replies
3/5mfd: max8907: Switch to resource-managed versions of helpersdrivers/mfd/max8907.c+46 -940 replies
4/5mfd: max8907: Convert to use device managed poweroff handlerdrivers/mfd/max8907.c+3 -70 replies
5/5mfd: max8907: Add restart handlerdrivers/mfd/max8907.c include/linux/mfd/max8907.h+15 -00 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchMark BrownRob Herring (Arm)
1/5A-b R-b
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/5] mfd: max8907: Schema, pdata and poweroff

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

---
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

Changes in v5:
- rebased to be applicable on top of devm_kzalloc_obj conversion
- added restart handler

Changes in v6:
- rebased on top of latest next
- resolved conflict with Lee commit
---

Svyatoslav Ryhel (5):
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
mfd: max8907: Add restart handler

 .../devicetree/bindings/regulator/max8907.txt |  69 -----
 .../bindings/regulator/maxim,max8907.yaml     | 283 ++++++++++++++++++
 drivers/mfd/max8907.c                         | 168 ++++-------
 drivers/regulator/max8907-regulator.c         |   8 +-
 include/linux/mfd/max8907.h                   |   6 +-
 5 files changed, 349 insertions(+), 185 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/regulator/max8907.txt
 create mode 100644 Documentation/devicetree/bindings/regulator/maxim,max8907.yaml
Signature · 1 line
2.53.0