From patchwork Sat Dec 3 11:59:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 9459621 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id ECDF760459 for ; Sat, 3 Dec 2016 12:02:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CEC362846A for ; Sat, 3 Dec 2016 12:02:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BFFA3284C3; Sat, 3 Dec 2016 12:02:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, HK_RANDOM_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 568E92846A for ; Sat, 3 Dec 2016 12:02:16 +0000 (UTC) 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 1cD8z7-00031x-S5; Sat, 03 Dec 2016 12:00:05 +0000 Received: from mail-pg0-x22c.google.com ([2607:f8b0:400e:c05::22c]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cD8z4-0002fd-0o for linux-arm-kernel@lists.infradead.org; Sat, 03 Dec 2016 12:00:02 +0000 Received: by mail-pg0-x22c.google.com with SMTP id p66so117748283pga.2 for ; Sat, 03 Dec 2016 03:59:40 -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=zehvuFnYtcVsBtpIr99ZvkATcPNly2b/z62SmS3K9Ps=; b=KA4AQzNnuEjEHEAJjuQcAR6BkfdEP3tCXO+XHZXLDoIiDLC0uVuxp7qWtTRFqviwuD kzGAbFawSBi2iFgsZrIte2r05IqJ8wDjskSpXDYO21m5gTOSexp6Jwzv+tgFij7txAZ+ RULV0Mk0Hljgva7U6Ns+TVMLR3uw3hiZKRuiU= 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; bh=zehvuFnYtcVsBtpIr99ZvkATcPNly2b/z62SmS3K9Ps=; b=C5p53TzE6o3Tb89H70IkBR9/5gv8e1d/NArHUmtIg/zM3iEdld8s7YHwOuUvJjhIfK g0qoQqVooBekX4CyFBJMpqOlXNxsoYVciiREoSh0dmnTcm52J+5JL07FHaWb3+8+k36k N+45KVbBbW3Eh2I24LsA6MlQQf0t8MMrLVEeFlsafn10m/PUeMqvHZnX2O403VuRzbBw jiQSkOo7RJfwbXCgHyYKgsUxrjDaJEa0fBCympYJCnMPj/DyS6UuUUYZqPvZodqddrea CbCZh6jk1ZH92JDFKhVoJAJVJYqdTMy60D6om7nJCU7Si/yoBuEN/76151iFDUlh5joC y2EA== X-Gm-Message-State: AKaTC01h1ywqfF4xsYHbnG9cverswkVCf1E5MfB3ZXz2khecvnW93Cz4E6LxHtkiFilUF2oz X-Received: by 10.99.219.21 with SMTP id e21mr85949353pgg.136.1480766380160; Sat, 03 Dec 2016 03:59:40 -0800 (PST) Received: from localhost.localdomain ([45.56.152.50]) by smtp.gmail.com with ESMTPSA id a11sm14461318pfe.96.2016.12.03.03.59.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 03 Dec 2016 03:59:39 -0800 (PST) From: Baoyou Xie To: jun.nie@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, shawnguo@kernel.org, viresh.kumar@linaro.org Subject: [PATCH] arm64: dts: zx: add pcu_domain node for zx296718 Date: Sat, 3 Dec 2016 19:59:14 +0800 Message-Id: <1480766354-25168-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-20161203_040002_165375_76CD29AF X-CRM114-Status: GOOD ( 10.14 ) 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, xie.baoyou@zte.com.cn, linux-kernel@vger.kernel.org, chen.chaokai@zte.com.cn, wang.qiang01@zte.com.cn, baoyou.xie@linaro.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds the pcu_domain node, so it can be used by zte-soc's power domain driver. Furthermore, it adds the document of the node. Signed-off-by: Baoyou Xie --- Documentation/devicetree/bindings/arm/zte.txt | 11 +++++++++++ arch/arm64/boot/dts/zte/zx296718.dtsi | 7 +++++++ 2 files changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/zte.txt b/Documentation/devicetree/bindings/arm/zte.txt index 83369785..19a7e1b 100644 --- a/Documentation/devicetree/bindings/arm/zte.txt +++ b/Documentation/devicetree/bindings/arm/zte.txt @@ -27,6 +27,9 @@ System management required properties: - compatible = "zte,zx296718-aon-sysctrl" - compatible = "zte,zx296718-sysctrl" +Low power management required properties: + - compatible = "zte,zx296718-pcu" + Example: aon_sysctrl: aon-sysctrl@116000 { compatible = "zte,zx296718-aon-sysctrl", "syscon"; @@ -37,3 +40,11 @@ sysctrl: sysctrl@1463000 { compatible = "zte,zx296718-sysctrl", "syscon"; reg = <0x1463000 0x1000>; }; + +pcu_domain: pcu@0x00117000 { + compatible = "zte,zx296718-pcu"; + reg = <0x00117000 0x1000>; + #power-domain-cells = <1>; + status = "ok"; +}; + diff --git a/arch/arm64/boot/dts/zte/zx296718.dtsi b/arch/arm64/boot/dts/zte/zx296718.dtsi index b44d1d1..39e70c7 100644 --- a/arch/arm64/boot/dts/zte/zx296718.dtsi +++ b/arch/arm64/boot/dts/zte/zx296718.dtsi @@ -351,5 +351,12 @@ reg = <0x01480000 0x1000>; #clock-cells = <1>; }; + + pcu_domain: pcu@0x00117000 { + compatible = "zte,zx296718-pcu"; + reg = <0x00117000 0x1000>; + #power-domain-cells = <1>; + status = "ok"; + }; }; };