From patchwork Sat Jan 28 22:59:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 92764 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp841880qgi; Sat, 28 Jan 2017 15:01:12 -0800 (PST) X-Received: by 10.84.172.1 with SMTP id m1mr21606616plb.5.1485644472221; Sat, 28 Jan 2017 15:01:12 -0800 (PST) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [65.50.211.133]) by mx.google.com with ESMTPS id r6si8290130pli.53.2017.01.28.15.01.11 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Jan 2017 15:01:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) client-ip=65.50.211.133; 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-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cXbza-0002IC-Pr; Sat, 28 Jan 2017 23:01:10 +0000 Received: from mail-lf0-f47.google.com ([209.85.215.47]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cXbz8-0002HN-9U for linux-arm-kernel@lists.infradead.org; Sat, 28 Jan 2017 23:00:45 +0000 Received: by mail-lf0-f47.google.com with SMTP id z134so178408138lff.3 for ; Sat, 28 Jan 2017 15:00:21 -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=IeOs4IAuNeIoJ0jIGb0l1sIH94NxMmgIGiGS6AVZtqM=; b=Lb/O9fdgLjAnyQ0oS0C3SEl75S4NrgmxKCBH0IyxWuh3jx2b52kADq5v5U/Ihs7tvX aUz5ApzYw9XiPPTikZFrkiVO2OOOj8w75M/9VLJS5xrRk9t31hc2hpPQ5GQxdw0586y8 j7ui9GhjaoGqz5+FtXnx/pXN3tXqPSKtrGCso= 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=IeOs4IAuNeIoJ0jIGb0l1sIH94NxMmgIGiGS6AVZtqM=; b=GPmF/x+xgR8p/0oILIwDFMBjrGJin5LQU4/h75IFCt3ARDTGcSvWq2JceUgvBy/0Ef L7LOcTPFO8q9oBW7jHS61R8mRtKnYsabm5eUdsLgE9XcC0PY5ElhALI7EVAwJwLiRHmU 6KRUCpQUQ5rtWeISCvIF3kPj2IT2xHIudwa64XAWgrXvzJJKyObo2TYG0KLZePmsJa70 aZfCPEeO2933uPCi1IpWXc9VuZAgAMwbbBYVQPCOBdiu8bvPV3wwEQngmnkLKsoJjdDZ idax9eHf/L6NC/dztFOR3KT51yHFNvyoRNBEAqyFdBNp/yEsjHLiXgQ9TEUDDCR+1BmR N1pQ== X-Gm-Message-State: AIkVDXJyWP8h3L+zMjuFWJzW4NE7Y3Y7UYO4wA9PKrNbaIP4s41esDiP07SJwoBVeyIAxyU+ X-Received: by 10.46.22.87 with SMTP id 23mr5074996ljw.50.1485644359611; Sat, 28 Jan 2017 14:59:19 -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 70sm2422285lfq.14.2017.01.28.14.59.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Jan 2017 14:59:18 -0800 (PST) From: Linus Walleij To: Hans Ulli Kroll , Florian Fainelli , linux-arm-kernel@lists.infradead.org, Wim Van Sebroeck , Guenter Roeck Subject: [PATCH 1/3 v2] watchdog: add DT bindings for Cortina Gemini Date: Sat, 28 Jan 2017 23:59:05 +0100 Message-Id: <20170128225905.24549-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170128_150042_658653_36982C52 X-CRM114-Status: GOOD ( 12.80 ) X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.215.47 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.215.47 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: openwrt-devel@openwrt.org, devicetree@vger.kernel.org, Janos Laube , Linus Walleij , Paulius Zaleckas MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org This adds DT bindings for the Cortina systems Gemini SoC watchdog timer. Cc: devicetree@vger.kernel.org Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Make the timeout an optional property - Do not mention any Linux defaults if the property is not there --- .../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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel Reviewed-by: Guenter Roeck 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..bc4b865d178b --- /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 + +Optional properties: +- timeout-sec : the default watchdog timeout in seconds. + +Example: + +watchdog@41000000 { + compatible = "cortina,gemini-watchdog"; + reg = <0x41000000 0x1000>; + interrupts = <3 IRQ_TYPE_LEVEL_HIGH>; +};