public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Devicetree support for Loongson-1 watchdog
@ 2023-05-11 12:11 Keguang Zhang
  2023-05-11 12:11 ` [PATCH v2 1/2] dt-bindings: watchdog: Add " Keguang Zhang
  2023-05-11 12:11 ` [PATCH v2 2/2] watchdog: loongson1_wdt: Add DT support Keguang Zhang
  0 siblings, 2 replies; 6+ messages in thread
From: Keguang Zhang @ 2023-05-11 12:11 UTC (permalink / raw)
  To: linux-watchdog, devicetree, linux-mips, linux-kernel
  Cc: Wim Van Sebroeck, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
	Yang Ling, Keguang Zhang

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


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

end of thread, other threads:[~2023-05-12 12:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-11 12:11 [PATCH v2 0/2] Devicetree support for Loongson-1 watchdog Keguang Zhang
2023-05-11 12:11 ` [PATCH v2 1/2] dt-bindings: watchdog: Add " Keguang Zhang
2023-05-11 14:52   ` Krzysztof Kozlowski
2023-05-12 12:30   ` Guenter Roeck
2023-05-11 12:11 ` [PATCH v2 2/2] watchdog: loongson1_wdt: Add DT support Keguang Zhang
2023-05-12 12:30   ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox