Skip to content

regulator: Add support for configuration of active-discharge

Laxman Dewangan linux-devicetree lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 3/34 patches 1 replyIn review
  2. v2 posting 2/31 of 4 patches 2 repliesSuperseded
  3. v2 posting 1/34 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches3 repliesSuperseded

Changes in v2 from the cover letter

Make the interface like 0 (non-init member) will be treated as default, 1 for disable and 2 for enable. Created enum for active discharge default/enable/disable

Patches in v2 posting 3/3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4regulator: DT: Add DT property for active-discharge configurationDocumentation/devicetree/bindings/regulator/regulator.txt+5 -01 reply
2/4regulator: core: Add support for active-discharge configurationdrivers/regulator/core.c drivers/regulator/of_regulator.c include/linux/regulator/driver.h +1 more+32 -00 replies
3/4regulator: helper: Add helper to configure active-discharge using regmapdrivers/regulator/helpers.c include/linux/regulator/driver.h+37 -00 replies
4/4regulator: max77620: Add support to configure active-dischargedrivers/regulator/max77620-regulator.c+9 -00 replies

Reviews trailers per patch

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

PatchRob Herring
1/4A-b
2/4
3/4
4/4

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

Read the v2 thread

Cover letter [PATCH V2 RESEND 0/4] regulator: Add support for configuration of active-discharge

This series add the common regulator DT property for configuration of active discharge and implementing this in regulator core. Also implementing the regulator ops for MAX77620 to configure active discharge.

This is based on discussion on patch and comment from Mark Brown:
[PATCH V6 7/8] DT: regulator: add DT binding doc for regulator of PMIC max77620/max20024

Quoted 1 line

+- maxim,disable-active-discharge: boolean, Disable active discharge.

That's something I've seen other regulators do, can we make it a standard property with an op?

---
Changes from V1:
Make the interface like 0 (non-init member) will be treated as default, 1 for disable and 2 for enable. Created enum for active discharge default/enable/disable

Resending as earlier sequence was messed up.

Laxman Dewangan (4):
regulator: DT: Add DT property for active-discharge configuration
regulator: core: Add support for active-discharge configuration
regulator: helper: Add helper to configure active-discharge using
regmap
regulator: max77620: Add support to configure active-discharge

 .../devicetree/bindings/regulator/regulator.txt    |  5 +++++
 drivers/regulator/core.c                           | 10 ++++++++++
 drivers/regulator/helpers.c                        | 23 ++++++++++++++++++++++
 drivers/regulator/max77620-regulator.c             |  9 +++++++++
 drivers/regulator/of_regulator.c                   |  5 +++++
 include/linux/regulator/driver.h                   | 17 ++++++++++++++++
 include/linux/regulator/machine.h                  |  4 ++++
 7 files changed, 73 insertions(+)
Signature · 6 lines
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html