From patchwork Mon Nov 21 02:17:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 9438677 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 06E656047D for ; Mon, 21 Nov 2016 02:20:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E8D2C28846 for ; Mon, 21 Nov 2016 02:20:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DBB9F28908; Mon, 21 Nov 2016 02:20:37 +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 2219028846 for ; Mon, 21 Nov 2016 02:20:36 +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 1c8eBd-0007Vl-Nc; Mon, 21 Nov 2016 02:18:25 +0000 Received: from mail-pg0-f67.google.com ([74.125.83.67]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c8eBZ-0007UW-2c; Mon, 21 Nov 2016 02:18:22 +0000 Received: by mail-pg0-f67.google.com with SMTP id 3so27016734pgd.0; Sun, 20 Nov 2016 18:17:58 -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=JlS6VQoVKVAby1n4yiWqNX6yduaHtsZEBcgFyutEc5o=; b=jj09b7dKqFxPHshW1KXkQ2usK73yh/gea0gRCiEymGczDGAHqp1/A/+4lu/EzcUwR6 +hQec32ameIaL54W/JPvXf8go8MNgchD2gYGKy6L0/6UMsh3tb8XFwf9A6+yMQVQmv7H xQg7QmAeb7FxRc+g+xueJ8zqHNA1PQoTT7t5a3pVBaYyiMAlk/1pAgSMAKJGywJTbhXS YzyEEbt/uF2pxjD4xxscN730+HIR4NUe41f4hqf+rIYD6DRjXBpN+tQ5TDOrFJczOa/3 /kyMlQLhaFmeKl+5dG2YmZxAoUt0d/Xm/sDlB1G3BeCxfZjg1zcjL8/zAeIAx9sXCOhJ hlhQ== X-Gm-Message-State: AKaTC02AbTREXx8NpFnPrLWjGIlXE9SGskC1HkHJTM4kJ3qL9C8SGeXQ89CQu6oXn9SAwA== X-Received: by 10.98.102.22 with SMTP id a22mr14715948pfc.182.1479694677277; Sun, 20 Nov 2016 18:17:57 -0800 (PST) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id s8sm32775189pfj.45.2016.11.20.18.17.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 20 Nov 2016 18:17:56 -0800 (PST) From: Caesar Wang To: heiko@sntech.de Subject: [PATCH v2.1 7/9] arm64: dts: rockchip: add pd_edp node for rk3399 Date: Mon, 21 Nov 2016 10:17:46 +0800 Message-Id: <1479694666-4384-1-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-20161120_181821_191334_E499D862 X-CRM114-Status: UNSURE ( 8.54 ) X-CRM114-Notice: Please train this message. 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: zhangqing , linux-kernel@vger.kernel.org, dianders@chromium.org, linux-rockchip@lists.infradead.org, tfiga@chromium.org, linux-arm-kernel@lists.infradead.org, Caesar Wang 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 From: zhangqing This patch adds the below pd_edp information for rk3399. 1. add pd_edp node for RK3399 SoC 2. add the pd support for edp Signed-off-by: Elaine Zhang Signed-off-by: Caesar Wang Reviewed-by: Doug Anderson --- Changes in v2.1: (Hope the v3 will fix the display stuff with upstream) - change the commit message as Doug comments on https://patchwork.kernel.org/patch/9419241 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 db72033..7354c63 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -838,6 +838,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>; @@ -1388,6 +1392,7 @@ status = "disabled"; pinctrl-names = "default"; pinctrl-0 = <&edp_hpd>; + power-domains = <&power RK3399_PD_EDP>; ports { #address-cells = <1>;