Skip to contentSkip to conversation

dt-bindings: watchdog: atmel,at91rm9200-wdt: convert txt to yaml

PATCH In review Nik Bune 5 participants 7 messages Sep 24, 2023 – Oct 30, 2023

Subsystems (3)
lore
Share & tools
lore

Nik Bune

author
#0 lore raw

PATCH v3 1/1 dt-bindings: watchdog: atmel,at91rm9200-wdt: convert txt to yaml

Convert txt file to yaml.

---

Changes in v3:
- Removed trailing whitespace in an element of the maintainers list.

v2 patch: https://lore.kernel.org/linux-devicetree/[email protected]/

 .../watchdog/atmel,at91rm9200-wdt.yaml        | 33 +++++++++++++++++++
 .../watchdog/atmel-at91rm9200-wdt.txt         |  9 -----
 2 files changed, 33 insertions(+), 9 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/watchdog/atmel,at91rm9200-wdt.yaml
 delete mode 100644 Documentation/devicetree/bindings/watchdog/atmel-at91rm9200-wdt.txt
Documentation/devicetree/bindings/watchdog/atmel,at91rm9200-wdt.yaml new file +33 -0
new file mode 100644
index 000000000000..7af3571d89f2
@@ -0,0 +1,33 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/watchdog/atmel,at91rm9200-wdt.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Atmel AT91RM9200 System Timer Watchdog
+
+maintainers:
+  - Nicolas Ferre <[email protected]>
+
+allOf:
+  - $ref: watchdog.yaml#
+
+properties:
+  compatible:
+    const: atmel,at91rm9200-wdt
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    watchdog@fffffd00 {
+        compatible = "atmel,at91rm9200-wdt";
+        reg = <0xfffffd00 0x10>;
+    };
Documentation/devicetree/bindings/watchdog/atmel-at91rm9200-wdt.txt deleted +0 -9
deleted file mode 100644
index d4d86cf8f9eb..000000000000
@@ -1,9 +0,0 @@
-Atmel AT91RM9200 System Timer Watchdog
-
-Required properties:
-- compatible: must be "atmel,at91sam9260-wdt".
-
-Example:
-	watchdog@fffffd00 {
-		compatible = "atmel,at91rm9200-wdt";
-	};
Signature · 1 line
2.34.1
maintainer
#1 lore raw
Quoted 9 lines · Nik Bune

Convert txt file to yaml.

---

Changes in v3:
- Removed trailing whitespace in an element of the maintainers list.

Quoted 7 lines

v2 patch: https://lore.kernel.org/linux-devicetree/[email protected]/

 .../watchdog/atmel,at91rm9200-wdt.yaml        | 33 +++++++++++++++++++
 .../watchdog/atmel-at91rm9200-wdt.txt         |  9 -----
 2 files changed, 33 insertions(+), 9 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/watchdog/atmel,at91rm9200-wdt.yaml
 delete mode 100644 Documentation/devicetree/bindings/watchdog/atmel-at91rm9200-wdt.txt

Are the watchdog maintainers going to pick up this and other watchdog bindings?

Rob

maintainer
#2 lore raw
Quoted 12 lines · Rob Herring
Quoted 11 lines · Nik Bune

Convert txt file to yaml.

---

Changes in v3:
- Removed trailing whitespace in an element of the maintainers list.

v2 patch: https://lore.kernel.org/linux-devicetree/[email protected]/

Quoted 9 lines
Quoted 5 lines
 .../watchdog/atmel,at91rm9200-wdt.yaml        | 33 +++++++++++++++++++
 .../watchdog/atmel-at91rm9200-wdt.txt         |  9 -----
 2 files changed, 33 insertions(+), 9 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/watchdog/atmel,at91rm9200-wdt.yaml
 delete mode 100644 Documentation/devicetree/bindings/watchdog/atmel-at91rm9200-wdt.txt

Are the watchdog maintainers going to pick up this and other watchdog bindings?

Tricky question. I am way behind with my reviews, and historically you have picked up some of themm, so I really never know what to do with bindings.

Guenter

maintainer
#3 lore raw
Quoted 20 lines · Guenter Roeck
Quoted 18 lines · Rob Herring
Quoted 16 lines · Nik Bune

