From patchwork Tue Dec 6 01:51:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 86660 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp1792876qgi; Mon, 5 Dec 2016 17:54:00 -0800 (PST) X-Received: by 10.99.251.5 with SMTP id o5mr107882689pgh.152.1480989240051; Mon, 05 Dec 2016 17:54:00 -0800 (PST) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id f17si16920941plj.110.2016.12.05.17.53.59 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Dec 2016 17:54:00 -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 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.85_2 #1 (Red Hat Linux)) id 1cE4wG-0005MX-19; Tue, 06 Dec 2016 01:53:00 +0000 Received: from mail-pg0-x232.google.com ([2607:f8b0:400e:c05::232]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cE4vy-0005AN-5i for linux-arm-kernel@lists.infradead.org; Tue, 06 Dec 2016 01:52:43 +0000 Received: by mail-pg0-x232.google.com with SMTP id 3so142995897pgd.0 for ; Mon, 05 Dec 2016 17:52:20 -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:in-reply-to:references; bh=ZAmKE3TjwIBKxYpGx6Fn6lP3GpwoxUTUTGQ+2OTpJDA=; b=Um8TsX9oXAPGEYk1o+GF642Y3CrQUp/VOeS/heDk6aD37BdyMUYzPOiK6u931X4R49 YUCMuomRe8RjwL/IsgN2UDHkf8K+t7K9geMQrUqhT0TpjOr1DGVqUXQY0ZYlMq+qQ19h zQ3XnlAHhiLs9TK7GH8TYR0GVXdI8WS9DF96g= 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=ZAmKE3TjwIBKxYpGx6Fn6lP3GpwoxUTUTGQ+2OTpJDA=; b=P9fd3CD79bP1ysqZSidgstGGxvuodcFU+eCEt6qDp2Ve3SWuPWuNyoXGNihntdPuJK h0NFn/m7q49hEHiuLgSNIUCGCleCUnZnyRSVPiPfQ+bbnODIWr1XxK2bfCjI7HKg5nTc wv1dtCQB6Zdu5jqPD7v2ukXp1bz1r5AB3JAKh/OsIkPAwBcIakxKZ2FHsOqE6rgtoSoC adrqglVMOXHN/y9PrA5DtXn9949DVQ1MDp/1bGtHNXW/K8vg7x+Hqv6fltSOIkVOJQCc RupSck+3aWF7pDJiqMyXwejEsG69ff4o413O4yzKPmN62iG1E6nQv02TSNzl673ssV5n S+4Q== X-Gm-Message-State: AKaTC01At8KfZy+RkbtDo0dhyXhIhNP9z9iN7OTyS0ju2rDevGy5zm60FzXFD0k1omxig0T+ X-Received: by 10.84.213.144 with SMTP id g16mr131045023pli.134.1480989140375; Mon, 05 Dec 2016 17:52:20 -0800 (PST) Received: from localhost.localdomain ([104.237.91.147]) by smtp.gmail.com with ESMTPSA id c15sm30204112pfd.36.2016.12.05.17.52.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 05 Dec 2016 17:52:19 -0800 (PST) From: Zhangfei Gao To: Rob Herring , Philipp Zabel , Arnd Bergmann , haojian.zhuang@linaro.org Subject: [PATCH v3 1/2] dt-bindings: Document the hi3660 reset bindings Date: Tue, 6 Dec 2016 09:51:31 +0800 Message-Id: <1480989092-31847-2-git-send-email-zhangfei.gao@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1480989092-31847-1-git-send-email-zhangfei.gao@linaro.org> References: <1480989092-31847-1-git-send-email-zhangfei.gao@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161205_175242_292262_8E86953C X-CRM114-Status: GOOD ( 12.03 ) X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2607:f8b0:400e:c05:0:0:0:232 listed in] [list.dnswl.org] -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_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Zhangfei Gao MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org Add DT bindings documentation for hi3660 SoC reset controller. Signed-off-by: Zhangfei Gao --- .../bindings/reset/hisilicon,hi3660-reset.txt | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.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/reset/hisilicon,hi3660-reset.txt b/Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.txt new file mode 100644 index 0000000..178e478 --- /dev/null +++ b/Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.txt @@ -0,0 +1,36 @@ +Hisilicon System Reset Controller +====================================== + +Please also refer to reset.txt in this directory for common reset +controller binding usage. + +The reset controller registers are part of the system-ctl block on +hi3660 SoC. + +Required properties: +- compatible: should be + "hisilicon,hi3660-reset" +- #reset-cells: 2, see below +- hisi,rst-syscon: phandle of the reset's syscon. + +Example: + iomcu: iomcu@ffd7e000 { + compatible = "hisilicon,hi3660-iomcu", "syscon"; + reg = <0x0 0xffd7e000 0x0 0x1000>; + }; + + iomcu_rst: iomcu_rst_controller { + compatible = "hisilicon,hi3660-reset"; + hisi,rst-syscon = <&iomcu>; + #reset-cells = <2>; + }; + +Specifying reset lines connected to IP modules +============================================== +example: + + i2c0: i2c@..... { + ... + resets = <&iomcu_rst 0x20 3>; /* offset: 0x20; bit: 3 */ + ... + };