From patchwork Wed Apr 12 07:10:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kever Yang X-Patchwork-Id: 9676679 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 A10FE60381 for ; Wed, 12 Apr 2017 07:11:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 90F30285B6 for ; Wed, 12 Apr 2017 07:11:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 859CD285BD; Wed, 12 Apr 2017 07:11:43 +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=-0.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,URIBL_BLACK autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4F27E285B6 for ; Wed, 12 Apr 2017 07:11:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=p5hLsOWXFsYecxHF9ZCDtMAl9zqUJBn/BS39wfjtF/I=; b=rJ3pmVn8oyXlNCmSlxpJ8yuIkl oKILN4K2dJeG3UeGX3glimLw2Cf2BmcS7Su8XOUvEXAWchOlp0BtdYhNScR4atgaUcFf3+f8bLP3X W8vF/DxZs63i0b7w7uGaPwtxlwpS00+a1kdHQF7dW7iZcZ8rXoExMBTzzjkUIJ/H9uhFcOhVVRBhP HLRQYdJOMTi9bEfWOEaixjOhWYh5iYgBO795qQaw3gwGP3g9FLHnsJ/HgBB7YkGVFAWrFtdL9sIP1 a8J7rvy4w04KYYuFDJWBltTqdNm/QRCUagWF2zS+rB1p9NCNEMibhsoEyOgkPFmo88S5wHxwkjTV2 ApLrUQJQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cyCRJ-0005j1-5J; Wed, 12 Apr 2017 07:11:41 +0000 Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cyCR3-0005OZ-HM; Wed, 12 Apr 2017 07:11:27 +0000 Received: by mail-pf0-x241.google.com with SMTP id o126so3310399pfb.1; Wed, 12 Apr 2017 00:11:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=EFMu5wUj8vGJ1raCYQm8mSg31ijCVh3CyG4Gd2yFmwA=; b=YBvGgoG1P9GyhfYTo+t0VG13KMag8SqSajiIFcd60KLubTSeHRuw9ORk1wdVz75Cw0 S3tmeY0TZlmXgP5BOTcL+JzagdM74q82JHmMPYnHho1a14M3Ig+d9tufF9/zUptgwMIm /ipclXJmPbF3ukQMppWOG+zwj6fW5GscJfUhcYjOIB8dR46KD77AxbNnceHMrID5N7Fn yaBnPoa+KHKIRZIh1AMEF7UGExmtDYWOceggdXnSSIhZUhJ+4kGle77jIbndQ18UY0lB KBuVJAox2zVy6Dypgct2IzB3xyVvTgFKh8nBmNrgtq8Ye3LJ8ilq80AlNtAfQEuzN3fO +O3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=EFMu5wUj8vGJ1raCYQm8mSg31ijCVh3CyG4Gd2yFmwA=; b=gTGAQHXb2pZGCOVoiHMo6xftAlruxR9aZgVymrzJXq4O3ti94cK8/MbRKzQsLPCZVf jvCtlbQT8hJ0akibIUnpAxflHTpnEcE7BDewM4bTSFsrEVZoncG6Jo27OkkDsXTBs5pd eN9TPyJQvGmTrji9sM9lkZ2OIgkNxjKN2aLh50OOuNHJcC/xQtgPv1bVsdeRVQ9uHxr9 4jMBU16xwZcMaI94FFgYk9dRulI74CPNprJUETzfORhs5oWDrriZjcg0Glb65QrOIMzH Tqmi7WYQLjP8RrQTAB58CIZ3R1vIe3Mfz9ExfVaqdM0ZnPaPEUImkm/2MRtpwbpBVPRE UBqA== X-Gm-Message-State: AN3rC/6ogfB1uAJoEmjCcaMf6n2xtaQjFcWeYYsZKX3oiammUW6R5kmz0Ol7kvoUfB/YiA== X-Received: by 10.98.252.72 with SMTP id e69mr23115025pfh.247.1491981064592; Wed, 12 Apr 2017 00:11:04 -0700 (PDT) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id i3sm34316224pfk.47.2017.04.12.00.11.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 12 Apr 2017 00:11:04 -0700 (PDT) From: Kever Yang To: heiko@sntech.de Subject: [PATCH 2/4] arm64: dts: rk3399: add power domain for some peripheral Date: Wed, 12 Apr 2017 15:10:42 +0800 Message-Id: <1491981044-24635-2-git-send-email-kever.yang@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1491981044-24635-1-git-send-email-kever.yang@rock-chips.com> References: <1491981044-24635-1-git-send-email-kever.yang@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170412_001125_639895_6B2D7F3C X-CRM114-Status: GOOD ( 10.42 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Douglas Anderson , devicetree@vger.kernel.org, Brian Norris , Catalin Marinas , Shawn Lin , Elaine Zhang , Will Deacon , Kever Yang , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Rob Herring , David Wu , Mark Rutland , 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 Add power domain for sd, usb, edp. Signed-off-by: Kever Yang --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 36 +++++++++++++++++++++++++++----- 1 file changed, 31 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 387ae34..9d44c19 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -947,6 +947,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>; @@ -958,11 +962,33 @@ <&cru PCLK_GMAC>; pm_qos = <&qos_gmac>; }; - pd_sd@RK3399_PD_SD { - reg = ; - clocks = <&cru HCLK_SDMMC>, - <&cru SCLK_SDMMC>; - pm_qos = <&qos_sd>; + pd_perihp@RK3399_PD_PERIHP { + reg = ; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&cru ACLK_PERIHP>; + pm_qos = <&qos_perihp>, + <&qos_pcie>, + <&qos_usb_host0>, + <&qos_usb_host1>; + + pd_sd@RK3399_PD_SD { + reg = ; + clocks = <&cru HCLK_SDMMC>, + <&cru SCLK_SDMMC>; + pm_qos = <&qos_sd>; + }; + }; + pd_sdioaudio@RK3399_PD_SDIOAUDIO { + reg = ; + clocks = <&cru HCLK_SDIO>; + pm_qos = <&qos_sdioaudio>; + }; + pd_usb3@RK3399_PD_USB3 { + reg = ; + clocks = <&cru ACLK_USB3>; + pm_qos = <&qos_usb_otg0>, + <&qos_usb_otg1>; }; pd_vio@RK3399_PD_VIO { reg = ;