From patchwork Tue Feb 11 06:55:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 3625231 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 C7AA9BF418 for ; Tue, 11 Feb 2014 07:18:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 02D17201F4 for ; Tue, 11 Feb 2014 07:18:03 +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 19A0D201CE for ; Tue, 11 Feb 2014 07:18:02 +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 1WD7Ip-00084e-6p; Tue, 11 Feb 2014 06:58:44 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WD7I4-0000Wx-QP; Tue, 11 Feb 2014 06:57:56 +0000 Received: from mail-ee0-f48.google.com ([74.125.83.48]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WD7Gu-0000MK-3q for linux-arm-kernel@lists.infradead.org; Tue, 11 Feb 2014 06:56:45 +0000 Received: by mail-ee0-f48.google.com with SMTP id t10so3355102eei.7 for ; Mon, 10 Feb 2014 22:56:22 -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=zdwP0QnGV11fIg72E511hr78WRaGLuZBoJBEte6Pw7Y=; b=Ik8STQ+Z3PLDhy3WkJIj3j5KvgClabmnehUNgXbVd83ohMFn1XT6byLaMkAwb3kyx+ ssBvz4bnjVlkyuLZ8rYO1ljK0mfLo6t/2g5QBVNABGz6aOrCG9Fp9u68uCHAiRrwHJQN PkPpeU1NrzlB5WO2DAKtz1e5dJrmGAR/Ma/vDn/yth6XWDeAFNtf6P1fphxDR1CZsI2i UqTBiGB2mduJrcPDew35Gw9da4gJzXRNBPL5zNCSTeH/H4K4SZbL8YJrvF9kEMO0WbJ4 O+4eIY6yrnUX35X9Jm3Um/edDO1dfnRuui/xeMZyRr4XzaB0z8cOronH+roUmzz3N+wQ vYCA== X-Gm-Message-State: ALoCoQkYX2umrZ4EAWYtjsF+LZnJzWr5sVzfbSk9ALGwU5LojhpsZJOZhDi24kOZPSgV9JQ4v/gq X-Received: by 10.14.202.8 with SMTP id c8mr755506eeo.88.1392101782463; Mon, 10 Feb 2014 22:56:22 -0800 (PST) Received: from localhost (nat-63.starnet.cz. [178.255.168.63]) by mx.google.com with ESMTPSA id n41sm33977891eeg.16.2014.02.10.22.56.20 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Mon, 10 Feb 2014 22:56:21 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu Subject: [PATCH v2 09/11] watchdog: xilinx: Add missing binding Date: Tue, 11 Feb 2014 07:55:52 +0100 Message-Id: <85fbb492f75b17b916be694744bb053448e9db96.1392101734.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-20140211_015644_332916_E895D25D X-CRM114-Status: GOOD ( 12.33 ) X-Spam-Score: 1.1 (+) Cc: Mark Rutland , devicetree@vger.kernel.org, Arnd Bergmann , Pawel Moll , Ian Campbell , linux-doc@vger.kernel.org, Rob Herring , linux-arm-kernel@lists.infradead.org, Rob Landley , Kumar Gala , Guenter Roeck 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=-1.8 required=5.0 tests=BAYES_00,KHOP_BIG_TO_CC, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_TVD_MIME_NO_HEADERS, UNPARSEABLE_RELAY autolearn=ham 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 Acked-by: Arnd Bergmann --- Changes in v2: None .../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>; +} ;