Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp50423rwo; Fri, 21 Jul 2023 08:22:07 -0700 (PDT) X-Google-Smtp-Source: APBJJlFlx3czhBnM/OBFMawRbpIECIaCRrX7M22kjIOgQrXUtWuor3yZNWPBTx3IyX9fO+Pxyd1R X-Received: by 2002:a17:906:530c:b0:992:a618:c3c4 with SMTP id h12-20020a170906530c00b00992a618c3c4mr2394029ejo.66.1689952927651; Fri, 21 Jul 2023 08:22:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689952927; cv=none; d=google.com; s=arc-20160816; b=WFd7gD+nw9OboNiHj/NywfCg4ZxD3RQgiKDQYynVWJhDx5NYqK/iR+ew0W+vuDYX5D XWeWPhIDkTnEcK9ZvJfhyqSh6kacKi7gowRzvC1MFoRM/3yyNudSYTXKlMMpq2ja0J4j IN86N2NDejXCTu3fsRE/XKzHchIrgT7Sf+GnyIyVnoXHHc76DenLi0CVQXXrZAdLex5J d9XMEbb8tnMA+UpBrCyF6LvQuBY+BEz5sx7h1HeWBqB1y20FrgPZhEZxiX7/Wcl6BUHA 6PkSsDBcaiOP4R/fEdhzsGIlf0HbQv1yckB6cNaJ84sAfOkD8ksI9fEaB0Tf0Va/g43E s7XQ== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=68VDpVsLT/cBzsPEZKSP36t/Mqou9E9cqT7NspN2Yvc=; fh=+OBttBBPDAQ+Ee+xyaiIH/oi6LBHwLPiYu5Oclq+2ZQ=; b=ULbsZVxNSQDFd1Yj0hwyGlHvc9Sx2DGVSLZuaCmk5aohsyU8hhvcMdiX70mGjVXO26 JftuLbJD2caHyLdDqadFZNRs1X9fPKJ4UM1Oy641cqTC/B7fNymvmLN3O1l1fPNjTBYy odO0YXBe7ve5DnxoprUJDEXQF0ONXv6wOe8sH41pqRx+0JqxBj+l7NFtgOTWHtweuhZl Hv2vyAxjfmQ7munJlKVL3DaRIdIm14e9TpDA3O8EG05RY/rb+XCwtZnk8ai5cnJi6e6L 92rLYIa7C4JCZCd3vUoLIa4uqQPkaRGp6QBxFrOGwn2PnMBI4K1yNbJGLc576PrxSfp/ vZww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=joUUPWHA; 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 q25-20020a170906145900b00992a36ceca1si2393150ejc.35.2023.07.21.08.21.43; Fri, 21 Jul 2023 08:22:07 -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=joUUPWHA; 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 S230120AbjGUOwb (ORCPT + 99 others); Fri, 21 Jul 2023 10:52:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229779AbjGUOwa (ORCPT ); Fri, 21 Jul 2023 10:52:30 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7AF3F0; Fri, 21 Jul 2023 07:52:29 -0700 (PDT) Received: from notapiano (zone.collabora.co.uk [167.235.23.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id 780E16606EE0; Fri, 21 Jul 2023 15:52:26 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1689951148; bh=98bysGy+AeVi9wthSW3bKoLCU2PN4QMkm22+kvUMnWU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=joUUPWHADFpPK77514Ek71bf5t5zpKD6tvYcIO0gvGc+G4FTMiFstL89i+PqFIx39 DX4FxMvrMdEcbmQKdXjwh+d7PWhx2Ii7bKGvx5TAzwkF5M6Xsz/PLiS1wmywRn6ZQP Pt0Nct/1ZoNTTGziCUvbEGm4+F5bwYZlC113Wj+fs9ckiFX2yhDN1N9CiyJ1cE9af2 N73I8Vr3lNHHNft8iDK9VSike47aLodpcoJyU1nVw7Ok7R7iQrIm7L3B7QB16CBEDE vTjEFDOJMblL5MEZtQHxnE9Ay1QvqW9bLUcxtxcJcfbIgCK4zw4Kk/JgpXbFPTGws4 LaFb5BxvYn3DA== Date: Fri, 21 Jul 2023 10:52:23 -0400 From: =?utf-8?B?TsOtY29sYXMgRi4gUi4gQS4=?= Prado To: Hans Verkuil Cc: Matthias Brugger , AngeloGioacchino Del Regno , kernel@collabora.com, Andrew-CT Chen , Mauro Carvalho Chehab , Tiffany Lin , Yunfei Dong , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH v5 5/7] media: mediatek: vcodec: Read HW active status from syscon Message-ID: <08fab56b-c938-4509-940e-eab503f87740@notapiano> References: <20230630151436.155586-1-nfraprado@collabora.com> <20230630151436.155586-6-nfraprado@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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 On Fri, Jul 21, 2023 at 01:44:10PM +0200, Hans Verkuil wrote: > On 30/06/2023 17:14, N?colas F. R. A. Prado wrote: [..] > > --- a/drivers/media/platform/mediatek/vcodec/mtk_vcodec_drv.h > > +++ b/drivers/media/platform/mediatek/vcodec/mtk_vcodec_drv.h > > @@ -489,6 +489,7 @@ struct mtk_vcodec_dev { > > void __iomem *reg_base[NUM_MAX_VCODEC_REG_BASE]; > > const struct mtk_vcodec_dec_pdata *vdec_pdata; > > const struct mtk_vcodec_enc_pdata *venc_pdata; > > + struct regmap *vdecsys_regmap; > > You forgot to add the kerneldoc documentation for this new field. > > If you just give me the documentation of this field then I can modify the > patch. That's actually easier for me. Sorry about that. Seems like I'm not getting a kerneldoc warning due to that, I'll look into why so I can catch this next time. This is the documentation: @vdecsys_regmap: VDEC_SYS register space passed through syscon Or if a patch that applies on top would make it easier to fixup: cat 0001-media-mediatek-vcodec-Add-missing-kerneldoc-for-vdec.patch From ee6a6d619dbe60c8f4947188a9b9bbeafc3616f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= Date: Fri, 21 Jul 2023 16:33:54 +0200 Subject: [PATCH] media: mediatek: vcodec: Add missing kerneldoc for vdecsys_regmap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: N?colas F. R. A. Prado --- drivers/media/platform/mediatek/vcodec/mtk_vcodec_drv.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/mediatek/vcodec/mtk_vcodec_drv.h b/drivers/media/platform/mediatek/vcodec/mtk_vcodec_drv.h index 0b430936f67d..c38eb62bc72a 100644 --- a/drivers/media/platform/mediatek/vcodec/mtk_vcodec_drv.h +++ b/drivers/media/platform/mediatek/vcodec/mtk_vcodec_drv.h @@ -441,6 +441,7 @@ struct mtk_vcodec_enc_pdata { * @reg_base: Mapped address of MTK Vcodec registers. * @vdec_pdata: decoder IC-specific data * @venc_pdata: encoder IC-specific data + * @vdecsys_regmap: VDEC_SYS register space passed through syscon * * @fw_handler: used to communicate with the firmware. * @id_counter: used to identify current opened instance -- 2.30.2 Thanks, N?colas