From patchwork Mon Feb 28 15:48:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Elder X-Patchwork-Id: 546777 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2396CC433EF for ; Mon, 28 Feb 2022 15:48:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234966AbiB1PtO (ORCPT ); Mon, 28 Feb 2022 10:49:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234182AbiB1PtN (ORCPT ); Mon, 28 Feb 2022 10:49:13 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAA4236310 for ; Mon, 28 Feb 2022 07:48:34 -0800 (PST) Received: from pyrite.rasen.tech (h175-177-042-148.catv02.itscom.jp [175.177.42.148]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 5A2D51010; Mon, 28 Feb 2022 16:48:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1646063313; bh=rxnJRv2ilek3fvm+7tWS8lSy+brxusBl8X4Z400ehDc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hFYTiRAgi1LPba/ASlOsl6Z9VvkD/mF8UIa8/77eXBr83JknD6JXH5Qjqa0g2Yj2Z HY+FCL/hjWSAN3U8hD1m3/Gd+ZxQX0vRS967/HXM0CHUf5cN6vHdKfo3V2WAqrhYdY 2Ay3e3FDpetz2KM57WK7FedVlwL6Jsmpp7a+KZXU= From: Paul Elder To: Rob Herring , Shawn Guo , Sascha Hauer Cc: Laurent Pinchart , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Joakim Zhang , Lucas Stach , Peng Fan , Marek Vasut , Jacky Bai , Daniel Baluta , Zhen Lei , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/4] arm64: dts: imx8mp: Add MEDIAMIX power domains Date: Tue, 1 Mar 2022 00:48:00 +0900 Message-Id: <20220228154801.1347487-4-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220228154801.1347487-1-paul.elder@ideasonboard.com> References: <20220228154801.1347487-1-paul.elder@ideasonboard.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Laurent Pinchart Add the power domains related to the MEDIAMIX to the GPC. Signed-off-by: Laurent Pinchart --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 26 +++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index c89acb53be4a..eecd820a1193 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,21 @@ 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>; + assigned-clocks = <&clk IMX8MP_CLK_MEDIA_AXI_ROOT>, + <&clk IMX8MP_CLK_MEDIA_APB_ROOT>; + assigned-clock-rates = <500000000>, <200000000>; + }; + + pgc_mipi_phy2: power-domain@16 { + #power-domain-cells = <0>; + reg = ; + }; + pgc_hsiomix: power-domains@17 { #power-domain-cells = <0>; reg = ; @@ -539,6 +559,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>; + }; }; }; };