From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from oul135-36.netplaza.fi ([80.75.100.36]:52831 "EHLO lime.offcode.fi" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751674AbbBRNEM (ORCPT ); Wed, 18 Feb 2015 08:04:12 -0500 From: Timo Kokkonen To: boris.brezillon@free-electrons.com, linux-arm-kernel@lists.infradead.org, linux-watchdog@vger.kernel.org, nicolas.ferre@atmel.com, alexandre.belloni@free-electrons.com Cc: Timo Kokkonen Subject: [PATCH 1/2] devicetree: Document generic watchdog properties Date: Wed, 18 Feb 2015 14:57:21 +0200 Message-Id: In-Reply-To: References: <54B53160.6060309@roeck-us.net> In-Reply-To: References: Sender: linux-watchdog-owner@vger.kernel.org List-Id: linux-watchdog@vger.kernel.org There is no documentation for the watchdog properties that are common among most of the watchdog drivers. Add document where these generic properties can be described and told how they should be used in drivers. Start from the "timeout-sec" property. Signed-off-by: Timo Kokkonen --- Documentation/devicetree/bindings/watchdog/watchdog.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/watchdog.txt diff --git a/Documentation/devicetree/bindings/watchdog/watchdog.txt b/Documentation/devicetree/bindings/watchdog/watchdog.txt new file mode 100644 index 0000000..7e3686c --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/watchdog.txt @@ -0,0 +1,12 @@ +These properties are common among most watchdog drivers. Any driver +that requires the functionality listed below should implement them +using these definitions. + +Optional properties: +- timeout-sec: Contains the watchdog timeout in seconds. + +Example: + +watchdog { + timeout-sec = <60>; +}; -- 2.1.0 From mboxrd@z Thu Jan 1 00:00:00 1970 From: timo.kokkonen@offcode.fi (Timo Kokkonen) Date: Wed, 18 Feb 2015 14:57:21 +0200 Subject: [PATCH 1/2] devicetree: Document generic watchdog properties In-Reply-To: References: <54B53160.6060309@roeck-us.net> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org There is no documentation for the watchdog properties that are common among most of the watchdog drivers. Add document where these generic properties can be described and told how they should be used in drivers. Start from the "timeout-sec" property. Signed-off-by: Timo Kokkonen --- Documentation/devicetree/bindings/watchdog/watchdog.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/watchdog.txt diff --git a/Documentation/devicetree/bindings/watchdog/watchdog.txt b/Documentation/devicetree/bindings/watchdog/watchdog.txt new file mode 100644 index 0000000..7e3686c --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/watchdog.txt @@ -0,0 +1,12 @@ +These properties are common among most watchdog drivers. Any driver +that requires the functionality listed below should implement them +using these definitions. + +Optional properties: +- timeout-sec: Contains the watchdog timeout in seconds. + +Example: + +watchdog { + timeout-sec = <60>; +}; -- 2.1.0