[2/2] dt-bindings: power: Fix example for power-domain

Message ID 20200326105626.6369-3-ulf.hansson@linaro.org
State New
Headers show
Series
  • dt-bindings: A few updates to PSCI and power-domain bindings
Related show

Commit Message

Ulf Hansson March 26, 2020, 10:56 a.m.
The change that converted the domain-idle-states DT bindings to the
json-schema, forgot to update the corresponding example for the
power-domain binding. Let's fix it.

Fixes: 3261227d136d ("dt-bindings: power: Convert domain-idle-states bindings to json-schema")
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

---
 .../bindings/power/power-domain.yaml          | 28 +++++++++----------
 1 file changed, 14 insertions(+), 14 deletions(-)

-- 
2.20.1

Comments

Rob Herring March 31, 2020, 10:05 p.m. | #1
On Thu, 26 Mar 2020 11:56:26 +0100, Ulf Hansson wrote:
> The change that converted the domain-idle-states DT bindings to the
> json-schema, forgot to update the corresponding example for the
> power-domain binding. Let's fix it.
> 
> Fixes: 3261227d136d ("dt-bindings: power: Convert domain-idle-states bindings to json-schema")
> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
> ---
>  .../bindings/power/power-domain.yaml          | 28 +++++++++----------
>  1 file changed, 14 insertions(+), 14 deletions(-)
> 

Applied, thanks.

Rob

Patch

diff --git a/Documentation/devicetree/bindings/power/power-domain.yaml b/Documentation/devicetree/bindings/power/power-domain.yaml
index 6047aacd7766..ff5936e4a215 100644
--- a/Documentation/devicetree/bindings/power/power-domain.yaml
+++ b/Documentation/devicetree/bindings/power/power-domain.yaml
@@ -114,18 +114,18 @@  examples:
         domain-idle-states = <&DOMAIN_PWR_DN>;
     };
 
-    DOMAIN_RET: state@0 {
-        compatible = "domain-idle-state";
-        reg = <0x0 0x0>;
-        entry-latency-us = <1000>;
-        exit-latency-us = <2000>;
-        min-residency-us = <10000>;
-    };
-
-    DOMAIN_PWR_DN: state@1 {
-        compatible = "domain-idle-state";
-        reg = <0x1 0x0>;
-        entry-latency-us = <5000>;
-        exit-latency-us = <8000>;
-        min-residency-us = <7000>;
+    domain-idle-states {
+        DOMAIN_RET: domain-retention {
+            compatible = "domain-idle-state";
+            entry-latency-us = <1000>;
+            exit-latency-us = <2000>;
+            min-residency-us = <10000>;
+        };
+
+        DOMAIN_PWR_DN: domain-pwr-dn {
+            compatible = "domain-idle-state";
+            entry-latency-us = <5000>;
+            exit-latency-us = <8000>;
+            min-residency-us = <7000>;
+        };
     };