From: Mark Rutland <mark.rutland@arm.com>
To: Harini Katakam <harinik@xilinx.com>
Cc: "wim@iguana.be" <wim@iguana.be>,
"grant.likely@linaro.org" <grant.likely@linaro.org>,
"robh+dt@kernel.org" <robh+dt@kernel.org>,
Pawel Moll <Pawel.Moll@arm.com>,
"ijc+devicetree@hellion.org.uk" <ijc+devicetree@hellion.org.uk>,
"galak@codeaurora.org" <galak@codeaurora.org>,
"rob@landley.net" <rob@landley.net>,
"michals@xilinx.com" <michals@xilinx.com>,
"linux-watchdog@vger.kernel.org" <linux-watchdog@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>
Subject: Re: [PATCH v2 2/2] devicetree: Add Cadence WDT devicetree bindings documentation
Date: Thu, 29 May 2014 10:12:55 +0100 [thread overview]
Message-ID: <20140529091255.GB24233@leverpostej> (raw)
In-Reply-To: <1401185895-3677-2-git-send-email-harinik@xilinx.com>
On Tue, May 27, 2014 at 11:18:15AM +0100, Harini Katakam wrote:
> Add cadence-wdt bindings documentation.
>
> Signed-off-by: Harini Katakam <harinik@xilinx.com>
> ---
>
> v2:
> No changes
>
> ---
> .../devicetree/bindings/watchdog/cadence-wdt.txt | 26 ++++++++++++++++++++
> 1 file changed, 26 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/watchdog/cadence-wdt.txt
>
> diff --git a/Documentation/devicetree/bindings/watchdog/cadence-wdt.txt b/Documentation/devicetree/bindings/watchdog/cadence-wdt.txt
> new file mode 100644
> index 0000000..1f7a732
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/watchdog/cadence-wdt.txt
> @@ -0,0 +1,26 @@
> +Zynq Watchdog Device Tree Bindings
> +-------------------------------------------
> +
> +Required properties:
> +- compatible : Should be "xlnx,zynq-wdt-r1p2" or "cdns,wdt-r1p2".
What's the difference? Can "cdns,wdt-r1p2" be a fallback for
"xlnx,zynq-wdt-r1p2"?
> +- clocks : Clock phandles (see clock bindings for details).
Nit: Clocks aren't just phandles.
How many clocks? This implies several, the example shows one.
> +- reg : Physical base address and size of WDT registers map.
> +- interrupts : Property with a value describing the interrupt
> + number.
We know this is a property with a value. Describe what it logically is
(and optionally, the type is interrupt-sepcifier, though that gets
fuzzier with the interrupts-extended property).
> +- interrupt-parent : Must be core interrupt controller.
> +
> +Optional properties
> +- reset : Reset interrupt.
What does this mean? What type is this?
I have no idea if this is a boolean telling the OS to reset the
interrupt initially, or an index describing which interrupt is the reset
interrupt in either the interrupts property or some HW registers.
Cheers,
Mark.
> +- timeout-sec : Watchdog timeout value (in seconds).
> +
> +Example:
> +
> + wdt@f8005000 {
> + compatible = "xlnx,zynq-wdt-r1p2";
> + clocks = <&clkc 45>;
> + interrupt-parent = <&intc>;
> + interrupts = <0 9 1>;
> + reg = <0xf8005000 0x1000>;
> + reset = <0>;
> + timeout-sec = <10>;
> + } ;
> --
> 1.7.9.5
>
>
next prev parent reply other threads:[~2014-05-29 9:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-27 10:18 [PATCH v2 1/2] watchdog: Add Cadence WDT driver Harini Katakam
[not found] ` <1401185895-3677-1-git-send-email-harinik-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
2014-05-27 10:18 ` [PATCH v2 2/2] devicetree: Add Cadence WDT devicetree bindings documentation Harini Katakam
2014-05-29 9:12 ` Mark Rutland [this message]
2014-05-29 9:27 ` Harini Katakam
2014-05-29 9:37 ` Michal Simek
2014-05-29 9:21 ` [PATCH v2 1/2] watchdog: Add Cadence WDT driver Mark Rutland
2014-05-29 9:38 ` Harini Katakam
2014-05-29 9:43 ` Michal Simek
2014-05-29 13:19 ` Mark Rutland
2014-06-02 6:25 ` Michal Simek
2014-06-02 13:17 ` Mark Rutland
2014-06-02 13:28 ` Michal Simek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140529091255.GB24233@leverpostej \
--to=mark.rutland@arm.com \
--cc=Pawel.Moll@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=grant.likely@linaro.org \
--cc=harinik@xilinx.com \
--cc=ijc+devicetree@hellion.org.uk \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=michals@xilinx.com \
--cc=rob@landley.net \
--cc=robh+dt@kernel.org \
--cc=wim@iguana.be \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox