From patchwork Sun Jan 22 22:38:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 92167 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp976645qgi; Sun, 22 Jan 2017 14:38:42 -0800 (PST) X-Received: by 10.98.130.65 with SMTP id w62mr5683251pfd.10.1485124722648; Sun, 22 Jan 2017 14:38:42 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v22si13654297pfj.172.2017.01.22.14.38.42 for ; Sun, 22 Jan 2017 14:38:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-watchdog-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-watchdog-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-watchdog-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750723AbdAVWim (ORCPT ); Sun, 22 Jan 2017 17:38:42 -0500 Received: from mail-lf0-f47.google.com ([209.85.215.47]:34280 "EHLO mail-lf0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750703AbdAVWil (ORCPT ); Sun, 22 Jan 2017 17:38:41 -0500 Received: by mail-lf0-f47.google.com with SMTP id v186so84814231lfa.1 for ; Sun, 22 Jan 2017 14:38:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=4fxlfKxBgrgdbUBKkkNYRIYcMIbycUAmFwYQs+GuRco=; b=g0JEuZGAnxMXtBYi49CTj3HaTkRzjj/LB71/qa+doCDOfU6eSDvgsQIfjDMNUyiLgC Wr2Si1cTZxq1LJm7dYHHWzRykjVnyN7mSyLLZZ0VU6wT2zy+KQW9RDJz6+pJr6msGa6H OY79oBt4yq0mBHx3DLOcFKo5PNgnGx3aysiZ0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=4fxlfKxBgrgdbUBKkkNYRIYcMIbycUAmFwYQs+GuRco=; b=HXqhRmdL7UPi4TutcSgROeOmI+4JQAifATVjVbjj+0Xt9EmsAFYWIPETrdeltpg+hk T6Sf55ND/o2p2W8T7gNUKCyf6jWjXPqEvV1m0kR0FwaRTMwci1q/R/Co0zwV4jRSwn0s 8OVtxuI9auH3nkzbq22VFXC1kMqWZQcI9711cxDszWZuDlxSPOpJVVmiVM4bG+YMKKAF JXrN19xs1t2a+4mxPwLADQamyAoET/YahCbzsmWDU7cBr9jbWd8D++Sn+Ie9ER86OEww lWAbaVoSywQfh6tub+1V78QSEYe6ic5no4sOr2FgBeGgUsJVXS9Me7VDhpPiXpauimxC 0paQ== X-Gm-Message-State: AIkVDXJSvAYja1LECyHZ7LDkFtYPKO77bdsBVXNOEpGPi5flkWsxtRoc5kuEm2IM5HPqUC93 X-Received: by 10.46.9.20 with SMTP id 20mr10953936ljj.0.1485124719659; Sun, 22 Jan 2017 14:38:39 -0800 (PST) Received: from localhost.localdomain (c-357171d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.113.53]) by smtp.gmail.com with ESMTPSA id h23sm5817425lji.34.2017.01.22.14.38.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Jan 2017 14:38:38 -0800 (PST) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org, Hans Ulli Kroll , Florian Fainelli , Wim Van Sebroeck , Guenter Roeck Cc: Janos Laube , Paulius Zaleckas , openwrt-devel@openwrt.org, linux-watchdog@vger.kernel.org, Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 1/3] watchdog: add DT bindings for Cortina Gemini Date: Sun, 22 Jan 2017 23:38:26 +0100 Message-Id: <20170122223826.29178-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.3 Sender: linux-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org This adds DT bindings for the Cortina systems Gemini SoC watchdog timer. Cc: devicetree@vger.kernel.org Signed-off-by: Linus Walleij --- .../bindings/watchdog/cortina,gemin-watchdog.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/cortina,gemin-watchdog.txt -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/watchdog/cortina,gemin-watchdog.txt b/Documentation/devicetree/bindings/watchdog/cortina,gemin-watchdog.txt new file mode 100644 index 000000000000..d8dfb9cc41cf --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/cortina,gemin-watchdog.txt @@ -0,0 +1,17 @@ +Cortina Systems Gemini SoC Watchdog + +Required properties : +- compatible : must be "cortina,gemini-watchdog" +- reg : shall contain base register location and length +- interrupts : shall contain the interrupt for the watchdog + +- timeout-sec : shall contain the default watchdog timeout in seconds, + if unset, the default timeout is 13 seconds + +Example: + +watchdog@41000000 { + compatible = "cortina,gemini-watchdog"; + reg = <0x41000000 0x1000>; + interrupts = <3 IRQ_TYPE_LEVEL_HIGH>; +};