From patchwork Mon Jan 16 04:19:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 91526 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1254536qgi; Sun, 15 Jan 2017 20:20:18 -0800 (PST) X-Received: by 10.99.125.17 with SMTP id y17mr37559992pgc.27.1484540418499; Sun, 15 Jan 2017 20:20:18 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l87si8176330pfi.169.2017.01.15.20.20.18 for ; Sun, 15 Jan 2017 20:20:18 -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 S1750995AbdAPEUR (ORCPT ); Sun, 15 Jan 2017 23:20:17 -0500 Received: from mail-pg0-f42.google.com ([74.125.83.42]:34505 "EHLO mail-pg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750865AbdAPEUQ (ORCPT ); Sun, 15 Jan 2017 23:20:16 -0500 Received: by mail-pg0-f42.google.com with SMTP id 14so11882706pgg.1 for ; Sun, 15 Jan 2017 20:20:16 -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=lAiW0VkAb8CGON2/Rfsobz/Wq+E3KrYs42+Pqbfm+Wc=; b=B0BjeRDfIU3FzhoBYEEn+We4JR3kklqbp/GQBzUuWXO8MsdQRjDZ5qxhC+YTUfmg/Q Yh6kfIQLQtzp6af1o3y6i5XHiCYuLXCD37eIHG478uxyEq85JV6w7weO9hzlHdpQy6OA C61BXieIzRUNQ9qY7vD2XDQNAwO2jS7Ji1QMs= 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=lAiW0VkAb8CGON2/Rfsobz/Wq+E3KrYs42+Pqbfm+Wc=; b=KBgNAtNPY2/Fbltb1Iw/hBhCyrqBKdzmmYkq2vdde8poqmotbldpU75OqVnU+KsgPw 5wliz2sXWkPuM/cp1t0Mghxw/eS4LouRD6610FtM56HKrMPFbDNBRFtw08fA6thqQaX3 z7907Mxu4iyEdZjfqaUMhTfCe01RjoAoO9xYFWCAn3lTXg1umNjdersZVwzxgFRvm/uN mWabdUuXWVhDQzSOOloCKXnq4ZScvXXoZEbaqtFvos7q77vBVvcJpdl52eoVJd5ncvBi G45/7JeVgbrthJTPc1McdpKY9wSIv65ganYcPtNT+4L89eyzcijyrpLWugs2aLCKpNhB uXDw== X-Gm-Message-State: AIkVDXK/Sn2S03DWRG3LaPbsDQB3r8wpn8XM1fbutNxUhe4VekouX69tei1JG5uQGwbNoNMc X-Received: by 10.99.244.17 with SMTP id g17mr37625991pgi.80.1484540416096; Sun, 15 Jan 2017 20:20:16 -0800 (PST) Received: from localhost.localdomain ([45.56.152.15]) by smtp.gmail.com with ESMTPSA id b69sm34215915pfd.90.2017.01.15.20.20.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 15 Jan 2017 20:20:15 -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 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 v1 1/3] dt: bindings: add documentation for zx2967 family watchdog controller Date: Mon, 16 Jan 2017 12:19:53 +0800 Message-Id: <1484540395-3335-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 --- .../bindings/watchdog/zte,zx2967-wdt.txt | 29 ++++++++++++++++++++++ 1 file changed, 29 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..0fe0d40 --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/zte,zx2967-wdt.txt @@ -0,0 +1,29 @@ +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. +- clock-names: "wdtclk" for the watchdog clock. +- resets : Reference to the reset controller controlling the watchdog + controller. +- reset-names : Must include the following entries: + * wdtrst + +Optional properties: + +- reset-mask-config : Mask and configuare value that be wrote to aon-sysctrl. + +Example: + +wdt_ares: watchdog@1465000 { + compatible = "zte,zx296718-wdt"; + reg = <0x1465000 0x1000>; + clocks = <&topcrm WDT_WCLK>; + clock-names = "wdtclk"; + resets = <&toprst 35>; + reset-names = "wdtrst"; + reset-mask-config = <1 0x115>; +};