From mboxrd@z Thu Jan 1 00:00:00 1970 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 D77B3C433FE for ; Wed, 19 Oct 2022 11:58:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232159AbiJSL6Z (ORCPT ); Wed, 19 Oct 2022 07:58:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232226AbiJSL5s (ORCPT ); Wed, 19 Oct 2022 07:57:48 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72A90BE37; Wed, 19 Oct 2022 04:35:44 -0700 (PDT) X-UUID: 34acd60cc80d4990bce2455bf390b3c9-20221019 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=cSeJUyFSeok6ngFkYCaH8KpME5/ESKjKnL4imI8pLTw=; b=PDKa1XaV8UieJrHHR+UTXbQfm/hVyCdohgzFGftdl4QG0iB/Y+peIH+ElM7++SmmjGgqaa2bjTvii+OiGLmDKspaOy2zeu//65yP/sNEhMvotYiVzEjrM6BVXnFakiFjQueBqRm+go/nQPtHXo/j0WFDkpv1aFFmRm5EiICoFEU=; X-CID-UNFAMILIAR: 1 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.12,REQID:6ebdbc00-af9e-4b5b-a14d-21d30de43647,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:54,FILE:0,BULK:28,RULE:Release_Ham,ACTIO N:release,TS:82 X-CID-INFO: VERSION:1.1.12,REQID:6ebdbc00-af9e-4b5b-a14d-21d30de43647,IP:0,URL :0,TC:0,Content:0,EDM:0,RT:0,SF:54,FILE:0,BULK:28,RULE:Spam_GS981B3D,ACTIO N:quarantine,TS:82 X-CID-META: VersionHash:62cd327,CLOUDID:846449a4-ebb2-41a8-a87c-97702aaf2e20,B ulkID:22101906415932MWZJGX,BulkQuantity:83,Recheck:0,SF:38|28|16|19|48|102 ,TC:nil,Content:0,EDM:-3,IP:nil,URL:11|1,File:nil,Bulk:40|20,QS:nil,BEC:ni l,COL:0 X-UUID: 34acd60cc80d4990bce2455bf390b3c9-20221019 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1757139302; Wed, 19 Oct 2022 16:56:52 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.3; Wed, 19 Oct 2022 16:56:50 +0800 Received: from mhfsdcap04 (10.17.3.154) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Wed, 19 Oct 2022 16:56:49 +0800 Message-ID: Subject: Re: [PATCH v1 3/3] arm64: dts: mt8195: Add venc node From: Irui Wang To: AngeloGioacchino Del Regno , Tinghan Shen , Ryder Lee , Jianjun Wang , Bjorn Helgaas , Rob Herring , "Krzysztof Kozlowski" , Matthias Brugger CC: , , , , , Date: Wed, 19 Oct 2022 16:56:49 +0800 In-Reply-To: <01ef8a2d-091f-5428-2cb8-41ba3e137a06@collabora.com> References: <20221017070858.13902-1-tinghan.shen@mediatek.com> <20221017070858.13902-4-tinghan.shen@mediatek.com> <01ef8a2d-091f-5428-2cb8-41ba3e137a06@collabora.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2022-10-19 at 10:51 +0200, AngeloGioacchino Del Regno wrote: > Il 17/10/22 09:08, Tinghan Shen ha scritto: > > Add venc node for mt8195 SoC. > > > > Signed-off-by: Irui Wang > > Signed-off-by: Tinghan Shen > > --- > > arch/arm64/boot/dts/mediatek/mt8195.dtsi | 24 > > ++++++++++++++++++++++++ > > 1 file changed, 24 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi > > b/arch/arm64/boot/dts/mediatek/mt8195.dtsi > > index 903e92d6156f..7cf2f7ef4ec6 100644 > > --- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi > > +++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi > > @@ -2163,6 +2163,30 @@ > > power-domains = <&spm > > MT8195_POWER_DOMAIN_VENC>; > > }; > > > > + venc: venc@1a020000 { > > As Krzysztof also said, this is video-codec@1a020000. > > Also, there's one more thing... MT8195 has two video encoder cores, > but this > node is only for the first one. There's a second instance at > 0x1b020000: please > add it. Dear Angelo, The second video encoder core 0x1b020000 is not ready in driver, there is only one core 0x1a020000 used, so we don't need add it in current patch now. Thanks Best Regards > > Regards, > Angelo > From mboxrd@z Thu Jan 1 00:00:00 1970 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 5953EC433FE for ; Wed, 19 Oct 2022 09:48:46 +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: Date:CC:To:From:Subject:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=UvY7KlaEuSfOKWIpGYAULjEfEbujB/bx1Xc4lfR/Hak=; b=ut1YlqnZJrdPXQ m/fi4UGIoPyVuFobUOvF+9cg+FWlPe/Gs1SGEVO6AjkLOzYUphd2IRIUZfvAy3zCCSbqOLptwGfSK yLBbNyLaGRA3X2x2iOfFN/G8ETUVIO3I3Hdnkiwip6nZh4cIMmBsWjGzHkE4iecncWZQDgylTtFwU rRWfRr5v4u44DCWoevfy7hdjYPRyMGRLsaARTrWH0OxbkVgOFoxq8skh3xQh4Wdm6bxhZkH2ep6Lo 1AEuOyvAtNCBIf6Gbfdzp7NsOph1YhtCMt9BKDMF5XIZw+WAt2WBikYWJO8PLoyIYntutmfcppY2P pzSLpglv6gWqD9Ld06DQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ol5fn-00HU7p-UP; Wed, 19 Oct 2022 09:47:40 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ol5fi-00HU79-UB; Wed, 19 Oct 2022 09:47:37 +0000 X-UUID: c9b72087f6c647348f8ffd4ae6c461cc-20221019 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=cSeJUyFSeok6ngFkYCaH8KpME5/ESKjKnL4imI8pLTw=; b=PDKa1XaV8UieJrHHR+UTXbQfm/hVyCdohgzFGftdl4QG0iB/Y+peIH+ElM7++SmmjGgqaa2bjTvii+OiGLmDKspaOy2zeu//65yP/sNEhMvotYiVzEjrM6BVXnFakiFjQueBqRm+go/nQPtHXo/j0WFDkpv1aFFmRm5EiICoFEU=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.12,REQID:2c45a25f-e834-46b2-9ce7-2f57295d19cd,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:62cd327,CLOUDID:21374aa3-73e4-48dd-a911-57b5d5484f14,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:11|1,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: c9b72087f6c647348f8ffd4ae6c461cc-20221019 Received: from mtkmbs11n1.mediatek.inc [(172.21.101.185)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1279108905; Wed, 19 Oct 2022 02:47:27 -0700 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.3; Wed, 19 Oct 2022 16:56:50 +0800 Received: from mhfsdcap04 (10.17.3.154) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Wed, 19 Oct 2022 16:56:49 +0800 Message-ID: Subject: Re: [PATCH v1 3/3] arm64: dts: mt8195: Add venc node From: Irui Wang To: AngeloGioacchino Del Regno , Tinghan Shen , Ryder Lee , Jianjun Wang , Bjorn Helgaas , Rob Herring , "Krzysztof Kozlowski" , Matthias Brugger CC: , , , , , Date: Wed, 19 Oct 2022 16:56:49 +0800 In-Reply-To: <01ef8a2d-091f-5428-2cb8-41ba3e137a06@collabora.com> References: <20221017070858.13902-1-tinghan.shen@mediatek.com> <20221017070858.13902-4-tinghan.shen@mediatek.com> <01ef8a2d-091f-5428-2cb8-41ba3e137a06@collabora.com> X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221019_024735_004747_1AC33299 X-CRM114-Status: GOOD ( 19.67 ) 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 2022-10-19 at 10:51 +0200, AngeloGioacchino Del Regno wrote: > Il 17/10/22 09:08, Tinghan Shen ha scritto: > > Add venc node for mt8195 SoC. > > > > Signed-off-by: Irui Wang > > Signed-off-by: Tinghan Shen > > --- > > arch/arm64/boot/dts/mediatek/mt8195.dtsi | 24 > > ++++++++++++++++++++++++ > > 1 file changed, 24 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi > > b/arch/arm64/boot/dts/mediatek/mt8195.dtsi > > index 903e92d6156f..7cf2f7ef4ec6 100644 > > --- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi > > +++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi > > @@ -2163,6 +2163,30 @@ > > power-domains = <&spm > > MT8195_POWER_DOMAIN_VENC>; > > }; > > > > + venc: venc@1a020000 { > > As Krzysztof also said, this is video-codec@1a020000. > > Also, there's one more thing... MT8195 has two video encoder cores, > but this > node is only for the first one. There's a second instance at > 0x1b020000: please > add it. Dear Angelo, The second video encoder core 0x1b020000 is not ready in driver, there is only one core 0x1a020000 used, so we don't need add it in current patch now. Thanks Best Regards > > Regards, > Angelo > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel