Message ID | 35578f27515c2abc1780823829ebab467543548c.1477929725.git.stwiss.opensource@diasemi.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Mon, Oct 31, 2016 at 04:02:03PM +0000, Steve Twiss wrote: > From: Steve Twiss <stwiss.opensource@diasemi.com> > > 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. > > Signed-off-by: Steve Twiss <stwiss.opensource@diasemi.com> Acked-by: Rob Herring <robh@kernel.org> -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/Documentation/devicetree/bindings/watchdog/da9062-wdt.txt b/Documentation/devicetree/bindings/watchdog/da9062-wdt.txt new file mode 100644 index 0000000..b935b52 --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/da9062-wdt.txt @@ -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"; + }; + };