[PATCH v2 02/16] dt-bindings: reset: Fix node descriptions in uniphier-reset example

Kunihiko Hayashi hayashi.kunihiko at socionext.com
Tue Dec 6 21:53:51 PST 2022


Prior to adding dt-bindings for SoC-dependent controllers, rename the
reset nodes and their parent nodes to the generic names in the example.

And also add the missing compatible string.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko at socionext.com>
---
 .../reset/socionext,uniphier-glue-reset.yaml  |  7 +++--
 .../reset/socionext,uniphier-reset.yaml       | 28 +++++++++++--------
 2 files changed, 20 insertions(+), 15 deletions(-)

diff --git a/Documentation/devicetree/bindings/reset/socionext,uniphier-glue-reset.yaml b/Documentation/devicetree/bindings/reset/socionext,uniphier-glue-reset.yaml
index 0a2c13e1e230..e6c6cb2ab8b8 100644
--- a/Documentation/devicetree/bindings/reset/socionext,uniphier-glue-reset.yaml
+++ b/Documentation/devicetree/bindings/reset/socionext,uniphier-glue-reset.yaml
@@ -95,13 +95,14 @@ required:
 
 examples:
   - |
-    usb-glue at 65b00000 {
-        compatible = "simple-mfd";
+    usb at 65b00000 {
+        compatible = "socionext,uniphier-ld20-dwc3-glue", "simple-mfd";
+        reg = <0x65b00000 0x400>;
         #address-cells = <1>;
         #size-cells = <1>;
         ranges = <0 0x65b00000 0x400>;
 
-        usb_rst: reset at 0 {
+        usb_rst: reset-controller at 0 {
             compatible = "socionext,uniphier-ld20-usb3-reset";
             reg = <0x0 0x4>;
             #reset-cells = <1>;
diff --git a/Documentation/devicetree/bindings/reset/socionext,uniphier-reset.yaml b/Documentation/devicetree/bindings/reset/socionext,uniphier-reset.yaml
index 6566804ec567..c8abc44582a7 100644
--- a/Documentation/devicetree/bindings/reset/socionext,uniphier-reset.yaml
+++ b/Documentation/devicetree/bindings/reset/socionext,uniphier-reset.yaml
@@ -66,11 +66,12 @@ required:
 
 examples:
   - |
-    sysctrl at 61840000 {
-        compatible = "socionext,uniphier-sysctrl", "simple-mfd", "syscon";
+    syscon at 61840000 {
+        compatible = "socionext,uniphier-ld11-sysctrl",
+                     "simple-mfd", "syscon";
         reg = <0x61840000 0x4000>;
 
-        reset {
+        reset-controller {
             compatible = "socionext,uniphier-ld11-reset";
             #reset-cells = <1>;
         };
@@ -79,11 +80,12 @@ examples:
     };
 
   - |
-    mioctrl at 59810000 {
-        compatible = "socionext,uniphier-mioctrl", "simple-mfd", "syscon";
+    syscon at 59810000 {
+        compatible = "socionext,uniphier-ld11-mioctrl",
+                     "simple-mfd", "syscon";
         reg = <0x59810000 0x800>;
 
-        reset {
+        reset-controller {
             compatible = "socionext,uniphier-ld11-mio-reset";
             #reset-cells = <1>;
         };
@@ -92,11 +94,12 @@ examples:
     };
 
   - |
-    perictrl at 59820000 {
-        compatible = "socionext,uniphier-perictrl", "simple-mfd", "syscon";
+    syscon at 59820000 {
+        compatible = "socionext,uniphier-ld11-perictrl",
+                     "simple-mfd", "syscon";
         reg = <0x59820000 0x200>;
 
-        reset {
+        reset-controller {
             compatible = "socionext,uniphier-ld11-peri-reset";
             #reset-cells = <1>;
         };
@@ -105,11 +108,12 @@ examples:
     };
 
   - |
-    adamv at 57920000 {
-        compatible = "socionext,uniphier-ld11-adamv", "simple-mfd", "syscon";
+    syscon at 57920000 {
+        compatible = "socionext,uniphier-ld11-adamv",
+                     "simple-mfd", "syscon";
         reg = <0x57920000 0x1000>;
 
-        reset {
+        reset-controller {
             compatible = "socionext,uniphier-ld11-adamv-reset";
             #reset-cells = <1>;
         };
-- 
2.25.1




More information about the linux-arm-kernel mailing list