Re: [PATCH V3 1/3] dt-bindings: mmc: Supply max load for mmc supplies
From: Rob Herring
Date: Tue Jun 09 2020 - 19:02:22 EST
+Mark B
On Tue, Jun 02, 2020 at 04:17:54PM +0530, Veerabhadrarao Badiganti wrote:
> Supply the max load needed for driving the mmc supplies.
>
> Signed-off-by: Veerabhadrarao Badiganti <vbadigan@xxxxxxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/mmc/mmc-controller.yaml | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
> index acc9f10871d4..d95219721fa1 100644
> --- a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
> +++ b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml
> @@ -290,6 +290,12 @@ properties:
> description:
> Supply for the bus IO line power
>
> + vmmc-supply-max-microamp:
> + description: Maximum load for the card power.
> +
> + vqmmc-supply-max-microamp:
> + description: Maximum load for the bus IO line power.
By a 'common regulator property' I meant documented with regulator
binding like *-supply, not common to MMC. How is MMC special?
Thinking about this some more, what's wrong with the max current in the
regulator nodes? I suppose you could have more than one load and need to
define the loads separately?
Rob