* [PATCH v2] dt-bindings: watchdog: microchip,pic32mzda-wdt: Convert to DT schema
@ 2026-06-24 5:56 Udaya Kiran Challa
2026-07-14 22:07 ` Rob Herring (Arm)
0 siblings, 1 reply; 4+ messages in thread
From: Udaya Kiran Challa @ 2026-06-24 5:56 UTC (permalink / raw)
To: tsbogend, robh, krzk+dt, conor+dt
Cc: skhan, me, linux-rtc, devicetree, linux-kernel,
Udaya Kiran Challa, Krzysztof Kozlowski
Convert Microchip PIC32 Watchdog Timer devicetree binding
from legacy text format to DT schema.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Udaya Kiran Challa <challauday369@gmail.com>
---
Changelog:
Changes since v1:
- Fix example indentation
- Correct example clock specifier from REF2CLK to LPRCCLK
Link to v1:https://lore.kernel.org/all/20260620172354.155565-1-challauday369@gmail.com/
---
.../bindings/watchdog/microchip,pic32-wdt.txt | 18 --------
.../watchdog/microchip,pic32mzda-wdt.yaml | 44 +++++++++++++++++++
2 files changed, 44 insertions(+), 18 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/watchdog/microchip,pic32-wdt.txt
create mode 100644 Documentation/devicetree/bindings/watchdog/microchip,pic32mzda-wdt.yaml
diff --git a/Documentation/devicetree/bindings/watchdog/microchip,pic32-wdt.txt b/Documentation/devicetree/bindings/watchdog/microchip,pic32-wdt.txt
deleted file mode 100644
index f03a29a1b323..000000000000
--- a/Documentation/devicetree/bindings/watchdog/microchip,pic32-wdt.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-* Microchip PIC32 Watchdog Timer
-
-When enabled, the watchdog peripheral can be used to reset the device if the
-WDT is not cleared periodically in software.
-
-Required properties:
-- compatible: must be "microchip,pic32mzda-wdt".
-- reg: physical base address of the controller and length of memory mapped
- region.
-- clocks: phandle of source clk. Should be <&rootclk LPRCCLK>.
-
-Example:
-
- watchdog@1f800800 {
- compatible = "microchip,pic32mzda-wdt";
- reg = <0x1f800800 0x200>;
- clocks = <&rootclk LPRCCLK>;
- };
diff --git a/Documentation/devicetree/bindings/watchdog/microchip,pic32mzda-wdt.yaml b/Documentation/devicetree/bindings/watchdog/microchip,pic32mzda-wdt.yaml
new file mode 100644
index 000000000000..a5dd633c3e78
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/microchip,pic32mzda-wdt.yaml
@@ -0,0 +1,44 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/watchdog/microchip,pic32mzda-wdt.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Microchip PIC32MZDA Watchdog Timer
+
+maintainers:
+ - Thomas Bogendoerfer <tsbogend@alpha.franken.de>
+
+description:
+ The PIC32 watchdog timer can be used to reset the device if software fails
+ to periodically service the watchdog.
+
+allOf:
+ - $ref: watchdog.yaml#
+
+properties:
+ compatible:
+ const: microchip,pic32mzda-wdt
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+ - clocks
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/clock/microchip,pic32-clock.h>
+
+ watchdog@1f800800 {
+ compatible = "microchip,pic32mzda-wdt";
+ reg = <0x1f800800 0x200>;
+ clocks = <&rootclk LPRCCLK>;
+ };
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2] dt-bindings: watchdog: microchip,pic32mzda-wdt: Convert to DT schema
2026-06-24 5:56 [PATCH v2] dt-bindings: watchdog: microchip,pic32mzda-wdt: Convert to DT schema Udaya Kiran Challa
@ 2026-07-14 22:07 ` Rob Herring (Arm)
2026-08-13 17:47 ` Uday Kiran
0 siblings, 1 reply; 4+ messages in thread
From: Rob Herring (Arm) @ 2026-07-14 22:07 UTC (permalink / raw)
To: Udaya Kiran Challa
Cc: linux-rtc, devicetree, skhan, tsbogend, krzk+dt, linux-kernel,
conor+dt, Krzysztof Kozlowski, me
On Wed, 24 Jun 2026 11:26:48 +0530, Udaya Kiran Challa wrote:
> Convert Microchip PIC32 Watchdog Timer devicetree binding
> from legacy text format to DT schema.
>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> Signed-off-by: Udaya Kiran Challa <challauday369@gmail.com>
> ---
> Changelog:
>
> Changes since v1:
> - Fix example indentation
> - Correct example clock specifier from REF2CLK to LPRCCLK
>
> Link to v1:https://lore.kernel.org/all/20260620172354.155565-1-challauday369@gmail.com/
> ---
> .../bindings/watchdog/microchip,pic32-wdt.txt | 18 --------
> .../watchdog/microchip,pic32mzda-wdt.yaml | 44 +++++++++++++++++++
> 2 files changed, 44 insertions(+), 18 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/watchdog/microchip,pic32-wdt.txt
> create mode 100644 Documentation/devicetree/bindings/watchdog/microchip,pic32mzda-wdt.yaml
>
Applied, thanks!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] dt-bindings: watchdog: microchip,pic32mzda-wdt: Convert to DT schema
2026-07-14 22:07 ` Rob Herring (Arm)
@ 2026-08-13 17:47 ` Uday Kiran
2026-08-13 19:18 ` Rob Herring
0 siblings, 1 reply; 4+ messages in thread
From: Uday Kiran @ 2026-08-13 17:47 UTC (permalink / raw)
To: Rob Herring (Arm)
Cc: linux-rtc, devicetree, skhan, tsbogend, krzk+dt, linux-kernel,
conor+dt, Krzysztof Kozlowski, me
On Wed, Jul 15, 2026 at 3:37 AM Rob Herring (Arm) <robh@kernel.org> wrote:
>
>
> On Wed, 24 Jun 2026 11:26:48 +0530, Udaya Kiran Challa wrote:
> > Convert Microchip PIC32 Watchdog Timer devicetree binding
> > from legacy text format to DT schema.
> >
> > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> > Signed-off-by: Udaya Kiran Challa <challauday369@gmail.com>
> > ---
> > Changelog:
> >
> > Changes since v1:
> > - Fix example indentation
> > - Correct example clock specifier from REF2CLK to LPRCCLK
> >
> > Link to v1:https://lore.kernel.org/all/20260620172354.155565-1-challauday369@gmail.com/
> > ---
> > .../bindings/watchdog/microchip,pic32-wdt.txt | 18 --------
> > .../watchdog/microchip,pic32mzda-wdt.yaml | 44 +++++++++++++++++++
> > 2 files changed, 44 insertions(+), 18 deletions(-)
> > delete mode 100644 Documentation/devicetree/bindings/watchdog/microchip,pic32-wdt.txt
> > create mode 100644 Documentation/devicetree/bindings/watchdog/microchip,pic32mzda-wdt.yaml
> >
>
> Applied, thanks!
>
Thank you, Rob. There are similar microchip, pic32mzda patches related to spi,
sqi & rtc which are reviewed/acknowledged.
1. microchip,pic32mzda-spi.yaml
https://lore.kernel.org/all/20260622-ingenious-finch-of-fantasy-7bafaf@quoll/
2. microchip,pic32mzda-sqi.yaml
https://lore.kernel.org/all/20260625-omen-stark-6bb827ebcc43@spud/
3. microchip,pic32mzda-rtc.yaml
https://lore.kernel.org/all/20260703-identify-cringe-ef88079923cd@spud/
Please let me know if any further action is required from my end to
merge in the
mainline.
Regards,
Udaya Kiran Challa
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] dt-bindings: watchdog: microchip,pic32mzda-wdt: Convert to DT schema
2026-08-13 17:47 ` Uday Kiran
@ 2026-08-13 19:18 ` Rob Herring
0 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2026-08-13 19:18 UTC (permalink / raw)
To: Uday Kiran
Cc: linux-rtc, devicetree, skhan, tsbogend, krzk+dt, linux-kernel,
conor+dt, Krzysztof Kozlowski, me
On Thu, Aug 13, 2026 at 11:17:56PM +0530, Uday Kiran wrote:
> On Wed, Jul 15, 2026 at 3:37 AM Rob Herring (Arm) <robh@kernel.org> wrote:
> >
> >
> > On Wed, 24 Jun 2026 11:26:48 +0530, Udaya Kiran Challa wrote:
> > > Convert Microchip PIC32 Watchdog Timer devicetree binding
> > > from legacy text format to DT schema.
> > >
> > > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> > > Signed-off-by: Udaya Kiran Challa <challauday369@gmail.com>
> > > ---
> > > Changelog:
> > >
> > > Changes since v1:
> > > - Fix example indentation
> > > - Correct example clock specifier from REF2CLK to LPRCCLK
> > >
> > > Link to v1:https://lore.kernel.org/all/20260620172354.155565-1-challauday369@gmail.com/
> > > ---
> > > .../bindings/watchdog/microchip,pic32-wdt.txt | 18 --------
> > > .../watchdog/microchip,pic32mzda-wdt.yaml | 44 +++++++++++++++++++
> > > 2 files changed, 44 insertions(+), 18 deletions(-)
> > > delete mode 100644 Documentation/devicetree/bindings/watchdog/microchip,pic32-wdt.txt
> > > create mode 100644 Documentation/devicetree/bindings/watchdog/microchip,pic32mzda-wdt.yaml
> > >
> >
> > Applied, thanks!
> >
>
> Thank you, Rob. There are similar microchip, pic32mzda patches related to spi,
> sqi & rtc which are reviewed/acknowledged.
I picked up watchdog only because watchdog DT patches have a tendency to
get missed.
> 1. microchip,pic32mzda-spi.yaml
> https://lore.kernel.org/all/20260622-ingenious-finch-of-fantasy-7bafaf@quoll/
>
> 2. microchip,pic32mzda-sqi.yaml
> https://lore.kernel.org/all/20260625-omen-stark-6bb827ebcc43@spud/
You missed sending to linux-spi and/or Mark B on these. You'll need to
send another version.
>
> 3. microchip,pic32mzda-rtc.yaml
> https://lore.kernel.org/all/20260703-identify-cringe-ef88079923cd@spud/
You missed Alexandre.
In general, use what get_maintainers.pl gives you.
Rob
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-08-13 19:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-24 5:56 [PATCH v2] dt-bindings: watchdog: microchip,pic32mzda-wdt: Convert to DT schema Udaya Kiran Challa
2026-07-14 22:07 ` Rob Herring (Arm)
2026-08-13 17:47 ` Uday Kiran
2026-08-13 19:18 ` Rob Herring
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.