Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp4713652pxb; Tue, 25 Jan 2022 17:20:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJw3erJBPgecJJPWcooYD8aIgnHTkOAzgmZbZTbPi4ocKbe523+O5nnpnBqrYwhRrk903FV0 X-Received: by 2002:a17:907:6e29:: with SMTP id sd41mr10953431ejc.276.1643160008287; Tue, 25 Jan 2022 17:20:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643160008; cv=none; d=google.com; s=arc-20160816; b=gPD6QHnGpyABpMRT5SglAuw/JFHLGu01jDEZj/HRdxX77KaZEqkJKrc8U2inntBK94 sRzdrulgw9a8A9YmVb6qo8EylvPdf9ZAft+3HDrlGr/auPI3NAzDTaTABVzADKz27PQN hmNlg/dM3xp/PgaiX2/4aO+zgBiZhWiV633zxW5uktWbrdKf/8YQdIa04QU93ImIgV2h GYQpU1Ru5V5nnL6SLakpM2UV72Zqb9slMQVhoTSBpNx5rNH4+Du7WgL7GnLqxgy8nFm7 x9JtuDRDBM66X4MiTBU7wlv1VVS48DoEgGpo8cu98byn/KIazM3b9PRiElXiveJGrmM/ tXVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=T+/85uEpu2eNGNWD/5sNn1BpuagkYZLYJyTVK41DIzg=; b=ier9AOuscoNk/hEYtaXaKwg6GVhhEMtQAkXL7q+t/f+ea6p9hJZg74zKXWsmWo6E+W riS/FFl/N/Rn4KLtHLAFiNZj7p8Ow80LyfoD3iOOYtp4mMq+QPg5WuTW7thqUSrHEfbc IUr7CFj9u2iY+VNvSniDjc2jA363INb+6B01lbGlMLTAuLyCQC9ogtt0YDGteXzL2w2L R9Q5BJKbR9H5Dfv72QrzoUS84LJXLoVlO4kpC20m3JfXVJIuW5rlXnql7KpMWu1V8KhF kN6hGD+V7flGmJsei6YH68BShJjbEwB0yj35GUj7q2cfxCbSCY80rVtdURnUeheUF9Na iEMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@vanguardiasur-com-ar.20210112.gappssmtp.com header.s=20210112 header.b=47+BmtZt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b14si10648398edw.116.2022.01.25.17.19.44; Tue, 25 Jan 2022 17:20:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@vanguardiasur-com-ar.20210112.gappssmtp.com header.s=20210112 header.b=47+BmtZt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1586063AbiAYQwJ (ORCPT + 99 others); Tue, 25 Jan 2022 11:52:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1586502AbiAYQtn (ORCPT ); Tue, 25 Jan 2022 11:49:43 -0500 Received: from mail-ot1-x335.google.com (mail-ot1-x335.google.com [IPv6:2607:f8b0:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43D63C0617A7 for ; Tue, 25 Jan 2022 08:48:09 -0800 (PST) Received: by mail-ot1-x335.google.com with SMTP id d18-20020a9d51d2000000b005a09728a8c2so2567829oth.3 for ; Tue, 25 Jan 2022 08:48:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vanguardiasur-com-ar.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=T+/85uEpu2eNGNWD/5sNn1BpuagkYZLYJyTVK41DIzg=; b=47+BmtZtou4NgWMqWFzPj44eXxCp4g8Py4gfRKN0aqs6+3kLX5R+LnAdpsgCatY21K VSPva87aSIVmuGWoh0uDg2Pb8v8zvKWtEWTM0ur5k9KWk5/0mr7cd0Zr9SrEX484Q/lu mEyKfgPi1rIRTUE4BM8GG1ivH842WQduqi0y6EW99HHrM51LTb8WBwqVm0Z5IwAm3hl1 AYFOi1/lE2MZ9HUlhac2QEqZk8z2uYbEBUd4M6fP39XSC9gZLHvn55X0Mbk5/pxlFp9z Tc8eKughnD0QrvI2UIEcaHwHE7HvowgDeQWi71MsOmKI0F1/pzIKeksHCl6MOk8ymEaN GaNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=T+/85uEpu2eNGNWD/5sNn1BpuagkYZLYJyTVK41DIzg=; b=0msxCEZrWWJ4gYfdd6vusAg9Ajwq88m5lXWiwqmCHLheHsIafNRdEu6Xshjz7pZ5Ie fQ+Bvo9lS4cfRnwHBiD9c/HGbXtH5XksYVBQWlsSFtQYQsSuH+Wgsd2vdOzkEcdei7p6 Azc9hPfnE6sY1Zixp+GCLB0xaAhH7vlfUtxBsNKiADAYlLYYHhK3018HrtnMBURbkBne 53OlhMJLkw7wmylfFL6LE/kTsPmPHSfgq6Frc2qyCaLNIG6e2RxB/plYagtiOwoE5CMU U0So6VEwybn4oSfEM2Kv7dxKH90kszQmxbbCWqvhg9ZGzXlXuYAUavzN1LVQ/6TUvzAi 7PsA== X-Gm-Message-State: AOAM533GfyWGPq+2s0rktM/faLYSxynt3xJw28a5eu0J1L7/9CBzbKgD N3xJ9580gTleXuLcBdRKcIM28A== X-Received: by 2002:a9d:76d2:: with SMTP id p18mr16032229otl.226.1643129288610; Tue, 25 Jan 2022 08:48:08 -0800 (PST) Received: from eze-laptop ([186.122.18.78]) by smtp.gmail.com with ESMTPSA id j19sm3696308ots.21.2022.01.25.08.48.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jan 2022 08:48:07 -0800 (PST) Date: Tue, 25 Jan 2022 13:48:00 -0300 From: Ezequiel Garcia To: Adam Ford Cc: linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, shawnguo@kernel.org, aford@beaconembedded.com, Philipp Zabel , Mauro Carvalho Chehab , Rob Herring , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Greg Kroah-Hartman , Lucas Stach , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev Subject: Re: [PATCH V3 10/10] arm64: dts: imx8mm: Enable Hantro G1 and G2 video decoders Message-ID: References: <20220124023125.414794-1-aford173@gmail.com> <20220124023125.414794-11-aford173@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220124023125.414794-11-aford173@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Adam, On Sun, Jan 23, 2022 at 08:31:24PM -0600, Adam Ford wrote: > There are two decoders on the i.MX8M Mini controlled by the > vpu-blk-ctrl. The G1 supports H264 and VP8 while the > G2 support HEVC and VP9. > > Signed-off-by: Adam Ford > Looks good. Reviewed-by: Ezequiel Garcia Thanks, Ezequiel > diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi > index 0c7a72c51a31..98aec4421713 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi > @@ -1272,6 +1272,22 @@ gpu_2d: gpu@38008000 { > power-domains = <&pgc_gpu>; > }; > > + vpu_g1: video-codec@38300000 { > + compatible = "nxp,imx8mm-vpu-g1"; > + reg = <0x38300000 0x10000>; > + interrupts = ; > + clocks = <&clk IMX8MM_CLK_VPU_G1_ROOT>; > + power-domains = <&vpu_blk_ctrl IMX8MM_VPUBLK_PD_G1>; > + }; > + > + vpu_g2: video-codec@38310000 { > + compatible = "nxp,imx8mq-vpu-g2"; > + reg = <0x38310000 0x10000>; > + interrupts = ; > + clocks = <&clk IMX8MM_CLK_VPU_G2_ROOT>; > + power-domains = <&vpu_blk_ctrl IMX8MM_VPUBLK_PD_G2>; > + }; > + > vpu_blk_ctrl: blk-ctrl@38330000 { > compatible = "fsl,imx8mm-vpu-blk-ctrl", "syscon"; > reg = <0x38330000 0x100>; > @@ -1282,6 +1298,12 @@ vpu_blk_ctrl: blk-ctrl@38330000 { > <&clk IMX8MM_CLK_VPU_G2_ROOT>, > <&clk IMX8MM_CLK_VPU_H1_ROOT>; > clock-names = "g1", "g2", "h1"; > + assigned-clocks = <&clk IMX8MM_CLK_VPU_G1>, > + <&clk IMX8MM_CLK_VPU_G2>; > + assigned-clock-parents = <&clk IMX8MM_VPU_PLL_OUT>, > + <&clk IMX8MM_VPU_PLL_OUT>; > + assigned-clock-rates = <600000000>, > + <600000000>; > #power-domain-cells = <1>; > }; > > -- > 2.32.0 >