[1/3] dt-bindings: watchdog: Add Realtek RTD1295

Message ID 20170828113532.32627-2-afaerber@suse.de
State New
Headers show
Series
  • arm64: Realtek RTD1295 watchdog
Related show

Commit Message

Andreas Färber Aug. 28, 2017, 11:35 a.m.
Add a binding for the Realtek RTD1295 watchdog.

Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 .../devicetree/bindings/watchdog/realtek,rtd119x.txt    | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/watchdog/realtek,rtd119x.txt

Comments

Rob Herring Sept. 1, 2017, 2:30 p.m. | #1
On Mon, Aug 28, 2017 at 01:35:29PM +0200, Andreas Färber wrote:
> Add a binding for the Realtek RTD1295 watchdog.
> 
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> ---
>  .../devicetree/bindings/watchdog/realtek,rtd119x.txt    | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/watchdog/realtek,rtd119x.txt

Acked-by: Rob Herring <robh@kernel.org>

Patch

diff --git a/Documentation/devicetree/bindings/watchdog/realtek,rtd119x.txt b/Documentation/devicetree/bindings/watchdog/realtek,rtd119x.txt
new file mode 100644
index 000000000000..05653054bd5b
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/realtek,rtd119x.txt
@@ -0,0 +1,17 @@ 
+Realtek RTD1295 Watchdog
+========================
+
+Required properties:
+
+- compatible :  Should be "realtek,rtd1295-watchdog"
+- reg        :  Specifies the physical base address and size of registers
+- clocks     :  Specifies one clock input
+
+
+Example:
+
+	watchdog@98007680 {
+		compatible = "realtek,rtd1295-watchdog";
+		reg = <0x98007680 0x100>;
+		clocks = <&osc27M>;
+	};