From patchwork Wed Nov 9 13:21:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 9419241 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 B8BE860512 for ; Wed, 9 Nov 2016 13:25:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AAB232914A for ; Wed, 9 Nov 2016 13:25:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9F8F82923D; Wed, 9 Nov 2016 13:25:29 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED 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 2F6F32914A for ; Wed, 9 Nov 2016 13:25:29 +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 1c4Ssa-00035n-A4; Wed, 09 Nov 2016 13:25:28 +0000 Received: from mail-pf0-f194.google.com ([209.85.192.194]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c4SqU-0008C5-RO; Wed, 09 Nov 2016 13:23:20 +0000 Received: by mail-pf0-f194.google.com with SMTP id y68so285486pfb.1; Wed, 09 Nov 2016 05:23:03 -0800 (PST) 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=4yjpXt7EwQ1mtPyU87od136umZ/chGBqgoLsl8NqKh0=; b=SrF+tsvd/JQT5V4PycELKEDvghNGoE1Vj/azofBLy1LwgJMpbBv17K2rnf4G13afAL RCoF+ePm7aiFnSBOnC+FdTBgZFi7g4cnbtx3nmy2kWcQug+dNHSXR9oq/iVPLSlEobJr 3ECt6mjjsGU653J1hJdq0wahM4TvO4cz+XG5ciO0M3n3fDzG1ju3tQYSGaA8aT6h+G8o yDokiKv/7guqwCQ/ZV7XGesGlz823w3VoUwbk5/CMxwJ16iLgM8Z3cYw+5F4j0eyU0pD qGFlQNOXw5/CEGNB9AugGiyx+INaq12av5XOm+/LD5g5uBxTahQRXeRLx03ZbWm6IKlL wNfA== X-Gm-Message-State: ABUngvfqVdiasG3BHdImimbtszFK2vAiZF5hINVzNsfw1clITATA4T/NZcErbkwE4xT+TA== X-Received: by 10.98.10.198 with SMTP id 67mr33950665pfk.157.1478697782961; Wed, 09 Nov 2016 05:23:02 -0800 (PST) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id p14sm56142360par.25.2016.11.09.05.22.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Nov 2016 05:23:01 -0800 (PST) From: Caesar Wang To: Heiko Stuebner Subject: [PATCH v2 7/9] arm64: dts: rockchip: add pd_edp node for rk3399 Date: Wed, 9 Nov 2016 21:21:59 +0800 Message-Id: <1478697721-2323-8-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1478697721-2323-1-git-send-email-wxt@rock-chips.com> References: <1478697721-2323-1-git-send-email-wxt@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161109_052319_125945_A737F1CA X-CRM114-Status: UNSURE ( 9.72 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Brian Norris , Catalin Marinas , linux-kernel@vger.kernel.org, zhangqing , Will Deacon , Douglas Anderson , Rob Herring , tfiga@chromium.org, linux-rockchip@lists.infradead.org, Yakir Yang , eddie.cai@rock-chips.com, David Wu , Jianqun Xu , linux-arm-kernel@lists.infradead.org, Caesar Wang MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: zhangqing 1. add pd node for RK3399 Soc 2. create power domain tree 3. add qos node for domain 4. add the pd support for edp Signed-off-by: Elaine Zhang Signed-off-by: Caesar Wang --- Changes in v2: None arch/arm64/boot/dts/rockchip/rk3399.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 74deb44..09ebf4e 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -835,6 +835,10 @@ }; /* These power domains are grouped by VD_LOGIC */ + pd_edp@RK3399_PD_EDP { + reg = ; + clocks = <&cru PCLK_EDP_CTRL>; + }; pd_emmc@RK3399_PD_EMMC { reg = ; clocks = <&cru ACLK_EMMC>; @@ -1364,6 +1368,7 @@ status = "disabled"; pinctrl-names = "default"; pinctrl-0 = <&edp_hpd>; + power-domains = <&power RK3399_PD_EDP>; ports { #address-cells = <1>;