From patchwork Fri Dec 14 10:55:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Stach X-Patchwork-Id: 10730853 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 216DF13BF for ; Fri, 14 Dec 2018 10:55:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0FA462C0E1 for ; Fri, 14 Dec 2018 10:55:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 038AE2D360; Fri, 14 Dec 2018 10:55:33 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 A08462C0E1 for ; Fri, 14 Dec 2018 10:55:32 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=qb8hyDY084/bNU31jcT6eJlOgsbzsEdhlbpQ0XGHPzE=; b=obNQU82/waMmgp LXGnSusD1pYpESGNx26R2HLcBwtZ2Jn6z+CuZlCr8DwpAvQU1p7XrlDgx4RRj9Z20ho8NLcsafo46 DvuInQ+XwavpYUvmdY3w2MUxHCE51RL9wHvCCo5rSuByWfzu9KguwN6j2Kbsd+XpD5iwmKVTAvxOX t7zAx7JPlNNYNAFRs4uVQ5kbTUaFJ68MxVx3kthz45bhMqNp3D1LSoXiutU7rA8qMxZrBxG4liePU XlSTOYVrGKOwTcpWNfbGV8Slt5hioTIEFKaGNF9hc7J5qej7y72l3TuxannQw61kwv/EqajOUsHt2 EQCOiupoHJdmJNHPnrLw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gXl7w-0001Ls-Vb; Fri, 14 Dec 2018 10:55:28 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gXl7t-0001Ki-94 for linux-arm-kernel@lists.infradead.org; Fri, 14 Dec 2018 10:55:26 +0000 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7] helo=dude.pengutronix.de.) by metis.ext.pengutronix.de with esmtp (Exim 4.89) (envelope-from ) id 1gXl7f-0003gg-Fu; Fri, 14 Dec 2018 11:55:11 +0100 From: Lucas Stach To: Shawn Guo Subject: [PATCH 2/2] arm64: dts: imx8mq: add GPC power domains Date: Fri, 14 Dec 2018 11:55:10 +0100 Message-Id: <20181214105510.1174-2-l.stach@pengutronix.de> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181214105510.1174-1-l.stach@pengutronix.de> References: <20181214105510.1174-1-l.stach@pengutronix.de> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: l.stach@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181214_025525_481242_2D4C8905 X-CRM114-Status: UNSURE ( 9.73 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, patchwork-lst@pengutronix.de, NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , linux-arm-kernel@lists.infradead.org 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 This adds support for the power domain controller found on the i.MX8MQ SoC. Signed-off-by: Lucas Stach --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 66 +++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index a55b9329376b..c521cd1b6820 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -5,6 +5,7 @@ */ #include +#include #include #include #include "imx8mq-pinfunc.h" @@ -252,6 +253,71 @@ "clk_ext1", "clk_ext2", "clk_ext3", "clk_ext4"; }; + + gpc: gpc@303a0000 { + compatible = "fsl,imx8mq-gpc"; + reg = <0x303a0000 0x10000>; + + pgc { + #address-cells = <1>; + #size-cells = <0>; + + pgc_mipi: pgc-power-domain@0 { + #power-domain-cells = <0>; + reg = ; + }; + + pgc_pcie1: pgc-power-domain@1 { + #power-domain-cells = <0>; + reg = ; + }; + + pgc_otg1: pgc-power-domain@2 { + #power-domain-cells = <0>; + reg = ; + }; + + pgc_otg2: pgc-power-domain@3 { + #power-domain-cells = <0>; + reg = ; + }; + + pgc_ddr1: pgc-power-domain@4 { + #power-domain-cells = <0>; + reg = ; + }; + + pgc_gpu: pgc-power-domain@5 { + #power-domain-cells = <0>; + reg = ; + }; + + pgc_vpu: pgc-power-domain@6 { + #power-domain-cells = <0>; + reg = ; + }; + + pgc_disp: pgc-power-domain@7 { + #power-domain-cells = <0>; + reg = ; + }; + + pgc_mipi_csi1: pgc-power-domain@8 { + #power-domain-cells = <0>; + reg = ; + }; + + pgc_mipi_csi2: pgc-power-domain@9 { + #power-domain-cells = <0>; + reg = ; + }; + + pgc_pcie2: pgc-power-domain@10 { + #power-domain-cells = <0>; + reg = ; + }; + }; + }; }; bus@30400000 { /* AIPS2 */