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: 86416 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp668051qgi; Sat, 3 Dec 2016 03:59:48 -0800 (PST) X-Received: by 10.84.218.207 with SMTP id g15mr104266860plm.78.1480766387988; Sat, 03 Dec 2016 03:59:47 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y27si8550193pfj.161.2016.12.03.03.59.47; Sat, 03 Dec 2016 03:59:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751367AbcLCL7l (ORCPT + 7 others); Sat, 3 Dec 2016 06:59:41 -0500 Received: from mail-pg0-f42.google.com ([74.125.83.42]:36596 "EHLO mail-pg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750917AbcLCL7k (ORCPT ); Sat, 3 Dec 2016 06:59:40 -0500 Received: by mail-pg0-f42.google.com with SMTP id f188so117284073pgc.3 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=UFbeKMLEB46bYvYIJh5rrOAp86/vcVgW1aSceCeE4xVlketpMOnHrEmFAyMEBwZXkZ NSYH76B2XuZZyUtlKUJI1vB3F+LzHlQo+8iggOLRwhXU0rFfp4HJXojVhiVwjQjds5WY O2bSS4TUEaWIxyjNa51OMTkFm4XYCRlDBn2dZl8lQ+GdZ2x7Y94OlWGofH5H2MHVpDne HtUfPviINIos52bX9VDJW+oEzzOLz6tBauqtGqtvpDy4o08sahd7AWwToJIEpFlKXd7/ gAOHASWz0DIUsruhRX6ICAlOVtYt+3c/ZLxPSLhdmjUOCOVssFfMSAnxwx6PHTO4JchY 0oRQ== X-Gm-Message-State: AKaTC018jV1ATDi58SXLn8hEcELukVPCjecCJpjFRdtdEK1NgiMiC/UafagF2Cg8G/GnO0Rj 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 Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, baoyou.xie@linaro.org, xie.baoyou@zte.com.cn, chen.chaokai@zte.com.cn, wang.qiang01@zte.com.cn 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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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(+) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" 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/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"; + }; }; };