diff mbox

[2/3] doc: DT: add new compatible to fixed regulator's binding

Message ID 1481903550-3582-3-git-send-email-bgolaszewski@baylibre.com
State New
Headers show

Commit Message

Bartosz Golaszewski Dec. 16, 2016, 3:52 p.m. UTC
Extend the fixed regulator's device tree bindings with a new
compatible describing GPIO-driven power load switches.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>

---
 Documentation/devicetree/bindings/regulator/fixed-regulator.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-- 
2.9.3

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

Comments

Rob Herring Dec. 21, 2016, 3:40 a.m. UTC | #1
On Fri, Dec 16, 2016 at 04:52:29PM +0100, Bartosz Golaszewski wrote:
> Extend the fixed regulator's device tree bindings with a new

> compatible describing GPIO-driven power load switches.

> 

> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>

> ---

>  Documentation/devicetree/bindings/regulator/fixed-regulator.txt | 4 +++-

>  1 file changed, 3 insertions(+), 1 deletion(-)

> 

> diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.txt b/Documentation/devicetree/bindings/regulator/fixed-regulator.txt

> index 4fae41d..306931c 100644

> --- a/Documentation/devicetree/bindings/regulator/fixed-regulator.txt

> +++ b/Documentation/devicetree/bindings/regulator/fixed-regulator.txt

> @@ -1,7 +1,9 @@

>  Fixed Voltage regulators

>  

>  Required properties:

> -- compatible: Must be "regulator-fixed";

> +- compatible:

> +	"regulator-fixed" for regular fixed-regulators

> +	"gpio-power-switch" for gpio-driven power load switches


Probably add "... which do no regulation" along the lines of Mark's 
comment.

>  

>  Optional properties:

>  - gpio: gpio to use for enable control

> -- 

> 2.9.3

> 

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

Patch

diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.txt b/Documentation/devicetree/bindings/regulator/fixed-regulator.txt
index 4fae41d..306931c 100644
--- a/Documentation/devicetree/bindings/regulator/fixed-regulator.txt
+++ b/Documentation/devicetree/bindings/regulator/fixed-regulator.txt
@@ -1,7 +1,9 @@ 
 Fixed Voltage regulators
 
 Required properties:
-- compatible: Must be "regulator-fixed";
+- compatible:
+	"regulator-fixed" for regular fixed-regulators
+	"gpio-power-switch" for gpio-driven power load switches
 
 Optional properties:
 - gpio: gpio to use for enable control