watchdog: meson: add watchdog support for txl
authorBo Yang <bo.yang@amlogic.com>
Thu, 28 Jun 2018 06:39:55 +0000 (14:39 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Wed, 18 Jul 2018 09:49:35 +0000 (02:49 -0700)
PD#168480: add watchdog support for txl

Change-Id: I53ac23d1fedec155871ecec3229dedeb13ca7076
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
Documentation/devicetree/bindings/amlogic/meson-wdt.txt [new file with mode: 0644]
MAINTAINERS
drivers/amlogic/watchdog/meson_wdt_v3.c

diff --git a/Documentation/devicetree/bindings/amlogic/meson-wdt.txt b/Documentation/devicetree/bindings/amlogic/meson-wdt.txt
new file mode 100644 (file)
index 0000000..bc5a2ef
--- /dev/null
@@ -0,0 +1,22 @@
+Meson SoCs Watchdog timer
+
+Required properties:
+
+- compatible : should be one of
+               "amlogic,meson-gxbb-wdt"
+               "amlogic,meson-gxl-wdt"
+               "amlogic,meson-axg-wdt"
+               "amlogic,meson-txl-wdt"
+               "amlogic,meson-txlx-wdt"
+               "amlogic,meson-g12a-wdt"
+- reg : Specifies base physical address and size of the registers.
+- clocks : Should be a phandle to the Watchdog clock source, for GXBB the xtal
+          is the default clock source.
+
+Example:
+
+wdt: watchdog@98d0 {
+       compatible = "amlogic,meson-gxbb-wdt";
+       reg = <0 0x98d0 0x0 0x10>;
+       clocks = <&xtal>;
+};
index ed88657..53931e8 100644 (file)
@@ -13815,6 +13815,7 @@ F: drivers/amlogic/pm/*
 
 AMLOGIC WATCHDOG DRIVER SUPPORT
 M:     Bo Yang <bo.yang@amlogic.com>
+F:     Documentation/devicetree/bindings/amlogic/meson-wdt.txt
 F:     drivers/amlogic/watchdog/*
 
 AMLOGIC LED DRIVER SUPPORT
index 61b6023..08faabe 100644 (file)
@@ -182,6 +182,7 @@ static const struct of_device_id meson_wdt_dt_ids[] = {
         { .compatible = "amlogic,meson-gxbb-wdt", },
         { .compatible = "amlogic,meson-gxl-wdt", },
         { .compatible = "amlogic,meson-axg-wdt", },
+        { .compatible = "amlogic,meson-txl-wdt", },
         { .compatible = "amlogic,meson-txlx-wdt", },
         { .compatible = "amlogic,meson-g12a-wdt", },
         { /* sentinel */ },