devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: mmc: Add small binding node on level shifters
@ 2022-04-17 14:42 Linus Walleij
  2022-04-21 13:54 ` Ulf Hansson
  0 siblings, 1 reply; 2+ messages in thread
From: Linus Walleij @ 2022-04-17 14:42 UTC (permalink / raw)
  To: linux-mmc, Ulf Hansson; +Cc: Linus Walleij, devicetree

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(-)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dt-bindings: mmc: Add small binding node on level shifters
  2022-04-17 14:42 [PATCH] dt-bindings: mmc: Add small binding node on level shifters Linus Walleij
@ 2022-04-21 13:54 ` Ulf Hansson
  0 siblings, 0 replies; 2+ messages in thread
From: Ulf Hansson @ 2022-04-21 13:54 UTC (permalink / raw)
  To: Linus Walleij; +Cc: linux-mmc, devicetree

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
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-21 13:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-17 14:42 [PATCH] dt-bindings: mmc: Add small binding node on level shifters Linus Walleij
2022-04-21 13:54 ` Ulf Hansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).