devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] Documentation/watchdog: Add binding example in samsung-wdt
@ 2013-10-30  5:11 Sachin Kamat
  2013-10-30  5:27 ` Sachin Kamat
  0 siblings, 1 reply; 2+ messages in thread
From: Sachin Kamat @ 2013-10-30  5:11 UTC (permalink / raw)
  To: linux-watchdog
  Cc: linux-samsung-soc, devicetree, mark.rutland, wim, linux,
	sachin.kamat

Added an example for reference.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 .../devicetree/bindings/watchdog/samsung-wdt.txt   |    9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/Documentation/devicetree/bindings/watchdog/samsung-wdt.txt b/Documentation/devicetree/bindings/watchdog/samsung-wdt.txt
index 2aa486c..7ddf461 100644
--- a/Documentation/devicetree/bindings/watchdog/samsung-wdt.txt
+++ b/Documentation/devicetree/bindings/watchdog/samsung-wdt.txt
@@ -12,3 +12,12 @@ Required properties:
 
 Optional properties:
 - timeout-sec : contains the watchdog timeout in seconds.
+
+Example:
+
+watchdog@101D0000 {
+ 	compatible = "samsung,s3c2410-wdt";
+ 	reg = <0x101D0000 0x100>;
+ 	interrupts = <0 42 0>;
+ 	status = "disabled";
+ };
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] Documentation/watchdog: Add binding example in samsung-wdt
  2013-10-30  5:11 [PATCH 1/1] Documentation/watchdog: Add binding example in samsung-wdt Sachin Kamat
@ 2013-10-30  5:27 ` Sachin Kamat
  0 siblings, 0 replies; 2+ messages in thread
From: Sachin Kamat @ 2013-10-30  5:27 UTC (permalink / raw)
  To: linux-watchdog
  Cc: linux-samsung-soc, devicetree, Mark Rutland, Wim Van Sebroeck,
	Guenter Roeck, Sachin Kamat

On 30 October 2013 10:41, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> Added an example for reference.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
>  .../devicetree/bindings/watchdog/samsung-wdt.txt   |    9 +++++++++
>  1 file changed, 9 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/watchdog/samsung-wdt.txt b/Documentation/devicetree/bindings/watchdog/samsung-wdt.txt
> index 2aa486c..7ddf461 100644
> --- a/Documentation/devicetree/bindings/watchdog/samsung-wdt.txt
> +++ b/Documentation/devicetree/bindings/watchdog/samsung-wdt.txt
> @@ -12,3 +12,12 @@ Required properties:
>
>  Optional properties:
>  - timeout-sec : contains the watchdog timeout in seconds.
> +
> +Example:
> +
> +watchdog@101D0000 {
> +       compatible = "samsung,s3c2410-wdt";
> +       reg = <0x101D0000 0x100>;
> +       interrupts = <0 42 0>;
> +       status = "disabled";
> + };
> --
> 1.7.9.5
>

Reports whitespace errors while applying (undetected by checkpatch).
Please ignore this version.
Have resent the fixed up one.

-- 
With warm regards,
Sachin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-30  5:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-30  5:11 [PATCH 1/1] Documentation/watchdog: Add binding example in samsung-wdt Sachin Kamat
2013-10-30  5:27 ` Sachin Kamat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).