Skip to content

lp872x: remove platform_data based probing and adjustments

Svyatoslav Ryhel linux-devicetree lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 1 replyIn review
  2. v17 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- dt changes applied to new schema
- read dvs vsel and state into local values first
- use dev_err_probe in lp872x_init_dvs()
- rely on ti,general-config and remove ti,update-config prop
---

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7regulator: dt-bindings: ti,lp872x: Deprecate ti,dvs-gpio and ti,update-configDocumentation/devicetree/bindings/regulator/ti,lp872x.yaml+6 -00 replies
2/7regulator: dt-bindings: ti,lp872x: Document input suppliesDocumentation/devicetree/bindings/regulator/ti,lp872x.yaml+12 -00 replies
3/7regulator: lp872x: Fold driver header into driver filedrivers/regulator/lp872x.c include/linux/regulator/lp872x.h+53 -870 replies
4/7regulator: lp872x: Remove redundant regmap wrappersdrivers/regulator/lp872x.c+20 -460 replies
5/7regulator: lp872x: Remove platform_data based probingdrivers/regulator/lp872x.c+91 -2360 replies
6/7regulator: lp872x: Add support for input and regulator power suppliesdrivers/regulator/lp872x.c+22 -00 replies
7/7regulator: lp872x: Use macro to fill regulator descriptordrivers/regulator/lp872x.c+61 -2140 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/7] lp872x: remove platform_data based probing and adjustments

Upgrade schema. Consolidate driver file, remove platform_data based probing and add missing regulator/chip supplies.

---
Changes in v2:
- dt changes applied to new schema
- read dvs vsel and state into local values first
- use dev_err_probe in lp872x_init_dvs()
- rely on ti,general-config and remove ti,update-config prop
---

Svyatoslav Ryhel (7):
regulator: dt-bindings: ti,lp872x: Deprecate ti,dvs-gpio and
ti,update-config
regulator: dt-bindings: ti,lp872x: Document input supplies
regulator: lp872x: Fold driver header into driver file
regulator: lp872x: Remove redundant regmap wrappers
regulator: lp872x: Remove platform_data based probing
regulator: lp872x: Add support for input and regulator power supplies
regulator: lp872x: Use macro to fill regulator descriptor

 .../bindings/regulator/ti,lp872x.yaml         |  18 +
 drivers/regulator/lp872x.c                    | 672 ++++++------------
 include/linux/regulator/lp872x.h              |  86 ---
 3 files changed, 229 insertions(+), 547 deletions(-)
 delete mode 100644 include/linux/regulator/lp872x.h
Signature · 1 line
2.53.0