mbox series

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

Message ID 20230511121159.463645-1-keguang.zhang@gmail.com (mailing list archive)
Headers show
Series Devicetree support for Loongson-1 watchdog | expand

Message

Keguang Zhang May 11, 2023, 12:11 p.m. UTC
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