Convert txt file to yaml.

---

Changes in v3:
- Removed trailing whitespace in an element of the maintainers list.

v2 patch: https://lore.kernel.org/linux-devicetree/[email protected]/

 .../watchdog/atmel,at91rm9200-wdt.yaml        | 33 +++++++++++++++++++
 .../watchdog/atmel-at91rm9200-wdt.txt         |  9 -----
 2 files changed, 33 insertions(+), 9 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/watchdog/atmel,at91rm9200-wdt.yaml
 delete mode 100644 Documentation/devicetree/bindings/watchdog/atmel-at91rm9200-wdt.txt
Quoted 6 lines
Quoted 3 lines

Are the watchdog maintainers going to pick up this and other watchdog bindings?

Tricky question. I am way behind with my reviews, and historically you have picked up some of themm, so I really never know what to do with bindings.

The default is the subsystem maintainers take them, but yes I do pick up stuff from time to time for $reasons. Largely that was early on in schema conversions and there wasn't much checking, but now that's much better and I only tend to pick up stuff if it's been weeks without getting applied. Last cycle I found a few wdog bindings that hadn't been applied (from Apr or May), so I've been keeping more of an eye on them.

Rob

maintainer
#4 lore raw
In reply to Nik Bune
Quoted 9 lines · Nik Bune

Convert txt file to yaml.

---

Changes in v3:
- Removed trailing whitespace in an element of the maintainers list.

Quoted 8 lines

v2 patch: https://lore.kernel.org/linux-devicetree/[email protected]/

 .../watchdog/atmel,at91rm9200-wdt.yaml        | 33 +++++++++++++++++++
 .../watchdog/atmel-at91rm9200-wdt.txt         |  9 -----
 2 files changed, 33 insertions(+), 9 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/watchdog/atmel,at91rm9200-wdt.yaml
 delete mode 100644 Documentation/devicetree/bindings/watchdog/atmel-at91rm9200-wdt.txt

It seems watchdog bindings aren't getting applied, so I've applied it. Wim, please take watchdog bindings in the future unless noted otherwise.

Rob

maintainer
#5 lore raw

Hi Rob,

Quoted 20 lines · Nik Bune
Quoted 9 lines

Convert txt file to yaml.

---

Changes in v3:
- Removed trailing whitespace in an element of the maintainers list.

Quoted 8 lines

v2 patch: https://lore.kernel.org/linux-devicetree/[email protected]/

 .../watchdog/atmel,at91rm9200-wdt.yaml        | 33 +++++++++++++++++++
 .../watchdog/atmel-at91rm9200-wdt.txt         |  9 -----
 2 files changed, 33 insertions(+), 9 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/watchdog/atmel,at91rm9200-wdt.yaml
 delete mode 100644 Documentation/devicetree/bindings/watchdog/atmel-at91rm9200-wdt.txt
Quoted 2 lines

It seems watchdog bindings aren't getting applied, so I've applied it. Wim, please take watchdog bindings in the future unless noted otherwise.

I was going to add them now, but since you allready applied them, I will leave them out this time.

Kind regards,
Wim.

#6 lore raw
Quoted 22 lines · Wim Van Sebroeck

Hi Rob,

Quoted 20 lines · Nik Bune
Quoted 17 lines

Convert txt file to yaml.

---

Changes in v3:
- Removed trailing whitespace in an element of the maintainers list.

v2 patch: https://lore.kernel.org/linux-devicetree/[email protected]/

 .../watchdog/atmel,at91rm9200-wdt.yaml        | 33 +++++++++++++++++++
 .../watchdog/atmel-at91rm9200-wdt.txt         |  9 -----
 2 files changed, 33 insertions(+), 9 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/watchdog/atmel,at91rm9200-wdt.yaml
 delete mode 100644 Documentation/devicetree/bindings/watchdog/atmel-at91rm9200-wdt.txt
Quoted 4 lines
Quoted 2 lines

It seems watchdog bindings aren't getting applied, so I've applied it. Wim, please take watchdog bindings in the future unless noted otherwise.

I was going to add them now, but since you allready applied them, I will leave them out this time.

Now is merge window and patches are supposed to be in next much before the window (if possible).

Best regards,
Krzysztof