From: Laxman Dewangan <ldewangan@nvidia.com>
To: <broonie@kernel.org>, <robh+dt@kernel.org>, <pawel.moll@arm.com>,
<mark.rutland@arm.com>, <lgirdwood@gmail.com>
Cc: <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
Laxman Dewangan <ldewangan@nvidia.com>
Subject: [PATCH V2 0/4] regulator: Add support for configuration of active-discharge
Date: Wed, 2 Mar 2016 12:26:33 +0530 [thread overview]
Message-ID: <1456901797-21340-1-git-send-email-ldewangan@nvidia.com> (raw)
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
next reply other threads:[~2016-03-02 7:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-02 6:56 Laxman Dewangan [this message]
2016-03-02 6:56 ` [PATCH V2 1/4] regulator: DT: Add DT property for active-discharge configuration Laxman Dewangan
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1456901797-21340-1-git-send-email-ldewangan@nvidia.com \
--to=ldewangan@nvidia.com \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome