From patchwork Mon Aug 24 17:01:16 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: 52637 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by patches.linaro.org (Postfix) with ESMTPS id D499922DD4 for ; Mon, 24 Aug 2015 17:02:39 +0000 (UTC) Received: by wilj18 with SMTP id j18sf29067341wil.0 for ; Mon, 24 Aug 2015 10:02:39 -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=7j8jxCUzh2HP1GTxRDaohhTfCuDOyPkZLHTX/1obTck=; b=A0ypTHkdGt5yyFVOKzQYdX+BAzk6H0RWWHy9NHtLTJ6YmRb52B/lqJXf9jFQ8eljsf v7BL9IOtPPXN2akddT7zZZvILO6TLfCeFtLpY61ihHK0IbMfYitmXWMA9ooTsSETGAMh MfPzGwGJINMjjWbRU+utUSGhung8t+JFvBzBejZz0Lj7xP6gHzDIDuT0ph94700NSQo7 Mvl0kujHRTqYk/PQX0Aj0QAUjAMCFc4XR7uZWgnLZTJaP7k/oiO2UgfkicIlE1EicwhH vWgl8BhEcEDb8uA/EHhnnkkGd86l5FpTgLvGr5dzbdTmkxDUGayctEuXl68VlizdjLBt fZKA== X-Gm-Message-State: ALoCoQlkdriFIMNZVu4SagFVGssmuCdlqfD17SDzESjK4hgLTzivuSiji9ZkPj4v+o6RU/Z5XG/P X-Received: by 10.194.19.33 with SMTP id b1mr7076264wje.6.1440435759164; Mon, 24 Aug 2015 10:02:39 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.21.35 with SMTP id s3ls618546lae.29.gmail; Mon, 24 Aug 2015 10:02:39 -0700 (PDT) X-Received: by 10.152.21.196 with SMTP id x4mr20897129lae.117.1440435759002; Mon, 24 Aug 2015 10:02:39 -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 yg5si972775lab.144.2015.08.24.10.02.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Aug 2015 10:02:38 -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 labgv11 with SMTP id gv11so14001041lab.2 for ; Mon, 24 Aug 2015 10:02:38 -0700 (PDT) X-Received: by 10.112.166.2 with SMTP id zc2mr21018082lbb.29.1440435758825; Mon, 24 Aug 2015 10:02:38 -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.162.200 with SMTP id yc8csp2609060lbb; Mon, 24 Aug 2015 10:02:37 -0700 (PDT) X-Received: by 10.66.148.136 with SMTP id ts8mr48492503pab.15.1440435756869; Mon, 24 Aug 2015 10:02:36 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pv9si28330327pbb.44.2015.08.24.10.02.34; Mon, 24 Aug 2015 10:02:36 -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 S1755274AbbHXRCb (ORCPT + 8 others); Mon, 24 Aug 2015 13:02:31 -0400 Received: from mail-pd0-f182.google.com ([209.85.192.182]:32902 "EHLO mail-pd0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755270AbbHXRC2 (ORCPT ); Mon, 24 Aug 2015 13:02:28 -0400 Received: by pdrh1 with SMTP id h1so56530691pdr.0 for ; Mon, 24 Aug 2015 10:02:28 -0700 (PDT) X-Received: by 10.70.129.102 with SMTP id nv6mr47031124pdb.126.1440435748045; Mon, 24 Aug 2015 10:02:28 -0700 (PDT) Received: from localhost.localdomain (li400-65.members.linode.com. [106.187.50.65]) by smtp.googlemail.com with ESMTPSA id fu4sm17997515pbb.59.2015.08.24.10.02.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 24 Aug 2015 10:02:27 -0700 (PDT) From: fu.wei@linaro.org To: Suravee.Suthikulpanit@amd.com, hanjun.guo@linaro.org, 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, 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, catalin.marinas@arm.com, will.deacon@arm.com, rjw@rjwysocki.net, dyoung@redhat.com, panand@redhat.com, Fu Wei Subject: [PATCH v7 1/8] Documentation: add sbsa-gwdt.txt documentation Date: Tue, 25 Aug 2015 01:01:16 +0800 Message-Id: <1440435683-7343-2-git-send-email-fu.wei@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1440435683-7343-1-git-send-email-fu.wei@linaro.org> References: <=fu.wei@linaro.org> <1440435683-7343-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.mailfrom=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. Acked-by: Arnd Bergmann Signed-off-by: Fu Wei --- .../devicetree/bindings/watchdog/sbsa-gwdt.txt | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/Documentation/devicetree/bindings/watchdog/sbsa-gwdt.txt b/Documentation/devicetree/bindings/watchdog/sbsa-gwdt.txt new file mode 100644 index 0000000..8b43640 --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/sbsa-gwdt.txt @@ -0,0 +1,32 @@ +* 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 : Specifies base physical address of the two register frames + and length of memory mapped region, order: + 1: Watchdog control frame + 2: Refresh frame. + +- interrupts : Should at least contain WS0 interrupt, + the WS1 interrupt is optional, order: + 1: WS0 interrupt + 2: WS1 interrupt + +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@2a440000 { + compatible = "arm,sbsa-gwdt"; + reg = <0x0 0x2a440000 0 0x1000>, + <0x0 0x2a450000 0 0x1000>; + interrupts = <0 27 4>; + timeout-sec = <10 5>; +};