dt-bindings: watchdog: realtek,rtd1295-watchdog: convert txt to yaml
Subsystems (2)
PATCH 1/1 dt-bindings: watchdog: realtek,rtd1295-watchdog: convert txt to yaml
Convert txt file to yaml. Add maintainers from git blame.
Signed-off-by Nik Bune <[email protected]>
--- .../bindings/watchdog/realtek,rtd119x.txt | 17 --------- .../watchdog/realtek,rtd1295-watchdog.yaml | 38 +++++++++++++++++++ 2 files changed, 38 insertions(+), 17 deletions(-) delete mode 100644 Documentation/devicetree/bindings/watchdog/realtek,rtd119x.txt create mode 100644 Documentation/devicetree/bindings/watchdog/realtek,rtd1295-watchdog.yaml
Documentation/devicetree/bindings/watchdog/realtek,rtd119x.txt deleted +0 -17
@@ -1,17 +0,0 @@ -Realtek RTD1295 Watchdog -======================== - -Required properties: - -- compatible : Should be "realtek,rtd1295-watchdog" -- reg : Specifies the physical base address and size of registers -- clocks : Specifies one clock input - - -Example: - - watchdog@98007680 { - compatible = "realtek,rtd1295-watchdog"; - reg = <0x98007680 0x100>; - clocks = <&osc27M>; - };
Documentation/devicetree/bindings/watchdog/realtek,rtd1295-watchdog.yaml new file +38 -0
@@ -0,0 +1,38 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/realtek,rtd1295-watchdog.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Realtek RTD1295 Watchdog + +maintainers: + - Andreas Färber <[email protected]> + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + const: realtek,rtd1295-watchdog + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - clocks + +unevaluatedProperties: false + +examples: + - | + watchdog@98007680 { + compatible = "realtek,rtd1295-watchdog"; + reg = <0x98007680 0x100>; + clocks = <&osc27M>; + };
Signature · 1 line
2.34.1
Quoted 1 line · Nik Bune
Convert txt file to yaml. Add maintainers from git blame.
There was a patch few years ago - even received conditional Reviewed-by tag, but it was never fixed and resend:
https://lore.kernel.org/all/[email protected]/
A pity.
This one looks correct, so can go as is:
Reviewed-by Krzysztof Kozlowski <[email protected]>
Best regards,
Krzysztof
Quoted 3 lines · Nik Bune
Convert txt file to yaml. Add maintainers from git blame.
Signed-off-by Nik Bune <[email protected]>
Reviewed-by Guenter Roeck <[email protected]>