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 X-Patchwork-Id: 474884 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id BBA8214077A for ; Thu, 21 May 2015 18:33:43 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755246AbbEUIde (ORCPT ); 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-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=rQGi8lf6FsM7407KF4faxF5sj0FkiquysQTYj/ZyMH0=; b=XeFhlyB6N/od7my2ls+EIYYe9OY2YDGHcZMIAgE5lIUVXxidq6uSouG7KysnVM3TOB o2yfdNJU/lRvSwXvrVHwD3171/oyvZ8xMFDESnhco+VgW939/jNHVw06a0UJTRXjXkGN T3tHcsnOxI9bGFz8g7j0Z/R4nuoz+BNMgxNKio/DjR9lCzgnt8M30B1pE0zQjPF6nnGb eQNbnlMpPJewZFNmJhl2amKoli+JV7kemM3Lgi+/ZJOXdayz6LIHtIgKYKYS4VkrifzK XQbRze0Orcj3teQIwbPz2NVqyjZit9Ikaaq6I1qig4jz3YQ2TuZ8rwtdPA0RUaq6ktMc Qxsw== X-Gm-Message-State: ALoCoQl58gwYNbt0kOlTCKWkVpFy076v5MKrLa3VlJJC6eOUW1MqE05h8mINNbz2U6w0FZiNFV7h 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: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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>; +};