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 EC79FC4332F for ; Sun, 18 Dec 2022 04:22:43 +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-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=neu/HbF0jTVk8dKBdr5qP3eF604RUE3P0fhdlBtHw10=; b=Z3XnBOE0/YNhtA XNPkY3MFM+HOMxPugWtSDK9VR6d9szsuk7XBfEKOZ0hD1nC0rtnvebxg2dhqbNPWOGsWKDuqBep1V isy3m4xNerHSCXKr9y9lss1iLN/puc22p8ynza0VcvuOu6S50iqc5twaUXLIxFST8rxhwE3qPFm2U a4wmHUjg9EhP5pGPaUBlrQK0gEShWY3KL4Nw+GfyLM+8psK01rd5aNr9bSuxNInPAX6IhZinAlZaS As+XkRL/m6z92/YVxzV7XXRXrrDQiVxvbOyqy33O5ZfgMerxQWSl88LoTp5mR/wGLl7xcQtK88KW8 ISJBA6s5N0EygcTECbIg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p6lBG-00FaUx-Qs; Sun, 18 Dec 2022 04:21:42 +0000 Received: from phobos.denx.de ([2a01:238:438b:c500:173d:9f52:ddab:ee01]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p6lBC-00FaTc-Bg for linux-arm-kernel@lists.infradead.org; Sun, 18 Dec 2022 04:21:41 +0000 Received: from [127.0.0.1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 9B73C85383; Sun, 18 Dec 2022 05:21:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1671337296; bh=TUXNFVuMZH0hKHEuZl1h3XWjOqvk14TnAsLravkdfhs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=QdVsCjXTcbY4/u/hAjLhILTE9/snEFtALsLgkuPLuKz/L6oQa37y6/Dx5knjOi+b+ IGtt8mxbYnLK1hFbKDD2FBX3Yln1PJM3rIXMZbr6SXNaRIrF/KobiYjWiMqI5PJR1Q miIucHL5f8lnmmR5QuUhNujNN33Ej18WN0gOjlq6Ca2bN8DuHb6bjKYSEZ2HFJjLly 01m/bAVuc2+75yk2Wzrj12HcL7UsUX3KPvzAZL5TZ3CxMSXtkgMz6DETA0ne2OQdiP 2+1QXCSsKtL4vMYUeIgK77l8FFKCBBltg72yc/UNmlNK5gWArvlG1dDSbpZ7b6iVTH 9A9/aLtoFUEKg== Message-ID: <636a2079-76dc-b60c-965e-5fa54ac232f9@denx.de> Date: Sun, 18 Dec 2022 05:21:35 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH] arm64: dts: imx8mp: Add Hantro G1, G2, VC8000E DT nodes To: Adam Ford Cc: Laurent Pinchart , linux-arm-kernel@lists.infradead.org, Abel Vesa , Alexander Stein , Ezequiel Garcia , Fabio Estevam , Jacky Bai , Krzysztof Kozlowski , Lucas Stach , Markus Niebel , NXP Linux Team , Peng Fan , Pengutronix Kernel Team , Richard Cochran , Richard Zhu , Rob Herring , Sascha Hauer , Shawn Guo References: <20221218010626.197980-1-marex@denx.de> Content-Language: en-US From: Marek Vasut In-Reply-To: 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_202138_739658_310C710E X-CRM114-Status: GOOD ( 22.24 ) 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: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 12/18/22 05:16, Adam Ford wrote: > On Sat, Dec 17, 2022 at 8:37 PM Marek Vasut wrote: >> >> On 12/18/22 02:36, Laurent Pinchart wrote: >> >> Hi, >> >> [...] >> >>>> diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi >>>> index 34c2c80c47eb5..5040b3a545c32 100644 >>>> --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi >>>> +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi >>>> @@ -1639,6 +1639,39 @@ 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>; >>>> + }; >>>> + >>>> + vpu_vc8000e: vpu_vc8000e@38320000 { >>>> + compatible = "nxp,imx8mp-vpu-vc8000e"; >>> >>> I tried to look for the patch that defined this compatible value, but >>> couldn't find it. Same for driver support. Have they been posted >>> somewhere ? >> >> Not the vc8000e to my knowledge, the other two are upstream. > > For what it's worth, I'm still working on getting my imx8mp up and > running with a mainline kernel, but the g1 and g2 enumerate: > > [ 7.039007] hantro-vpu 38300000.video-codec: registered > nxp,imx8mm-vpu-g1-dec as /dev/video0 > [ 7.054049] hantro-vpu 38310000.video-codec: registered > nxp,imx8mq-vpu-g2-dec as /dev/video1 > > I'm hoping to get a more mainline version of g-streamer to be able to > do video decoding and run some fluster tests, but I want to get HDMI > and DSI video working before I'll have more time to spend on the > decoders. > If there isn't a driver for the vc8000e, I wonder if it wouldn't make > sense to post a V2 with just the G1 and G2 decoders enabled. Let's do that _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel