On Fri, Oct 07, 2016 at 06:17:25PM +0300, Pantelis Antoniou wrote: > From: Georgi Vlaev <gvlaev@xxxxxxxxxxx> > > Add binding document for the watchdog driver of PTXPMB CPLD. > > Signed-off-by: Georgi Vlaev <gvlaev@xxxxxxxxxxx> > [Ported from Juniper kernel] > Signed-off-by: Pantelis Antoniou <pantelis.antoniou@xxxxxxxxxxxx> > --- > .../devicetree/bindings/watchdog/jnx-ptxpmb-wdt.txt | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > create mode 100644 Documentation/devicetree/bindings/watchdog/jnx-ptxpmb-wdt.txt > > diff --git a/Documentation/devicetree/bindings/watchdog/jnx-ptxpmb-wdt.txt b/Documentation/devicetree/bindings/watchdog/jnx-ptxpmb-wdt.txt > new file mode 100644 > index 0000000..34b64f6 > --- /dev/null > +++ b/Documentation/devicetree/bindings/watchdog/jnx-ptxpmb-wdt.txt > @@ -0,0 +1,17 @@ > +Juniper's PTXPMB FPGA watchdog driver > + > +Required properties: > + > +- compatible: Should be "jnx,ptxpmb-wdt" > + > +Optional properties: > + > +- reg : Specifies base physical address and size of the registers. It is > + optional since the MFD parent driver supplies it, but can be overridden. What the driver does is irrelevant. It should be required or there's no point to have the node. If the parent knows the address, then it knows the type of device too and DT is not needed. > + > +Example: > + > +wdt { s/wdt/watchdog/ > + compatible = "jnx,ptxpmb-wdt"; > + /* no properties defined */ > +}; > -- > 1.9.1 > -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html