From patchwork Mon Feb 28 15:48:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Elder X-Patchwork-Id: 12763499 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 4C16EC433EF for ; Mon, 28 Feb 2022 15:50:28 +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=dpe5Wq/voZM1Y4C/BxVHOXOR7OnZRKg4fToWq4kv45w=; b=uhnaOMakYB+c3v /Vv7xMS/1t3vqlg01CeWFyToS1kN/63ZtFmqtzQ7U0LCMWwS1UWlyMmA5PMIqA2WCt2svPVFCS7p9 /Rzke+cKPgmyH2doOzY1cI7l6KUw+Pru9DFl7ExV1wiPnZbdFwP+FfwawoTOkEx73spJ62hGj3zdJ 85x9+3SIpwxePZ4gSElK1PbOljOPIdeCZjxIMYbYGtD/AF5xzlJAVzjVYNnamzkf6GwJM1PrRaiZC sJeXuErtuLyYMTwRaeosHApGTyWiC4b0tIfcrrZUB70/5tlP/5SIfmBHD+OHVWv7Fs2unRxtRmXKt aOQXUE1/1drXbbIQcu7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nOiH2-00DDN1-SN; Mon, 28 Feb 2022 15:49:21 +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 1nOiGO-00DDAy-Rn for linux-arm-kernel@lists.infradead.org; Mon, 28 Feb 2022 15:48:42 +0000 Received: from pyrite.rasen.tech (h175-177-042-148.catv02.itscom.jp [175.177.42.148]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 4F3C6478; Mon, 28 Feb 2022 16:48:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1646063318; bh=J04Jb8HVriI9lDHRNv832a/kx03L6NrzItZlEt50Jw8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RGOegc9J/i3CL16hS7pfUIZnj8XrHeqC9E7Qm8V2fogatpIww1ynUr4WTRou2MMol Mb3wgoFmXOc5yo3Ku2TqL9hsN/XrNKE0Cx9fvHH77wCF5RoEYKGKF8htjAsfvCURlP zvhjGRqJYJtWGzioDfXN0LU/Lj7x+MH+JADON200= From: Paul Elder To: Rob Herring , Shawn Guo , Sascha Hauer Cc: Paul Elder , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Joakim Zhang , Laurent Pinchart , Peng Fan , Lucas Stach , Marek Vasut , Zhen Lei , Daniel Baluta , Jacky Bai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/4] arm64: dts: imx8mp: Add MEDIA_BLK_CTRL Date: Tue, 1 Mar 2022 00:48:01 +0900 Message-Id: <20220228154801.1347487-5-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220228_074841_125566_53EFF3BF X-CRM114-Status: UNSURE ( 9.61 ) 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 a DT node for the MEDIA_BLK_CTRL, which provides power domains for the camera and display devices. Signed-off-by: Paul Elder Signed-off-by: Laurent Pinchart --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 40 +++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index eecd820a1193..a1fdb96024d0 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -984,6 +984,46 @@ eqos: ethernet@30bf0000 { }; }; + aips4: bus@32c00000 { + compatible = "fsl,aips-bus", "simple-bus"; + reg = <0x32c00000 0x400000>; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + media_blk_ctrl: blk-ctrl@32ec0000 { + compatible = "fsl,imx8mp-media-blk-ctrl", + "syscon"; + reg = <0x32ec0000 0x10000>; + power-domains = <&pgc_mediamix>, + <&pgc_mipi_phy1>, + <&pgc_mipi_phy1>, + <&pgc_mediamix>, + <&pgc_mediamix>, + <&pgc_mipi_phy2>, + <&pgc_mediamix>, + <&pgc_ispdwp>, + <&pgc_ispdwp>, + <&pgc_mipi_phy2>; + power-domain-names = "bus", "mipi-dsi1", "mipi-csi1", + "lcdif1", "isi", "mipi-csi2", + "lcdif2", "isp", "dwe", + "mipi-dsi2"; + clocks = <&clk IMX8MP_CLK_MEDIA_APB_ROOT>, + <&clk IMX8MP_CLK_MEDIA_AXI_ROOT>, + <&clk IMX8MP_CLK_MEDIA_CAM1_PIX_ROOT>, + <&clk IMX8MP_CLK_MEDIA_CAM2_PIX_ROOT>, + <&clk IMX8MP_CLK_MEDIA_DISP1_PIX_ROOT>, + <&clk IMX8MP_CLK_MEDIA_DISP2_PIX_ROOT>, + <&clk IMX8MP_CLK_MEDIA_ISP_ROOT>, + <&clk IMX8MP_CLK_MEDIA_MIPI_PHY1_REF_ROOT>; + clock-names = "apb", "axi", "cam1", "cam2", + "disp1", "disp2", "isp", "phy"; + + #power-domain-cells = <1>; + }; + }; + gpu3d: gpu@38000000 { compatible = "vivante,gc"; reg = <0x38000000 0x8000>;