diff mbox series

dt-bindings: mmc: Add small binding node on level shifters

Message ID 20220417144223.649201-1-linus.walleij@linaro.org
State New
Headers show
Series dt-bindings: mmc: Add small binding node on level shifters | expand

Commit Message

Linus Walleij April 17, 2022, 2:42 p.m. UTC
The VQMMC is often provided by a level shifter, so drop a small note
in the bindings that this can be the case and how that is done.
It is helpful information since this is pretty common.

Cc: devicetree@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 Documentation/devicetree/bindings/mmc/mmc-controller.yaml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Comments

Ulf Hansson April 21, 2022, 1:54 p.m. UTC | #1
On Sun, 17 Apr 2022 at 16:44, Linus Walleij <linus.walleij@linaro.org> wrote:
>
> The VQMMC is often provided by a level shifter, so drop a small note
> in the bindings that this can be the case and how that is done.
> It is helpful information since this is pretty common.
>
> Cc: devicetree@vger.kernel.org
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

Applied for next, thanks!

Kind regards
Uffe


> ---
>  Documentation/devicetree/bindings/mmc/mmc-controller.yaml | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
> index 513f3c8758aa..ff5ce89e5111 100644
> --- a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
> +++ b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
> @@ -298,7 +298,10 @@ properties:
>
>    vqmmc-supply:
>      description:
> -      Supply for the bus IO line power
> +      Supply for the bus IO line power, such as a level shifter.
> +      If the level shifter is controlled by a GPIO line, this shall
> +      be modeled as a "regulator-fixed" with a GPIO line for
> +      switching the level shifter on/off.
>
>    mmc-pwrseq:
>      $ref: /schemas/types.yaml#/definitions/phandle
> --
> 2.35.1
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
index 513f3c8758aa..ff5ce89e5111 100644
--- a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
+++ b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
@@ -298,7 +298,10 @@  properties:
 
   vqmmc-supply:
     description:
-      Supply for the bus IO line power
+      Supply for the bus IO line power, such as a level shifter.
+      If the level shifter is controlled by a GPIO line, this shall
+      be modeled as a "regulator-fixed" with a GPIO line for
+      switching the level shifter on/off.
 
   mmc-pwrseq:
     $ref: /schemas/types.yaml#/definitions/phandle