dt-bindings: watchdog: Convert TS-4800 to DT schema
v2 cover dt-bindings: watchdog: Convert TS-4800 to DT schema
This patch series converts the Technologic Systems TS-4800 Watchdog timer bindings to DT schema and fixes the active hardware node in the iMX51 device tree.
---
Changes in v2:
- dt-bindings: watchdog: Moved 'allOf' block below 'required'.
- dt-bindings: watchdog: Removed the 'syscon' node from the example.
Eduard Bostina (2):
dt-bindings: watchdog: Convert TS-4800 to DT schema
ARM: dts: nxp: imx51-ts4800: Rename wdt node to watchdog
.../watchdog/technologic,ts4800-wdt.yaml | 40 +++++++++++++++++++ .../bindings/watchdog/ts4800-wdt.txt | 25 ------------ arch/arm/boot/dts/nxp/imx/imx51-ts4800.dts | 2 +- 3 files changed, 41 insertions(+), 26 deletions(-) create mode 100644 Documentation/devicetree/bindings/watchdog/technologic,ts4800-wdt.yaml delete mode 100644 Documentation/devicetree/bindings/watchdog/ts4800-wdt.txt
Signature · 1 line
2.53.0
PATCH v2 1/2 dt-bindings: watchdog: Convert TS-4800 to DT schema
Convert the Technologic Systems TS-4800 watchdog timer bindings to DT schema.
---
Note:
* This patch is part of the GSoC2026 application process for device tree bindings conversions
* https://github.com/LinuxFoundationGSoC/ProjectIdeas/wiki/GSoC-2026-Device-Tree-Bindings
.../watchdog/technologic,ts4800-wdt.yaml | 40 +++++++++++++++++++ .../bindings/watchdog/ts4800-wdt.txt | 25 ------------ 2 files changed, 40 insertions(+), 25 deletions(-) create mode 100644 Documentation/devicetree/bindings/watchdog/technologic,ts4800-wdt.yaml delete mode 100644 Documentation/devicetree/bindings/watchdog/ts4800-wdt.txt
Documentation/devicetree/bindings/watchdog/technologic,ts4800-wdt.yaml new file +40 -0
@@ -0,0 +1,40 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/technologic,ts4800-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Technologic Systems TS-4800 Watchdog + +maintainers: + - Eduard Bostina <[email protected]> + +properties: + compatible: + const: technologic,ts4800-wdt + + syscon: + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + - items: + - description: Phandle to the FPGA's syscon + - description: Offset to the watchdog register + description: Phandle / integers array that points to the syscon node which + describes the FPGA's syscon registers. + +required: + - compatible + - syscon + +allOf: + - $ref: watchdog.yaml# + +unevaluatedProperties: false + +examples: + - | + watchdog { + compatible = "technologic,ts4800-wdt"; + syscon = <&syscon 0xe>; + timeout-sec = <10>; + };
Documentation/devicetree/bindings/watchdog/ts4800-wdt.txt deleted +0 -25
@@ -1,25 +0,0 @@ -Technologic Systems Watchdog - -Required properties: -- compatible: must be "technologic,ts4800-wdt" -- syscon: phandle / integer array that points to the syscon node which - describes the FPGA's syscon registers. - - phandle to FPGA's syscon - - offset to the watchdog register - -Optional property: -- timeout-sec: contains the watchdog timeout in seconds. - -Example: - -syscon: syscon@b0010000 { - compatible = "syscon", "simple-mfd"; - reg = <0xb0010000 0x3d>; - reg-io-width = <2>; - - wdt@e { - compatible = "technologic,ts4800-wdt"; - syscon = <&syscon 0xe>; - timeout-sec = <10>; - }; -}
Signature · 1 line
2.53.0
Quoted 5 lines · Eduard Bostina
Convert the Technologic Systems TS-4800 watchdog timer bindings to DT schema.
Signed-off-by Eduard Bostina <[email protected]>---
Best regards,
Krzysztof
Quoted 4 lines · Eduard Bostina
Convert the Technologic Systems TS-4800 watchdog timer bindings to DT schema.
Signed-off-by Eduard Bostina <[email protected]>
PATCH v2 2/2 ARM: dts: nxp: imx51-ts4800: Rename wdt node to watchdog
In reply to Eduard BostinaThe Technologic Systems TS-4800 watchdog node was previously named 'wdt', which violates the core watchdog.yaml schema expecting generic node names.
Rename the node to 'watchdog' to fix the following dtbs_check warning:
'wdt' does not match '^(pmic|timer|watchdog)(@.*|-([0-9]|[1-9][0-9]+))?$'
---
Note:
* This patch is part of the GSoC2026 application process for device tree bindings conversions
* https://github.com/LinuxFoundationGSoC/ProjectIdeas/wiki/GSoC-2026-Device-Tree-Bindings
arch/arm/boot/dts/nxp/imx/imx51-ts4800.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/nxp/imx/imx51-ts4800.dts +1 -1
@@ -155,7 +155,7 @@ syscon: syscon@10000 { reg = <0x10000 0x3d>; reg-io-width = <2>; - wdt { + watchdog { compatible = "technologic,ts4800-wdt"; syscon = <&syscon 0xe>; };
Signature · 1 line
2.53.0
Re: [PATCH v2 2/2] ARM: dts: nxp: imx51-ts4800: Rename wdt node to watchdog
Quoted 7 lines · Eduard Bostina
The Technologic Systems TS-4800 watchdog node was previously named 'wdt', which violates the core
watchdog.yamlschema expecting generic node names.Rename the node to 'watchdog' to fix the following
dtbs_checkwarning:
'wdt' does not match '^(pmic|timer|watchdog)(@.*|-([0-9]|[1-9][0-9]+))?$'Signed-off-by Eduard Bostina <[email protected]>
[email protected]
AppliedFrom: Frank Li <[email protected]>
Quoted 3 lines · Eduard Bostina
This patch series converts the Technologic Systems TS-4800 Watchdog timer bindings to DT schema and fixes the active hardware node in the iMX51 device tree.
Applied, thanks!
[1/2] dt-bindings: watchdog: Convert TS-4800 to DT schema
commit: 6570a6354bd35619070bedd71dee027b5ecf6006
[2/2] ARM: dts: nxp: imx51-ts4800: Rename wdt node to watchdog
commit: dcf7bac8c2470a61cd457ed2e6f57960004ca392Best regards,
Signature · 1 line
Frank Li <[email protected]>