Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1428542 > unrolled thread

[PATCH 6/6] dt-bindings: pwm-regulator: Document enable-gpio property

Started byAlexandre Courbot <acourbot@nvidia.com>
First post2016-06-22 10:30 +0200
Last post2016-06-22 12:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 6/6] dt-bindings: pwm-regulator: Document enable-gpio property Alexandre Courbot <acourbot@nvidia.com> - 2016-06-22 10:30 +0200
    Re: [PATCH 6/6] dt-bindings: pwm-regulator: Document enable-gpio  property Mark Brown <broonie@kernel.org> - 2016-06-22 12:40 +0200

#1428542 — [PATCH 6/6] dt-bindings: pwm-regulator: Document enable-gpio property

FromAlexandre Courbot <acourbot@nvidia.com>
Date2016-06-22 10:30 +0200
Subject[PATCH 6/6] dt-bindings: pwm-regulator: Document enable-gpio property
Message-ID<rMLHQ-ZT-23@gated-at.bofh.it>
Add and document the enable-gpio property. Its behavior is similar to
the property of the same name found in GPIO regulator and fixed
regulator.

Cc: devicetree@vger.kernel.org
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
---
 Documentation/devicetree/bindings/regulator/pwm-regulator.txt | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/regulator/pwm-regulator.txt b/Documentation/devicetree/bindings/regulator/pwm-regulator.txt
index ed936f0f34f2..4f9dd27f52f5 100644
--- a/Documentation/devicetree/bindings/regulator/pwm-regulator.txt
+++ b/Documentation/devicetree/bindings/regulator/pwm-regulator.txt
@@ -38,13 +38,18 @@ NB: To be clear, if voltage-table is provided, then the device will be used
 in Voltage Table Mode.  If no voltage-table is provided, then the device will
 be used in Continuous Voltage Mode.
 
+Optional properties:
+--------------------
+- enable-gpio:		GPIO to use to enable/disable the regulator
+
 Any property defined as part of the core regulator binding can also be used.
 (See: ../regulator/regulator.txt)
 
-Continuous Voltage Example:
+Continuous Voltage With Enable GPIO Example:
 	pwm_regulator {
 		compatible = "pwm-regulator;
 		pwms = <&pwm1 0 8448 0>;
+		enable-gpio = <&gpio0 23 GPIO_ACTIVE_HIGH>;
 		regulator-min-microvolt = <1016000>;
 		regulator-max-microvolt = <1114000>;
 		regulator-name = "vdd_logic";
-- 
2.8.3

[toc] | [next] | [standalone]


#1428674 — Re: [PATCH 6/6] dt-bindings: pwm-regulator: Document enable-gpio property

FromMark Brown <broonie@kernel.org>
Date2016-06-22 12:40 +0200
SubjectRe: [PATCH 6/6] dt-bindings: pwm-regulator: Document enable-gpio property
Message-ID<rMNJE-2bS-37@gated-at.bofh.it>
In reply to#1428542

[Multipart message — attachments visible in raw view] — view raw

On Wed, Jun 22, 2016 at 05:25:58PM +0900, Alexandre Courbot wrote:
> Add and document the enable-gpio property. Its behavior is similar to
> the property of the same name found in GPIO regulator and fixed
> regulator.

Please submit patches using subject lines reflecting the style for the
subsystem.  This makes it easier for people to identify relevant
patches.

> +Optional properties:
> +--------------------
> +- enable-gpio:		GPIO to use to enable/disable the regulator
> +

The DT people are going to want this to be -gpios.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web