diff mbox series

[v2,3/6] dt-bindings: memory: tegra124: emc: Replace core regulator with power domain

Message ID 20210330230445.26619-4-digetx@gmail.com
State Accepted
Commit 21e4e0d114d7f4341935cce3b0c2a93d9a0925b7
Headers show
Series NVIDIA Tegra memory improvements | expand

Commit Message

Dmitry Osipenko March 30, 2021, 11:04 p.m. UTC
Power domain fits much better than a voltage regulator in regards to
a proper hardware description and from a software perspective as well.
Hence replace the core regulator with the power domain. Note that this
doesn't affect any existing DTBs because we haven't started to use the
regulator yet, and thus, it's okay to change it.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
---
 .../bindings/memory-controllers/nvidia,tegra124-emc.yaml   | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Comments

Rob Herring (Arm) April 1, 2021, 5:17 p.m. UTC | #1
On Wed, 31 Mar 2021 02:04:42 +0300, Dmitry Osipenko wrote:
> Power domain fits much better than a voltage regulator in regards to

> a proper hardware description and from a software perspective as well.

> Hence replace the core regulator with the power domain. Note that this

> doesn't affect any existing DTBs because we haven't started to use the

> regulator yet, and thus, it's okay to change it.

> 

> Signed-off-by: Dmitry Osipenko <digetx@gmail.com>

> ---

>  .../bindings/memory-controllers/nvidia,tegra124-emc.yaml   | 7 ++++---

>  1 file changed, 4 insertions(+), 3 deletions(-)

> 


Reviewed-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra124-emc.yaml b/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra124-emc.yaml
index 09bde65e1955..9163c3f12a85 100644
--- a/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra124-emc.yaml
+++ b/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra124-emc.yaml
@@ -37,9 +37,10 @@  properties:
     description:
       phandle of the memory controller node
 
-  core-supply:
+  power-domains:
+    maxItems: 1
     description:
-      Phandle of voltage regulator of the SoC "core" power domain.
+      Phandle of the SoC "core" power domain.
 
   operating-points-v2:
     description:
@@ -370,7 +371,7 @@  examples:
 
         nvidia,memory-controller = <&mc>;
         operating-points-v2 = <&dvfs_opp_table>;
-        core-supply = <&vdd_core>;
+        power-domains = <&domain>;
 
         #interconnect-cells = <0>;