From patchwork Fri Jan 31 14:18:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 3561911 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BD2E5C02DC for ; Fri, 31 Jan 2014 14:54:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2840B20222 for ; Fri, 31 Jan 2014 14:54:28 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E44BD2021A for ; Fri, 31 Jan 2014 14:54:26 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W9EyJ-00029T-LG; Fri, 31 Jan 2014 14:21:32 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1W9ExZ-0001AF-Q6; Fri, 31 Jan 2014 14:20:45 +0000 Received: from mail-ea0-f171.google.com ([209.85.215.171]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W9EwB-0000xE-H4 for linux-arm-kernel@lists.infradead.org; Fri, 31 Jan 2014 14:19:20 +0000 Received: by mail-ea0-f171.google.com with SMTP id f15so2340443eak.2 for ; Fri, 31 Jan 2014 06:18:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:in-reply-to:references:content-type; bh=K9Paka6yx0ND72lGPAVBFuAFHN8frWLcsJMAiqi0JuM=; b=B1RmOgM7I1mek9tze/0blLEXN5NIT0N94nfeTrDe3YrNpoaAbPSdj8PHpDz6SXUAgp tG3TMsiJjCqdTp1AT7TV+Wjx3rsCCQdCG1V13f43CWKnYdmX5PdTrDnJKhJKuZBAvUdy L6U8S96OVkZVZelz+HY5Vdx7AZsPuhEFXNcwxZ6dRoRsTr/MVKO69LCkqkg3gj7iqJDc ugla807cDBZofEM6+W4IjaqWyscJj9LpWFE9YwlAUSVGhn/MccmlVTlX0vpsTLlhd2w+ 1O2WqS5fkgQLQMezRiCf9nVqefr8Sj0WyqQcTmdjr4HhNFLQ/dM54s4Q7FMH0XOspTA8 SU/w== X-Gm-Message-State: ALoCoQlXLHceTTuYYQ8Ne8LRhNhDOQfoJ337cbi1uoShDVqGg8w9kuAARihwqcDtHB67H79CPVNy X-Received: by 10.14.216.193 with SMTP id g41mr25358459eep.13.1391177936919; Fri, 31 Jan 2014 06:18:56 -0800 (PST) Received: from localhost (nat-63.starnet.cz. [178.255.168.63]) by mx.google.com with ESMTPSA id w4sm37325635eef.20.2014.01.31.06.18.55 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Fri, 31 Jan 2014 06:18:55 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu Subject: [PATCH 09/10] watchdog: xilinx: Add missing binding Date: Fri, 31 Jan 2014 15:18:18 +0100 Message-Id: <9c721b89ed2ceb6997809bb3363f852277e67dc2.1391177880.git.michal.simek@xilinx.com> X-Mailer: git-send-email 1.8.2.3 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140131_091919_684526_26DEA7FF X-CRM114-Status: GOOD ( 11.41 ) X-Spam-Score: -1.9 (-) Cc: Mark Rutland , devicetree@vger.kernel.org, Pawel Moll , Ian Campbell , linux-doc@vger.kernel.org, Rob Herring , Rob Landley , Kumar Gala , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_TVD_MIME_NO_HEADERS, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Document current driver binding. Signed-off-by: Michal Simek --- .../devicetree/bindings/watchdog/of-xilinx-wdt.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/of-xilinx-wdt.txt -- 1.8.2.3 diff --git a/Documentation/devicetree/bindings/watchdog/of-xilinx-wdt.txt b/Documentation/devicetree/bindings/watchdog/of-xilinx-wdt.txt new file mode 100644 index 0000000..6d63782 --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/of-xilinx-wdt.txt @@ -0,0 +1,23 @@ +Xilinx AXI/PLB soft-core watchdog Device Tree Bindings +--------------------------------------------------------- + +Required properties: +- compatible : Should be "xlnx,xps-timebase-wdt-1.00.a" or + "xlnx,xps-timebase-wdt-1.01.a". +- reg : Physical base address and size + +Optional properties: +- clock-frequency : Frequency of clock in Hz +- xlnx,wdt-enable-once : 0 - Watchdog can be restarted + 1 - Watchdog can be enabled just once +- xlnx,wdt-interval : Watchdog timeout interval in 2^ clock cycles, + is integer from 8 to 31. + +Example: +axi-timebase-wdt@40100000 { + clock-frequency = <50000000>; + compatible = "xlnx,xps-timebase-wdt-1.00.a"; + reg = <0x40100000 0x10000>; + xlnx,wdt-enable-once = <0x0>; + xlnx,wdt-interval = <0x1b>; +} ;