[PATCH v2 0/2] Devicetree support for Loongson-1 watchdog

From: Keguang Zhang
Date: Thu May 11 2023 - 08:13:25 EST


Add DT support and dt-binding document for Loongson-1 watchdog.

Changelog
V1 -> V2: Replaced the wildcard compatible string with specific ones
Use unevaluatedProperties instead of additionalProperties
(suggested by Krzysztof Kozlowski)
Use of_match_ptr() to aviod the build error when CONFIG_OF=n

Keguang Zhang (2):
dt-bindings: watchdog: Add Loongson-1 watchdog
watchdog: loongson1_wdt: Add DT support

.../bindings/watchdog/loongson,ls1x-wdt.yaml | 42 +++++++++++++++++++
drivers/watchdog/loongson1_wdt.c | 13 +++++-
2 files changed, 54 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/watchdog/loongson,ls1x-wdt.yaml


base-commit: 10f67d1fd275528e62109de2ece26371833638e5
--
2.39.2