All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: watchdog: migrate mt7621 text bindings to YAML
@ 2022-09-20  5:16 Sergio Paracuellos
  2022-09-26 16:16 ` Rob Herring
  0 siblings, 1 reply; 3+ messages in thread
From: Sergio Paracuellos @ 2022-09-20  5:16 UTC (permalink / raw)
  To: devicetree
  Cc: tsbogend, robh+dt, krzysztof.kozlowski+dt, arinc.unal, sr,
	Krzysztof Kozlowski

Soc Mt7621 Watchdog bindings used text format, so migrate them to YAML.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
Changes in v2:
- Rebase onto last kernel version.
- Add Krzysztof Reviewed-by tag.

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

diff --git a/Documentation/devicetree/bindings/watchdog/mediatek,mt7621-wdt.yaml b/Documentation/devicetree/bindings/watchdog/mediatek,mt7621-wdt.yaml
new file mode 100644
index 000000000000..b2b17fdf4e39
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/mediatek,mt7621-wdt.yaml
@@ -0,0 +1,33 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/watchdog/mediatek,mt7621-wdt.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Ralink Watchdog Timers
+
+maintainers:
+  - Sergio Paracuellos <sergio.paracuellos@gmail.com>
+
+allOf:
+  - $ref: watchdog.yaml#
+
+properties:
+  compatible:
+    const: mediatek,mt7621-wdt
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    watchdog@100 {
+      compatible = "mediatek,mt7621-wdt";
+      reg = <0x100 0x100>;
+    };
diff --git a/Documentation/devicetree/bindings/watchdog/mt7621-wdt.txt b/Documentation/devicetree/bindings/watchdog/mt7621-wdt.txt
deleted file mode 100644
index c15ef0ef609f..000000000000
--- a/Documentation/devicetree/bindings/watchdog/mt7621-wdt.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-Ralink Watchdog Timers
-
-Required properties:
-- compatible: must be "mediatek,mt7621-wdt"
-- reg: physical base address of the controller and length of the register range
-
-Example:
-
-	watchdog@100 {
-		compatible = "mediatek,mt7621-wdt";
-		reg = <0x100 0x10>;
-	};
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] dt-bindings: watchdog: migrate mt7621 text bindings to YAML
  2022-09-20  5:16 [PATCH v2] dt-bindings: watchdog: migrate mt7621 text bindings to YAML Sergio Paracuellos
@ 2022-09-26 16:16 ` Rob Herring
  2022-09-26 16:40   ` Sergio Paracuellos
  0 siblings, 1 reply; 3+ messages in thread
From: Rob Herring @ 2022-09-26 16:16 UTC (permalink / raw)
  To: Sergio Paracuellos
  Cc: devicetree, tsbogend, krzysztof.kozlowski+dt, arinc.unal, sr,
	Krzysztof Kozlowski

On Tue, Sep 20, 2022 at 07:16:17AM +0200, Sergio Paracuellos wrote:
> Soc Mt7621 Watchdog bindings used text format, so migrate them to YAML.
> 
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
> ---
> Changes in v2:
> - Rebase onto last kernel version.
> - Add Krzysztof Reviewed-by tag.
> 
>  .../watchdog/mediatek,mt7621-wdt.yaml         | 33 +++++++++++++++++++
>  .../bindings/watchdog/mt7621-wdt.txt          | 12 -------
>  2 files changed, 33 insertions(+), 12 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/watchdog/mediatek,mt7621-wdt.yaml
>  delete mode 100644 Documentation/devicetree/bindings/watchdog/mt7621-wdt.txt

You will want resend to the watchdog maintainers if you want this 
applied. IOW, use get_maintainers.pl.

Rob

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] dt-bindings: watchdog: migrate mt7621 text bindings to YAML
  2022-09-26 16:16 ` Rob Herring
@ 2022-09-26 16:40   ` Sergio Paracuellos
  0 siblings, 0 replies; 3+ messages in thread
From: Sergio Paracuellos @ 2022-09-26 16:40 UTC (permalink / raw)
  To: Rob Herring
  Cc: open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Thomas Bogendoerfer, Krzysztof Kozlowski,
	Arınç ÜNAL, sr, Krzysztof Kozlowski

Hi Rob,

On Mon, Sep 26, 2022 at 6:16 PM Rob Herring <robh@kernel.org> wrote:
>
> On Tue, Sep 20, 2022 at 07:16:17AM +0200, Sergio Paracuellos wrote:
> > Soc Mt7621 Watchdog bindings used text format, so migrate them to YAML.
> >
> > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> > Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
> > ---
> > Changes in v2:
> > - Rebase onto last kernel version.
> > - Add Krzysztof Reviewed-by tag.
> >
> >  .../watchdog/mediatek,mt7621-wdt.yaml         | 33 +++++++++++++++++++
> >  .../bindings/watchdog/mt7621-wdt.txt          | 12 -------
> >  2 files changed, 33 insertions(+), 12 deletions(-)
> >  create mode 100644 Documentation/devicetree/bindings/watchdog/mediatek,mt7621-wdt.yaml
> >  delete mode 100644 Documentation/devicetree/bindings/watchdog/mt7621-wdt.txt
>
> You will want resend to the watchdog maintainers if you want this
> applied. IOW, use get_maintainers.pl.

Sure, I have just resent it also cc'ing watchdog maintainers.

Thanks,
    Sergio Paracuellos
>
> Rob

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-26 17:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-20  5:16 [PATCH v2] dt-bindings: watchdog: migrate mt7621 text bindings to YAML Sergio Paracuellos
2022-09-26 16:16 ` Rob Herring
2022-09-26 16:40   ` Sergio Paracuellos

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.