Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6737476rwd; Tue, 6 Jun 2023 00:52:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6sbFQESGa3jfa14EKSaJCfOUSsfGxLhnxcJx8n2fCvdcL8fGqXp4BPCebLJXsxFNP/fn6x X-Received: by 2002:a17:90a:e64b:b0:259:3e2e:2968 with SMTP id ep11-20020a17090ae64b00b002593e2e2968mr1271802pjb.1.1686037928221; Tue, 06 Jun 2023 00:52:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686037928; cv=none; d=google.com; s=arc-20160816; b=bZeUZVmp8nS76BDDN/c8ZgllOuOTfYj4ULNLBK/pW1Lx1hndwMQJKkHhQ0+tLsrxn5 kdCeyNEHo37XA+wo+yO5IJTBRFMouDbW7Mcbn3NYXiUsxYgsRJWK0Ujgs8BQgTS9T5FM YvZLWqNXPBSPxZtGSe20GydY8PHvpyoiWQil21r4atfaY5hwyrnZqnYP7rqKMrO6tDPk wLqhdnjA1tXT2P0KXHDCNg87r10hrDVuy8srLpQmMLPa5SNfp3TyT2ALzjImW3uTj+d1 DKkywvpJ93+fqVaYAJxJwTfv4T+hLE0ZzntfRRwP7zszrP31RsgV7CqCbbGk684J4A8a /JLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=mgCpYyezhHVr5BXyPJO0Ha+60w1xPwjoSHXr+Jg7eyw=; b=CjfUjOr7pGPDlECaO97LxhMHSl4RQeR39xluaApxo5D7xVl05BG8sR3LWqd25Cfla8 J5mgvf4jZMazU/AzqcZEyR7iQsUy2YgHeaktmZtgdSL92B0AcPuFeDnbaFPdUN6yQ4yT Ii/Z20S9dhh9nI2WXVSR71IfZ+l6xAc4VC/29NkwPFDnCrX96Gn3RbvWXgOGIXOz3sJ5 Preu5V5YPAcofPc8R+shrT9ojWWKnek1czeh9G8wD7GQBw5gpL2FqCe4X+6F7MoAxjit Sq1b/JxtYj2p5XbPAzfFThw68X+/WWINadE5m51kS/c5XJCu8U3g9CTLF4CRdrKOuPXB fR1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=AVPap7ZR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l192-20020a6391c9000000b00543fccf522dsi170784pge.449.2023.06.06.00.51.56; Tue, 06 Jun 2023 00:52:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=AVPap7ZR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235871AbjFFHmd (ORCPT + 99 others); Tue, 6 Jun 2023 03:42:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235103AbjFFHlo (ORCPT ); Tue, 6 Jun 2023 03:41:44 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8C801732; Tue, 6 Jun 2023 00:41:01 -0700 (PDT) Received: from [IPV6:2001:b07:2ed:14ed:a962:cd4d:a84:1eab] (unknown [IPv6:2001:b07:2ed:14ed:a962:cd4d:a84:1eab]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id E8BA96606E97; Tue, 6 Jun 2023 08:40:59 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1686037260; bh=T6bPfT4kWKXeLuDb4qVwp6rN6eB3ntz2Arg+fo8McNY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=AVPap7ZRIELTPbnrDMY6r4kM4eo1m72aDqA0OAzzeGCCWy4aG0N+YMyEE4vm/l71s bGUqJjuyXZTpbg19sQNhTjcVt4/2JlxsMXN99ySVv9PsT2zkNhPyKVCZ0fy4EqTr6J TUl0/qem9xv5yP6fNK1lnmvqnxdmP6vkjhtOE8m1ZfB8/Fvmy1kHof1iGOa99HP0Gr IZ1i+xYcSn/9jPtnOdrLVhU79hzqSf8UYxiEbrUN8c964UOSJAr3/SPtWJvt23azhD zPbf7JeEqDOUAUOzilaj3JT/SmMGjpaQEmR8PyzEJ0/EHB45KgzU44c9tfFKcT6qgY wJZ4rF0AMsbcA== Message-ID: Date: Tue, 6 Jun 2023 09:40:57 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH 6/6] arm64: dts: mediatek: mt8183: Add decoder Content-Language: en-US To: =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Matthias Brugger , Hans Verkuil Cc: kernel@collabora.com, Yunfei Dong , Conor Dooley , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org References: <20230605162030.274395-1-nfraprado@collabora.com> <20230605162030.274395-7-nfraprado@collabora.com> From: AngeloGioacchino Del Regno In-Reply-To: <20230605162030.274395-7-nfraprado@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Il 05/06/23 18:20, NĂ­colas F. R. A. Prado ha scritto: > From: Yunfei Dong > > Add node for the hardware decoder present on the MT8183 SoC. > > Signed-off-by: Yunfei Dong > Signed-off-by: Qianqian Yan > Signed-off-by: Frederic Chen > Signed-off-by: Alexandre Courbot > Signed-off-by: NĂ­colas F. R. A. Prado > --- > > arch/arm64/boot/dts/mediatek/mt8183.dtsi | 39 ++++++++++++++++++++++++ > 1 file changed, 39 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi > index 5169779d01df..8bb10ed67e87 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi > @@ -2019,6 +2019,45 @@ vdecsys: syscon@16000000 { > #clock-cells = <1>; > }; > > + vcodec_dec: video-codec@16020000 { > + compatible = "mediatek,mt8183-vcodec-dec"; > + reg = <0 0x16020000 0 0x1000>, /* VDEC_MISC */ > + <0 0x16021000 0 0x800>, /* VDEC_VLD */ > + <0 0x16021800 0 0x800>, /* VDEC_TOP */ > + <0 0x16022000 0 0x1000>, /* VDEC_MC */ > + <0 0x16023000 0 0x1000>, /* VDEC_AVCVLD */ > + <0 0x16024000 0 0x1000>, /* VDEC_AVCMV */ > + <0 0x16025000 0 0x1000>, /* VDEC_PP */ > + <0 0x16026800 0 0x800>, /* VP8_VD */ > + <0 0x16027000 0 0x800>, /* VP6_VD */ > + <0 0x16027800 0 0x800>, /* VP8_VL */ > + <0 0x16028400 0 0x400>; /* VP9_VD */ > + reg-names = "misc", > + "ld", > + "top", > + "cm", > + "ad", > + "av", > + "pp", > + "hwd", > + "hwq", > + "hwb", > + "hwg"; Do we really need one line for each 2/3 characters reg name? :-P Regards, Angelo