From patchwork Thu Sep 25 15:05:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 4975151 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D52B19F1D4 for ; Thu, 25 Sep 2014 15:09:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8520A2011B for ; Thu, 25 Sep 2014 15:09:11 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CD65A2013D for ; Thu, 25 Sep 2014 15:09:06 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XXAce-0002ur-Ux; Thu, 25 Sep 2014 15:06:20 +0000 Received: from bear.ext.ti.com ([192.94.94.41]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XXAcc-0002tE-Hi for linux-arm-kernel@lists.infradead.org; Thu, 25 Sep 2014 15:06:19 +0000 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id s8PF5mqS026006; Thu, 25 Sep 2014 10:05:48 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s8PF5mlN005258; Thu, 25 Sep 2014 10:05:48 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Thu, 25 Sep 2014 10:05:48 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s8PF5lhv023599; Thu, 25 Sep 2014 10:05:48 -0500 From: Grygorii Strashko To: , "Rafael J. Wysocki" , Subject: [RFC PATCH 4/4] ARM: dts: k2hk-evm: add pm domains for net, qmss and knav_dmas Date: Thu, 25 Sep 2014 18:05:37 +0300 Message-ID: <1411657537-25238-5-git-send-email-grygorii.strashko@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1411657537-25238-1-git-send-email-grygorii.strashko@ti.com> References: <1411657537-25238-1-git-send-email-grygorii.strashko@ti.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140925_080618_673773_4041491D X-CRM114-Status: UNSURE ( 6.89 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.8 (-----) Cc: ulf.hansson@linaro.org, Grygorii Strashko , Geert Uytterhoeven , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, grant.likely@secretlab.ca, ben.dooks@codethink.co.uk, laurent.pinchart@ideasonboard.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add Keystone PM domains nodes for NetCP, NetCPx, QMSS, KNAV-DMA devices. Signed-off-by: Grygorii Strashko --- arch/arm/boot/dts/k2hk-evm.dts | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/k2hk-evm.dts b/arch/arm/boot/dts/k2hk-evm.dts index 91371f7..a7b468c 100644 --- a/arch/arm/boot/dts/k2hk-evm.dts +++ b/arch/arm/boot/dts/k2hk-evm.dts @@ -58,6 +58,13 @@ clock-output-names = "refclk-ddr3b"; }; }; + + qmss_domain: qmss_pm_controller { + compatible = "ti,keystone-gpc"; + clocks = <&chipclk13>; + #power-domain-cells = <0>; + }; + qmss: qmss@2a40000 { compatible = "ti,keystone-navigator-qmss"; dma-coherent; @@ -65,6 +72,8 @@ #size-cells = <1>; clocks = <&chipclk13>; ranges; + power-domains = <&qmss_domain>; + queue-range = <0 0x4000>; linkram0 = <0x100000 0x8000>; linkram1 = <0x0 0x10000>; @@ -192,12 +201,20 @@ }; }; /* qmss */ + knav_dmas_domain: knav_dmas_pm_controller { + compatible = "ti,keystone-gpc"; + clocks = <&clkpa>, <&clkxge>; + #power-domain-cells = <0>; + }; + knav_dmas: knav_dmas@0 { compatible = "ti,keystone-navigator-dma"; clocks = <&clkpa>, <&clkxge>; #address-cells = <1>; #size-cells = <1>; ranges; + power-domains = <&knav_dmas_domain>; + ti,navigator-cloud-address = <0x23a80000 0x23a90000 0x23aa0000 0x23ab0000>; @@ -222,6 +239,12 @@ }; }; + netcp_domain: netcp_pm_controller { + compatible = "ti,keystone-gpc"; + clocks = <&clkpa>, <&clkcpgmac>, <&chipclk12>; + #power-domain-cells = <0>; + }; + netcp: netcp@2090000 { reg = <0x2620110 0x8>; reg-names = "efuse"; @@ -229,6 +252,7 @@ #address-cells = <1>; #size-cells = <1>; ranges; + power-domains = <&netcp_domain>; clocks = <&clkpa>, <&clkcpgmac>, <&chipclk12>; dma-coherent; @@ -302,11 +326,18 @@ }; }; + netcpx_domain: netcpx_pm_controller { + compatible = "ti,keystone-gpc"; + clocks = <&clkxge>; + #power-domain-cells = <0>; + }; + netcpx: netcpx@2f00000 { compatible = "ti,netcp-1.0"; #address-cells = <1>; #size-cells = <1>; ranges; + power-domains = <&netcpx_domain>; clocks = <&clkxge>; clock-names = "clk_xge";