From patchwork Thu Jan 19 01:59:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 91836 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp67269qgi; Wed, 18 Jan 2017 18:00:45 -0800 (PST) X-Received: by 10.84.216.91 with SMTP id f27mr9539505plj.92.1484791245361; Wed, 18 Jan 2017 18:00:45 -0800 (PST) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id f12si1938178pln.227.2017.01.18.18.00.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Jan 2017 18:00:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; 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-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cU21s-0000TG-4h; Thu, 19 Jan 2017 02:00:44 +0000 Received: from mail-pg0-x229.google.com ([2607:f8b0:400e:c05::229]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cU21m-0008W4-W4 for linux-arm-kernel@lists.infradead.org; Thu, 19 Jan 2017 02:00:41 +0000 Received: by mail-pg0-x229.google.com with SMTP id 194so9321021pgd.2 for ; Wed, 18 Jan 2017 18:00:18 -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=jeq5Jy2FUiDTw6MRndXACEUX1newYWdsMkWkdTSQrtA=; b=JP6Tybp+FQsD2Kfio9VEYbqSAZY8sztgzK/c2IoLRHuc4Rezo9dQY8SEc7qB81ccdz 3ETMAqtzFfucakNEmMNuGZb2VMvkMJz9PYxfyKrMHFudu3qM0s4W0XGk952U0WPNe5dY uBpiL273i9Z29WnRQ14dMvfeBxQzu0UWTJxG0= 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=jeq5Jy2FUiDTw6MRndXACEUX1newYWdsMkWkdTSQrtA=; b=bUv/io/MrYFj5auh9rF5Ac8DdgiMn+pGukT13afQu4JZWSNgu7LVyLWaptrduKbSDi HiPkQeUWEXDdRwlRrL/xf0YhfimvNEX4u4jJw/x5ncfkuu+SAq1HVZFzyRNc6mdK9Xox ben+atRP4bwN3DLGCEjcWW9U+TVeeVOvlDzvsbXhPUdHQdb9IEZG9/+5chcUq1elU8uf GNoJlw9J9jy0dDk9W5WJi6yf1Bgsq0kuFVX14OtrJ0I/EWye55l5iQfwVBM/RjzrqqW8 RnQi8Q5nOhT8sbDsI0mL9Zqett+3MEMz/ictQw6teLjeX/Q7z+muDzm+OLA4Qlil8ZPA JZcw== X-Gm-Message-State: AIkVDXJVsh14QICMYP6YY/9HVO1iJUjgBE8it2ljTPc/VsXpYNF7X0HroF2llPe+xKCg+mov X-Received: by 10.99.47.199 with SMTP id v190mr7534177pgv.26.1484791217741; Wed, 18 Jan 2017 18:00:17 -0800 (PST) Received: from localhost.localdomain ([104.237.91.131]) by smtp.gmail.com with ESMTPSA id 66sm3526114pgg.47.2017.01.18.18.00.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 Jan 2017 18:00:17 -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 Subject: [PATCH v2 1/3] dt: bindings: add documentation for zx2967 family watchdog controller Date: Thu, 19 Jan 2017 09:59:50 +0800 Message-Id: <1484791192-31674-1-git-send-email-baoyou.xie@linaro.org> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170118_180039_066569_96279F4B X-CRM114-Status: GOOD ( 13.00 ) X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 HK_RANDOM_ENVFROM Envelope sender username looks random -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-watchdog@vger.kernel.org, xie.baoyou@zte.com.cn, linux-kernel@vger.kernel.org, chen.chaokai@zte.com.cn, wang.qiang01@zte.com.cn, baoyou.xie@linaro.org, shawnguo@kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org This patch adds dt-binding documentation for zx2967 family watchdog controller. Signed-off-by: Baoyou Xie --- .../bindings/watchdog/zte,zx2967-wdt.txt | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/zte,zx2967-wdt.txt -- 2.7.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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..6e35ce7 --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/zte,zx2967-wdt.txt @@ -0,0 +1,32 @@ +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: + +- wdt-reset-sysctrl : should include following fields. + * phandle of aon-sysctrl. + * configuare value that be wrote to aon-sysctrl. + * bit mask, corresponding bits will be affected. + +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"; + wdt-reset-sysctrl = <&aon_sysctrl 1 0x115>; +};