devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 0/4] regulator: Add support for configuration of active-discharge
@ 2016-03-02  6:56 Laxman Dewangan
  2016-03-02  6:56 ` [PATCH V2 1/4] regulator: DT: Add DT property for active-discharge configuration Laxman Dewangan
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Laxman Dewangan @ 2016-03-02  6:56 UTC (permalink / raw)
  To: broonie-DgEjT+Ai2ygdnm+yROfE0A, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
	pawel.moll-5wv7dgnIgG8, mark.rutland-5wv7dgnIgG8,
	lgirdwood-Re5JQEeQqe8AvxtiuMwx3w
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Laxman Dewangan

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

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


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(+)

-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCH 0/4] regulator: Add support for configuration of active-discharge
@ 2016-03-01 12:38 Laxman Dewangan
  2016-03-01 12:38 ` [PATCH 2/4] regulator: core: Add support for active-discharge configuration Laxman Dewangan
  0 siblings, 1 reply; 9+ messages in thread
From: Laxman Dewangan @ 2016-03-01 12:38 UTC (permalink / raw)
  To: broonie, robh+dt, pawel.moll, mark.rutland, lgirdwood
  Cc: devicetree, linux-kernel, Laxman Dewangan

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

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


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(+)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-03-02  6:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-02  6:56 [PATCH V2 0/4] regulator: Add support for configuration of active-discharge Laxman Dewangan
2016-03-02  6:56 ` [PATCH V2 1/4] regulator: DT: Add DT property for active-discharge configuration Laxman Dewangan
     [not found] ` <1456901797-21340-1-git-send-email-ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-03-02  6:56   ` [PATCH 2/4] regulator: core: Add support " Laxman Dewangan
2016-03-02  6:56 ` [PATCH V2 3/4] regulator: helper: Add helper to configure active-discharge using regmap Laxman Dewangan
2016-03-02  6:56 ` [PATCH V2 4/4] regulator: max77620: Add support to configure active-discharge Laxman Dewangan
  -- strict thread matches above, loose matches on Subject: below --
2016-03-01 12:38 [PATCH 0/4] regulator: Add support for configuration of active-discharge Laxman Dewangan
2016-03-01 12:38 ` [PATCH 2/4] regulator: core: Add support for active-discharge configuration Laxman Dewangan
2016-03-02  1:44   ` Mark Brown
2016-03-02  2:01     ` Laxman Dewangan
     [not found]       ` <56D64984.8080405-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-03-02  3:13         ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).