Skip to contentSkip to conversation

dt-binding: watchdog: add Rockchip compatibles to snps,dw-wdt.yaml

PATCH In review Johan Jonker 3 participants 3 messages Nov 16, 2020 – Dec 13, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-binding: watchdog: add Rockchip compatibles to snps,dw-wdt.yaml

The Rockchip watchdog compatibles below are already in use, but somehow never added to a document,
so add them to the snps,dw-wdt.yaml file.

"rockchip,rk3066-wdt", "snps,dw-wdt"
"rockchip,rk3188-wdt", "snps,dw-wdt"
"rockchip,rk3288-wdt", "snps,dw-wdt"
"rockchip,rk3368-wdt", "snps,dw-wdt"

make ARCH=arm dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml

make ARCH=arm64 dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml

---
 Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml +9 -1
index d9fc7bb85..f7ee9229c 100644
@@ -14,7 +14,15 @@ maintainers:
 
 properties:
   compatible:
-    const: snps,dw-wdt
+    oneOf:
+      - const: snps,dw-wdt
+      - items:
+          - enum:
+              - rockchip,rk3066-wdt
+              - rockchip,rk3188-wdt
+              - rockchip,rk3288-wdt
+              - rockchip,rk3368-wdt
+          - const: snps,dw-wdt
 
   reg:
     maxItems: 1
Signature · 1 line
2.11.0
maintainer Reviewed-by on v1 1/1
#1 lore raw

Re: [PATCH] dt-binding: watchdog: add Rockchip compatibles to snps, dw-wdt.yaml

Quoted 12 lines · Johan Jonker

The Rockchip watchdog compatibles below are already in use, but somehow never added to a document,
so add them to the snps,dw-wdt.yaml file.

"rockchip,rk3066-wdt", "snps,dw-wdt"
"rockchip,rk3188-wdt", "snps,dw-wdt"
"rockchip,rk3288-wdt", "snps,dw-wdt"
"rockchip,rk3368-wdt", "snps,dw-wdt"

make ARCH=arm dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml

Quoted 8 lines

make ARCH=arm64 dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml

---
 Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip

maintainer Reviewed-by on v1 1/1
#2 lore raw
In reply to Johan Jonker
Quoted 9 lines · Johan Jonker

The Rockchip watchdog compatibles below are already in use, but somehow never added to a document,
so add them to the snps,dw-wdt.yaml file.

"rockchip,rk3066-wdt", "snps,dw-wdt"
"rockchip,rk3188-wdt", "snps,dw-wdt"
"rockchip,rk3288-wdt", "snps,dw-wdt"
"rockchip,rk3368-wdt", "snps,dw-wdt"

Quoted 8 lines

make ARCH=arm dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml

make ARCH=arm64 dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml

Quoted 15 lines
---
 Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml +2 -1
index d9fc7bb85..f7ee9229c 100644
@@ -14,7 +14,15 @@ maintainers:
 
 properties:
   compatible:
-    const: snps,dw-wdt
+    oneOf:
+      - const: snps,dw-wdt

Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml maintainers: · line 28

Quoted 10 lines
Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml +7 -0
+      - items:
+          - enum:
+              - rockchip,rk3066-wdt
+              - rockchip,rk3188-wdt
+              - rockchip,rk3288-wdt
+              - rockchip,rk3368-wdt
+          - const: snps,dw-wdt
 
   reg:
     maxItems: 1

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip