Documentation: devicetree: watchdog: da9062/61 watchdog timer binding
authorSteve Twiss <stwiss.opensource@diasemi.com>
Tue, 28 Mar 2017 14:43:30 +0000 (15:43 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 5 Jun 2017 18:39:40 +0000 (20:39 +0200)
Add binding information for DA9062 and DA9061 watchdog.

Example bindings for both DA9062 and DA9061 devices are added. For
the DA9061 device, a fallback compatible line is added as a valid
combination of compatible strings.

The original binding for DA9062 (only) used to reside inside the
Documentation/devicetree/bindings/mfd/da9062.txt MFD document.
The da9062-watchdog section was deleted in that file and replaced
with a link to the new DA9061/62 binding information stored in this
patch.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Steve Twiss <stwiss.opensource@diasemi.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Documentation/devicetree/bindings/watchdog/da9062-wdt.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/watchdog/da9062-wdt.txt b/Documentation/devicetree/bindings/watchdog/da9062-wdt.txt
new file mode 100644 (file)
index 0000000..b935b52
--- /dev/null
@@ -0,0 +1,23 @@
+* Dialog Semiconductor DA9062/61 Watchdog Timer
+
+Required properties:
+
+- compatible: should be one of the following valid compatible string lines:
+       "dlg,da9061-watchdog", "dlg,da9062-watchdog"
+       "dlg,da9062-watchdog"
+
+Example: DA9062
+
+       pmic0: da9062@58 {
+               watchdog {
+                       compatible = "dlg,da9062-watchdog";
+               };
+       };
+
+Example: DA9061 using a fall-back compatible for the DA9062 watchdog driver
+
+       pmic0: da9061@58 {
+               watchdog {
+                       compatible = "dlg,da9061-watchdog", "dlg,da9062-watchdog";
+               };
+       };