From patchwork Tue Jan 24 08:58:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 92296 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1614750qgi; Tue, 24 Jan 2017 00:59:15 -0800 (PST) X-Received: by 10.99.122.17 with SMTP id v17mr37936012pgc.31.1485248355095; Tue, 24 Jan 2017 00:59:15 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d1si2435795pli.33.2017.01.24.00.59.14 for ; Tue, 24 Jan 2017 00:59:15 -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 S1750831AbdAXI7O (ORCPT ); Tue, 24 Jan 2017 03:59:14 -0500 Received: from mail-pg0-f50.google.com ([74.125.83.50]:36128 "EHLO mail-pg0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750765AbdAXI7N (ORCPT ); Tue, 24 Jan 2017 03:59:13 -0500 Received: by mail-pg0-f50.google.com with SMTP id t6so53405603pgt.3 for ; Tue, 24 Jan 2017 00:59:13 -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=suDjTUDx7TVtvwl9Sk+CFh4PXsfTmjT/7SVPrP2nLqE=; b=FsB92GuPvNtn9ID3PsymHZZjNVfQY83lX+rI/oJz8QtHvLJj5yeuETe4v8Yk+cOC+/ ycjrU5ec7FH9UT4SPo6fu4dAZWEwcRPck7Tpc3n2yOaLIj1Cv86IOFbd1Wjr9zzbV0mg 53H4oKeGQwN+j6lOfqDds7WQh+J3bWddt1TK0= 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=suDjTUDx7TVtvwl9Sk+CFh4PXsfTmjT/7SVPrP2nLqE=; b=VGrmocxFvbM3oKGWzoU2AykIGtcTUjW90B4IKFz9gM221efOVf/XvW7Dr7pUDn6PKm k0xsI9ycrgVoM33C3yXSI5kH0EtfXVdzqaTFmDzrE0TMdW2VAkKmT4rLXyeD1bR3t8nD lRJxB/QaP00Z49UUltT1ej2QkBNKYUY59CHNuKJ/nV81kZy41N8yTulFGENskXzLZMkF zYg1wPdqTz1209m26XFHtsG2ISuMBzc7/Kqs2ihGm/tsA8AhOsf/ywAn4rp0pUtEuBOQ 3xtdnSmllPpLfkTZlMYqYF7sCVykrB5FaWNGIsRkKQxYHMm0zqH2o+3cq3EwMnRJSIGY pUjQ== X-Gm-Message-State: AIkVDXIaWTIgA35kZEhUiS+5pr9dIVLkxvhR+AeF+GhTluyq/INOD78Cqc+1XKMRqAfpjDHG X-Received: by 10.84.176.1 with SMTP id u1mr49607593plb.71.1485248353006; Tue, 24 Jan 2017 00:59:13 -0800 (PST) Received: from localhost.localdomain ([45.56.152.52]) by smtp.gmail.com with ESMTPSA id q5sm3653247pgf.45.2017.01.24.00.58.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Jan 2017 00:59:12 -0800 (PST) From: Baoyou Xie To: jun.nie@linaro.org, wim@iguana.be, linux@roeck-us.net, robh+dt@kernel.org, mark.rutland@arm.com, mathieu.poirier@linaro.org Cc: linux-arm-kernel@lists.infradead.org, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, shawnguo@kernel.org, baoyou.xie@linaro.org, xie.baoyou@zte.com.cn, chen.chaokai@zte.com.cn, wang.qiang01@zte.com.cn Subject: [PATCH v5 1/3] dt: bindings: add documentation for zx2967 family watchdog controller Date: Tue, 24 Jan 2017 16:58:40 +0800 Message-Id: <1485248322-24299-1-git-send-email-baoyou.xie@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org This patch adds dt-binding documentation for zx2967 family watchdog controller. Signed-off-by: Baoyou Xie Acked-by: Rob Herring --- .../bindings/watchdog/zte,zx2967-wdt.txt | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/zte,zx2967-wdt.txt -- 2.7.4 -- 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/zte,zx2967-wdt.txt b/Documentation/devicetree/bindings/watchdog/zte,zx2967-wdt.txt new file mode 100644 index 0000000..772403a --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/zte,zx2967-wdt.txt @@ -0,0 +1,31 @@ +ZTE zx2967 Watchdog timer + +Required properties: + +- compatible : should be one of the following. + * zte,zx296718-wdt +- reg : Specifies base physical address and size of the registers. +- clocks : Pairs of phandle and specifier referencing the controller's clocks. +- resets : Reference to the reset controller controlling the watchdog + controller. + +Optional properties: + +- zte,wdt-reset-sysctrl : Directs how to reset system by the watchdog. + if we don't want to restart system when watchdog been triggered, + it's not required, vice versa. + It should include following fields. + * phandle of aon-sysctrl. + * offset of register that be written, should be 0xb0. + * configure value that be written to aon-sysctrl. + * bit mask, corresponding bits will be affected. + +Example: + +wdt: watchdog@1465000 { + compatible = "zte,zx296718-wdt"; + reg = <0x1465000 0x1000>; + clocks = <&topcrm WDT_WCLK>; + resets = <&toprst 35>; + zte,wdt-reset-sysctrl = <&aon_sysctrl 0xb0 1 0x115>; +};