From patchwork Mon Mar 28 07:20:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 12793259 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D5520C433EF for ; Mon, 28 Mar 2022 07:22:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3hA0AOld7DA0QNebfVv1xbj+ACmiRx2vF7v+qsesQII=; b=eB+22qdrDH3Wra P9DlrP7dnhB0K0pa50gsheAudj2wNCDvGa0fASw5wU8mSWnAv7cJv4v8vYi/xUSwarosHMKef8G4T s7vlN8BwKOeohuzaM8N8lEZHsoFJSV8/+vq60mUSfzv2uNPWJRDCnD0SZ+QbBqPromLnHvgqZP4Uf /1wQJnN8PguuA7uTwtvoQz1XMgPhF+wAu8NoXGhFrxF+1RkOyi8uJbUkb5YiC4XN3ImPhuGyi7xWm Bw6M7XC0iYlMa99g+HNdCUIrj1Q5YImGM5VQjiJK+vr/rTKhHiKyT5VRHVqkqJ8HiZxeBWwXsRN5n 7MDcA+hTvriVpLFBJ55Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nYjgP-007aCs-TK; Mon, 28 Mar 2022 07:20:58 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nYjfq-007a0f-7N for linux-arm-kernel@lists.infradead.org; Mon, 28 Mar 2022 07:20:23 +0000 Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id CB32BB9C; Mon, 28 Mar 2022 09:20:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1648452020; bh=u2aTuD0itUDaYWO2/Y2nO9sTtwziU+yseKg1oQSQkpY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RNxNFJuGOfObvRxtUTNpPSUii+EgEpxx/vpFDhqVi2YYUjoYuemx6NDsO6pvTc8h3 mkwTWAJ1YM8jmbQl+SXfbkWtDrqwTlO6n5dmym6aDHZ23mUeQeg8BSnszQB2dqaK+C I5PO8FqNkhjSnzkCEC/tbBB38FzSgq5Zr9JEaJzE= From: Laurent Pinchart To: linux-arm-kernel@lists.infradead.org, Shawn Guo , Sascha Hauer Cc: Pengutronix Kernel Team , NXP Linux Team , Fabio Estevam , Paul Elder , Lucas Stach , Marek Vasut , Alexander Stein Subject: [PATCH v4 3/4] arm64: dts: imx8mp: Add MEDIAMIX power domains Date: Mon, 28 Mar 2022 10:20:08 +0300 Message-Id: <20220328072009.1441-4-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220328072009.1441-1-laurent.pinchart@ideasonboard.com> References: <20220328072009.1441-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220328_002022_463219_CF4F6DE6 X-CRM114-Status: UNSURE ( 8.44 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the power domains related to the MEDIAMIX to the GPC. Signed-off-by: Laurent Pinchart Reviewed-by: Marek Vasut Reviewed-by: Paul Elder --- Changes since v2: - Drop assigned clocks, they moved to the media-blk-ctrl node --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 096139d7c365..55f2fa2a562d 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -488,6 +488,11 @@ pgc { #address-cells = <1>; #size-cells = <0>; + pgc_mipi_phy1: power-domain@0 { + #power-domain-cells = <0>; + reg = ; + }; + pgc_pcie_phy: power-domain@1 { #power-domain-cells = <0>; reg = ; @@ -530,6 +535,18 @@ pgc_gpu3d: power-domain@9 { power-domains = <&pgc_gpumix>; }; + pgc_mediamix: power-domain@10 { + #power-domain-cells = <0>; + reg = ; + clocks = <&clk IMX8MP_CLK_MEDIA_AXI_ROOT>, + <&clk IMX8MP_CLK_MEDIA_APB_ROOT>; + }; + + pgc_mipi_phy2: power-domain@16 { + #power-domain-cells = <0>; + reg = ; + }; + pgc_hsiomix: power-domains@17 { #power-domain-cells = <0>; reg = ; @@ -539,6 +556,12 @@ pgc_hsiomix: power-domains@17 { assigned-clock-parents = <&clk IMX8MP_SYS_PLL2_500M>; assigned-clock-rates = <500000000>; }; + + pgc_ispdwp: power-domain@18 { + #power-domain-cells = <0>; + reg = ; + clocks = <&clk IMX8MP_CLK_MEDIA_ISP_DIV>; + }; }; }; };