diff mbox series

[1/3] dt-bindings: power: Add domain regulator supply

Message ID 20210107104915.2888408-2-hsinyi@chromium.org
State Accepted
Commit ebfe73f7079a9ef5e6487ae8dfe48c43787118e8
Headers show
Series Add domain supply for mtk power domains | expand

Commit Message

Hsin-Yi Wang Jan. 7, 2021, 10:49 a.m. UTC
Some power domains (eg. mfg) needs to turn on power supply before power
on.

Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
---
 .../bindings/power/mediatek,power-controller.yaml        | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Rob Herring (Arm) Jan. 13, 2021, 3:21 a.m. UTC | #1
On Thu, 07 Jan 2021 18:49:14 +0800, Hsin-Yi Wang wrote:
> Some power domains (eg. mfg) needs to turn on power supply before power

> on.

> 

> Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>

> ---

>  .../bindings/power/mediatek,power-controller.yaml        | 9 +++++++++

>  1 file changed, 9 insertions(+)

> 


Reviewed-by: Rob Herring <robh@kernel.org>
Enric Balletbo i Serra Jan. 13, 2021, 8:01 p.m. UTC | #2
Hi Hsin-Yi,

Thank you for the patch.

On 7/1/21 11:49, Hsin-Yi Wang wrote:
> Some power domains (eg. mfg) needs to turn on power supply before power

> on.

> 

> Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>


Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>


> ---

>  .../bindings/power/mediatek,power-controller.yaml        | 9 +++++++++

>  1 file changed, 9 insertions(+)

> 

> diff --git a/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml b/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml

> index d14cb9bac8497..e529586af5a12 100644

> --- a/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml

> +++ b/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml

> @@ -82,6 +82,9 @@ patternProperties:

>            be specified by order, adding first the BASIC clocks followed by the

>            SUSBSYS clocks.

>  

> +      domain-supply:

> +        description: domain regulator supply.

> +

>        mediatek,infracfg:

>          $ref: /schemas/types.yaml#/definitions/phandle

>          description: phandle to the device containing the INFRACFG register range.

> @@ -130,6 +133,9 @@ patternProperties:

>                be specified by order, adding first the BASIC clocks followed by the

>                SUSBSYS clocks.

>  

> +          domain-supply:

> +            description: domain regulator supply.

> +

>            mediatek,infracfg:

>              $ref: /schemas/types.yaml#/definitions/phandle

>              description: phandle to the device containing the INFRACFG register range.

> @@ -178,6 +184,9 @@ patternProperties:

>                    be specified by order, adding first the BASIC clocks followed by the

>                    SUSBSYS clocks.

>  

> +              domain-supply:

> +                description: domain regulator supply.

> +

>                mediatek,infracfg:

>                  $ref: /schemas/types.yaml#/definitions/phandle

>                  description: phandle to the device containing the INFRACFG register range.

>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml b/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml
index d14cb9bac8497..e529586af5a12 100644
--- a/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml
+++ b/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml
@@ -82,6 +82,9 @@  patternProperties:
           be specified by order, adding first the BASIC clocks followed by the
           SUSBSYS clocks.
 
+      domain-supply:
+        description: domain regulator supply.
+
       mediatek,infracfg:
         $ref: /schemas/types.yaml#/definitions/phandle
         description: phandle to the device containing the INFRACFG register range.
@@ -130,6 +133,9 @@  patternProperties:
               be specified by order, adding first the BASIC clocks followed by the
               SUSBSYS clocks.
 
+          domain-supply:
+            description: domain regulator supply.
+
           mediatek,infracfg:
             $ref: /schemas/types.yaml#/definitions/phandle
             description: phandle to the device containing the INFRACFG register range.
@@ -178,6 +184,9 @@  patternProperties:
                   be specified by order, adding first the BASIC clocks followed by the
                   SUSBSYS clocks.
 
+              domain-supply:
+                description: domain regulator supply.
+
               mediatek,infracfg:
                 $ref: /schemas/types.yaml#/definitions/phandle
                 description: phandle to the device containing the INFRACFG register range.