From patchwork Sun Dec 18 04:20:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 13075965 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 506A8C4332F for ; Sun, 18 Dec 2022 04:22:19 +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: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:In-Reply-To:References: List-Owner; bh=gPhs7OPcQosMFboVC42idXpKkgS/JxG9NhmFFkxAB7k=; b=p9z3brJdIOGgxt xuH0N14K4K6LNEKFyOEaAmDDeOy3N67ZYsDd9qJ/xsaK6o44EUrQqIrYIP68ZFZhIX1NtMQuoK9QG Mx/3IOLBsAWwRLJljRADFA2m+7fUSEcGP/uJmOqN4YLAqpi+S52HNBs/X6v0jTMGz6UzMZgWb6Uoh zXxE6LNUk6y96v+F0keBUgCpvq/X137FRVVOczD/jOu9/B5sjfF87yPQquyW5GR2LTTvApd80hYZw pcaSq/0tS8+LLrrWDv51mvPVoyA/WSi0HDPRQDLj+NnEp6dgi656L8s5VfyC3FEL7PKsk9GVMAMoA pF+3y/cWXAJ91rU8hAZw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p6lAo-00FaPc-En; Sun, 18 Dec 2022 04:21:14 +0000 Received: from phobos.denx.de ([85.214.62.61]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p6lAl-00FaOk-MY for linux-arm-kernel@lists.infradead.org; Sun, 18 Dec 2022 04:21:13 +0000 Received: from tr.lan (ip-86-49-120-218.bb.vodafone.cz [86.49.120.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 07AD284FF0; Sun, 18 Dec 2022 05:21:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1671337267; bh=mSXxBVcRQvgv/5eKMWqncs7axCLEesgxUFnElUi9S7g=; h=From:To:Cc:Subject:Date:From; b=gQRihg8sShxmPUX8FNlDRZbjMqWTUb5veNBGop5LLaCfbH2IKw/fiWfh3Z7tctWES /ZveB2qA53ezrTrnf7HXc+oYrKAiaEvDRRxkM36cA+F00xVSXS/DVeYftWzN/X1P9Z RW1SafJsb+re+lryWdutFpV2PJFpBTaJIYNMlsK1LmJD+5JHPLLAAjNO49ycStNwNE wkXTrAkc6yJLsLE3kjVwLac7gsC3HNIyTyQwmYUq2kMJmXyUQiFeQI8i4pZ0hffzDD llSoCtODJzl1ODLjQUVWvBLwwOFlDnGjWrNRFpqlRxNpMaoAAdFq/DRfN5n4Ou2SLi Dc2XWI7NMUKDw== From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Abel Vesa , Adam Ford , Alexander Stein , Ezequiel Garcia , Fabio Estevam , Jacky Bai , Krzysztof Kozlowski , Laurent Pinchart , Lucas Stach , Markus Niebel , NXP Linux Team , Peng Fan , Pengutronix Kernel Team , Richard Cochran , Richard Zhu , Rob Herring , Sascha Hauer , Shawn Guo Subject: [PATCH v2] arm64: dts: imx8mp: Add Hantro G1, G2 DT nodes Date: Sun, 18 Dec 2022 05:20:56 +0100 Message-Id: <20221218042056.328324-1-marex@denx.de> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221217_202112_054182_82CFAD30 X-CRM114-Status: UNSURE ( 9.42 ) 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 DT nodes for the Hantro VPU found in i.MX8MP SoC. Signed-off-by: Marek Vasut Reviewed-by: Laurent Pinchart --- Cc: Abel Vesa Cc: Adam Ford Cc: Alexander Stein Cc: Ezequiel Garcia Cc: Fabio Estevam Cc: Jacky Bai Cc: Krzysztof Kozlowski Cc: Laurent Pinchart Cc: Lucas Stach Cc: Marek Vasut Cc: Markus Niebel Cc: NXP Linux Team Cc: Peng Fan Cc: Pengutronix Kernel Team Cc: Richard Cochran Cc: Richard Zhu Cc: Rob Herring Cc: Sascha Hauer Cc: Shawn Guo To: linux-arm-kernel@lists.infradead.org --- V2: Drop the VC8000E --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 34c2c80c47eb5..d472170ee9ff1 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -1639,6 +1639,28 @@ gpu2d: gpu@38008000 { power-domains = <&pgc_gpu2d>; }; + vpu_g1: video-codec@38300000 { + compatible = "nxp,imx8mm-vpu-g1"; + reg = <0x38300000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MP_CLK_VPU_G1_ROOT>; + assigned-clocks = <&clk IMX8MP_CLK_VPU_G1>; + assigned-clock-parents = <&clk IMX8MP_VPU_PLL_OUT>; + assigned-clock-rates = <700000000>; + power-domains = <&vpumix_blk_ctrl IMX8MP_VPUBLK_PD_G1>; + }; + + vpu_g2: video-codec@38310000 { + compatible = "nxp,imx8mq-vpu-g2"; + reg = <0x38310000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MP_CLK_VPU_G2_ROOT>; + assigned-clocks = <&clk IMX8MP_CLK_VPU_G2>; + assigned-clock-parents = <&clk IMX8MP_VPU_PLL_OUT>; + assigned-clock-rates = <700000000>; + power-domains = <&vpumix_blk_ctrl IMX8MP_VPUBLK_PD_G2>; + }; + vpumix_blk_ctrl: blk-ctrl@38330000 { compatible = "fsl,imx8mp-vpu-blk-ctrl", "syscon"; reg = <0x38330000 0x100>; @@ -1650,6 +1672,9 @@ vpumix_blk_ctrl: blk-ctrl@38330000 { <&clk IMX8MP_CLK_VPU_G2_ROOT>, <&clk IMX8MP_CLK_VPU_VC8KE_ROOT>; clock-names = "g1", "g2", "vc8000e"; + assigned-clocks = <&clk IMX8MP_CLK_VPU_BUS>; + assigned-clock-parents = <&clk IMX8MP_VPU_PLL_OUT>; + assigned-clock-rates = <700000000>; interconnects = <&noc IMX8MP_ICM_VPU_G1 &noc IMX8MP_ICN_VIDEO>, <&noc IMX8MP_ICM_VPU_G2 &noc IMX8MP_ICN_VIDEO>, <&noc IMX8MP_ICM_VPU_H1 &noc IMX8MP_ICN_VIDEO>;