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

From: Rob Herring
Date: Tue Dec 20 2016 - 22:40:38 EST


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@xxxxxxxxxxxx>
> ---
> 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
>