From patchwork Thu May 21 08:32:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fu Wei Fu X-Patchwork-Id: 48848 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 22DE021411 for ; Thu, 21 May 2015 08:33:47 +0000 (UTC) Received: by lbbuh7 with SMTP id uh7sf4603313lbb.3 for ; Thu, 21 May 2015 01:33:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=BiQOUiIZlRwcB8NnC3AiCZGmpTpwkkliIXJpQIp3fCU=; b=XjPl4Usc9/krSYgdHkSkeOcjKyFEf59hv7PaVgTdjw2AsNIU9RMEzejNZuIBM3m7kY Gk1AYLvGy3KzMzSxYGSB89WfVPGm6Q4EQpW9i3B7z5B8Po/MEuWy4rG77iW2EQQbWF5z So6phZtwalMO5AGvcOrEu2qvhu0AUGXoMPpge3d3hUvQ3RMkXyuexLF93hk7PTaD0jqZ 8dT+JF6qAIUD73wJHgrgHXi+xjAX6hMxumLrYm4nQVHmeiDtOlnjkRbM3eLtHsKN1O5m fdLCxppemdw93t7e6NNb/FI0f4b6zkCaCnfHEjBaogKHmKuGs2rFB71y63m2QPIVaJ39 dV8Q== X-Gm-Message-State: ALoCoQlojFyVXoGaBWVit+lddFulHWuM2BLx4HxhdVdaNN9y91AH9udIKod2xCSMWlLU0u4wos+r X-Received: by 10.180.85.129 with SMTP id h1mr2103797wiz.6.1432197226140; Thu, 21 May 2015 01:33:46 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.8.114 with SMTP id q18ls313886laa.8.gmail; Thu, 21 May 2015 01:33:45 -0700 (PDT) X-Received: by 10.112.204.6 with SMTP id ku6mr1247120lbc.73.1432197225966; Thu, 21 May 2015 01:33:45 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id h5si12827081laa.48.2015.05.21.01.33.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 May 2015 01:33:45 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by lagv1 with SMTP id v1so97787081lag.3 for ; Thu, 21 May 2015 01:33:45 -0700 (PDT) X-Received: by 10.112.219.70 with SMTP id pm6mr1221003lbc.41.1432197225878; Thu, 21 May 2015 01:33:45 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp398749lbb; Thu, 21 May 2015 01:33:44 -0700 (PDT) X-Received: by 10.68.201.138 with SMTP id ka10mr3524003pbc.6.1432197223828; Thu, 21 May 2015 01:33:43 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fk8si30613991pab.89.2015.05.21.01.33.42; Thu, 21 May 2015 01:33:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755246AbbEUIde (ORCPT + 7 others); Thu, 21 May 2015 04:33:34 -0400 Received: from mail-pa0-f51.google.com ([209.85.220.51]:35895 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755180AbbEUId3 (ORCPT ); Thu, 21 May 2015 04:33:29 -0400 Received: by pabts4 with SMTP id ts4so97892870pab.3 for ; Thu, 21 May 2015 01:33:28 -0700 (PDT) X-Received: by 10.70.100.36 with SMTP id ev4mr3365371pdb.73.1432197208501; Thu, 21 May 2015 01:33:28 -0700 (PDT) Received: from localhost.localdomain ([205.147.105.74]) by mx.google.com with ESMTPSA id zf1sm18415820pbc.43.2015.05.21.01.33.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 May 2015 01:33:27 -0700 (PDT) From: fu.wei@linaro.org To: Suravee.Suthikulpanit@amd.com, linaro-acpi@lists.linaro.org, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Cc: tekkamanninja@gmail.com, graeme.gregory@linaro.org, al.stone@linaro.org, hanjun.guo@linaro.org, timur@codeaurora.org, ashwin.chaugule@linaro.org, arnd@arndb.de, linux@roeck-us.net, vgandhi@codeaurora.org, wim@iguana.be, jcm@redhat.com, leo.duran@amd.com, corbet@lwn.net, mark.rutland@arm.com, Fu Wei Subject: [PATCH v2 2/7] Documentation: add sbsa-gwdt.txt documentation Date: Thu, 21 May 2015 16:32:31 +0800 Message-Id: <1432197156-16947-3-git-send-email-fu.wei@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1432197156-16947-1-git-send-email-fu.wei@linaro.org> References: <=fu.wei@linaro.org> <1432197156-16947-1-git-send-email-fu.wei@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: fu.wei@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Fu Wei The sbsa-gwdt.txt documentation in devicetree/bindings/watchdog is for introducing SBSA(Server Base System Architecture) Generic Watchdog device node info into FDT. Signed-off-by: Fu Wei --- .../devicetree/bindings/watchdog/sbsa-gwdt.txt | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/sbsa-gwdt.txt diff --git a/Documentation/devicetree/bindings/watchdog/sbsa-gwdt.txt b/Documentation/devicetree/bindings/watchdog/sbsa-gwdt.txt new file mode 100644 index 0000000..bd1768d --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/sbsa-gwdt.txt @@ -0,0 +1,36 @@ +* SBSA(Server Base System Architecture) Generic Watchdog + +The SBSA Generic Watchdog Timer is used for resetting the system after +two stages of timeout. +More details: ARM-DEN-0029 - Server Base System Architecture (SBSA) + +Required properties: +- compatible : Should at least contain "arm,sbsa-gwdt". + +- reg : base physical address of the frames and length of memory mapped region. + +- reg-names : Should contain the resource reg names to show the order of + the values in "reg". + Must include the following entries : "refresh", "control". + +- interrupts : Should at least contain WS0 interrupt, + the WS1 Signal is optional. + +- interrupt-names : Should contain the resource interrupt names. + Must include the following entries : "ws0". "ws1" is optional. + +Optional properties +- timeout-sec : Watchdog pre-timeout and timeout values (in seconds). + The first is timeout values, then pre-timeout. + +Example for FVP Foundation Model v8: + +watchdog@2a450000 { + compatible = "arm,sbsa-gwdt"; + reg = <0x0 0x2a450000 0 0x10000>, + <0x0 0x2a440000 0 0x10000>; + reg-names = "refresh", "control"; + interrupts = <0 27 4>; + interrupt-names = "ws0"; + timeout-sec = <10 5>; +};