From patchwork Wed Feb 12 13:41:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 3638241 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 499799F369 for ; Wed, 12 Feb 2014 13:45:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6C8FD20145 for ; Wed, 12 Feb 2014 13:45: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 77F7520142 for ; Wed, 12 Feb 2014 13:45: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 1WDa5u-0003Tp-I4; Wed, 12 Feb 2014 13:43:18 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WDa5W-0003X0-BT; Wed, 12 Feb 2014 13:42:54 +0000 Received: from mail-ee0-f45.google.com ([74.125.83.45]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WDa5C-0003Ru-Oe for linux-arm-kernel@lists.infradead.org; Wed, 12 Feb 2014 13:42:37 +0000 Received: by mail-ee0-f45.google.com with SMTP id b15so4274774eek.18 for ; Wed, 12 Feb 2014 05:42:16 -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=Z0bdMQc+I1I3cssmBZ3XZmTs4HAEeqgNa5k0+rkltNw=; b=OYSVNyXlyyBduMGUT+kzdF3kheODBISw+bai5Ea8qNo6xk3AnvT2sD/Q/uMRSm3q7p a7YI4IF624zgIPb6mUhnuFJW0NsQrwtDfjPVP79b9cefGu7jFB4EvoOWJXK/tKNuTLoK NXvcKOcke5XyvZ27zT/rt0+XNCfrLzO/DCxpoCgJQAvcSyhqxkGS+LoMkVT1b8Xm8Z5l SGqP0LKZkbHvswqSudqAOLXZx+mvdgQVOgvTjkTErQeZk2C+gXYNSYvJlFDkhzqaTzN9 ZktTIDuDDVwju7vh1CF+01rzunSBteN35fnNUTDnzHue5AkqVxug6xJezWzOyN4DkEe/ GLHg== X-Gm-Message-State: ALoCoQlnMO2ZSagFh9zR9k8yFg216cc1jAQ+TcM18CbgYjZqHMY0Wxtw55Y2k981/avWbaR6dJ7I X-Received: by 10.14.110.68 with SMTP id t44mr4116510eeg.74.1392212536296; Wed, 12 Feb 2014 05:42:16 -0800 (PST) Received: from localhost (nat-63.starnet.cz. [178.255.168.63]) by mx.google.com with ESMTPSA id v6sm60715196eef.2.2014.02.12.05.42.14 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Wed, 12 Feb 2014 05:42:15 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu Subject: [PATCH v3 09/11] watchdog: xilinx: Add missing binding Date: Wed, 12 Feb 2014 14:41:23 +0100 Message-Id: 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-20140212_084235_090120_9845F0E9 X-CRM114-Status: GOOD ( 12.04 ) X-Spam-Score: -1.9 (-) Cc: linux-arm-kernel@lists.infradead.org, wim@iguana.be, linux-watchdog@vger.kernel.org, linux@roeck-us.net 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 Acked-by: Arnd Bergmann --- Changes in v3: None 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>; +} ;