From patchwork Fri Feb 3 19:55:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 93319 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp750360qgi; Fri, 3 Feb 2017 11:56:06 -0800 (PST) X-Received: by 10.84.197.3 with SMTP id m3mr23143866pld.89.1486151766381; Fri, 03 Feb 2017 11:56:06 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b4si26368914pli.298.2017.02.03.11.56.06 for ; Fri, 03 Feb 2017 11:56:06 -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 S1752062AbdBCT4F (ORCPT ); Fri, 3 Feb 2017 14:56:05 -0500 Received: from mail-lf0-f51.google.com ([209.85.215.51]:36676 "EHLO mail-lf0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751226AbdBCT4F (ORCPT ); Fri, 3 Feb 2017 14:56:05 -0500 Received: by mail-lf0-f51.google.com with SMTP id z134so15667124lff.3 for ; Fri, 03 Feb 2017 11:56:04 -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=DfwCwvTDYP410czppzg9zl5r8TRneTENw/zjgFPpGHU=; b=N0pwl3gKVb2qRMhtZ8uF3OYouQyOkFL/4ZAjUkZ17KR7hMuaOKxMHvrxyUEBQtMzeB QhVzTKNyxPM+gon78gHxLa6dJ+JmrmIAP2woUZ5/xNmE42uwE/Uwr9v6jcpqpbC4Q3Un xuzYbMZgTcA5Hw5W5fYuzOSNhYgaOR/3KQlhY= 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=DfwCwvTDYP410czppzg9zl5r8TRneTENw/zjgFPpGHU=; b=r/woPXxiY/r84yYqHv4tBS5d8fpfgiXGJlXWuZjqcVBo8+M1fZ05/mG5stxPLiPcV8 Qe1VZ3lKMhw8T8e9F5ABYWZAVC734E5CEe3053FY5t9b2CYi3fMjU08og7xk94w5/WJv I0d3iuV6o86RlG+3SFJwOIWBFSykYXoU38zb2BChDFdDNIPqyNH/OuXebvmbRXFmihMe kHvZ98t/BwtIqNKrEsXJm+eL+4ZXwUhwQmr4SOlb4iBWekisUeqamP+cJU56nDQvg9Be zMRU7xhCmftp/LEC2eDFHUBKBY/7p7JhDzycJnhT3TarZ+IEvvrHmiG3juCE0DHH46ld zkqg== X-Gm-Message-State: AIkVDXIAr/zEpe4ENHEHxpytHsE4gJXauHVA69fbNtEfwqEKZ72eu/LFdyLba1ZXhtcjmNwV X-Received: by 10.25.5.203 with SMTP id 194mr4675185lff.41.1486151763209; Fri, 03 Feb 2017 11:56:03 -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 s20sm7964846lfe.41.2017.02.03.11.56.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Feb 2017 11:56:01 -0800 (PST) From: Linus Walleij To: Hans Ulli Kroll , Florian Fainelli , linux-arm-kernel@lists.infradead.org, Wim Van Sebroeck , Guenter Roeck , linux-watchdog@vger.kernel.org Cc: Janos Laube , Paulius Zaleckas , openwrt-devel@openwrt.org, Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 2/3 v3] watchdog: add DT bindings for Cortina Gemini Date: Fri, 3 Feb 2017 20:55:51 +0100 Message-Id: <20170203195551.4825-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 Reviewed-by: Guenter Roeck Acked-by: Rob Herring Signed-off-by: Linus Walleij --- ChangeLog v2->v3: - Fixed spelling error in filename "gemin" to "gemini" - Collected ACKs ChangeLog v1->v2: - Make the timeout an optional property - Do not mention any Linux defaults if the property is not there --- .../bindings/watchdog/cortina,gemini-watchdog.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/cortina,gemini-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,gemini-watchdog.txt b/Documentation/devicetree/bindings/watchdog/cortina,gemini-watchdog.txt new file mode 100644 index 000000000000..bc4b865d178b --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/cortina,gemini-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>; +};