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 E40C4C0015E for ; Tue, 15 Aug 2023 12:06:21 +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=m5kqh6b+xIIaazs9GcHpH9/ADzI48kdjaMlVCcSxja0=; b=R3st+lWHe7Oq1n QDovH7ebAi5R9audw0LSuT4L9CInDROPjl9oPaQVifdmv/3gL7gKaeCIFAamPr0CYOW22RRN8m2sm 5c8sH+gVQIEVq+Ge4byElmaDPGy/HN0hjCBoORbst/Ud/sfIRsODBCeLWXbWUVIQ4UzRzbF93hONw OkDtBbTEv+pWaPW7eBVNHBJuqXH0s6MBBjTNa3Tgu+OSOweuGJF89norzL9ImglIiUhfD/K9FHWHT OoHmhAPGrHWWwj2c+aBXOtn/tztL0HThFFVM2UJh0R3vIGZYqE8ejSI+7gkbRHjvJ1s38IDlB2J3H QZz8+VHjn10lz2tVoZbA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qVso8-001ZqO-19; Tue, 15 Aug 2023 12:05:56 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qVso4-001Zou-2q for linux-arm-kernel@lists.infradead.org; Tue, 15 Aug 2023 12:05:54 +0000 Received: from [192.168.88.20] (91-154-35-171.elisa-laajakaista.fi [91.154.35.171]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 8FB2D6BE; Tue, 15 Aug 2023 14:04:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1692101071; bh=z0PuRlOPSM7m9+UtKr3fBFzofL+sYR2WdbiV0aUsETk=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Nzcy/V9oMsRCzey3fPoE4VFz10+o86wZSBRDpsc26jiGD5ubPE6AIYGCYdKHhf3c+ ah+TZZ936iSyctp9zUWZp9+G1CJVh008AlMczR9gDu+9VeP2Pp9vZLcUcZDyfQXGpr DoEp8GPaX4naIS08pk9Nv4Ez7gz+/A95COZH+NaY= Message-ID: Date: Tue, 15 Aug 2023 15:05:39 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v9 05/13] media: cadence: csi2rx: Add get_fmt and set_fmt pad ops To: Jai Luthra , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sakari Ailus Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Laurent Pinchart , Mauro Carvalho Chehab , Maxime Ripard , niklas.soderlund+renesas@ragnatech.se, Benoit Parrot , Vaishnav Achath , Vignesh Raghavendra , nm@ti.com, devarsht@ti.com, a-bhatia1@ti.com, Martyn Welch , Julien Massot References: <20230811-upstream_csi-v9-0-8943f7a68a81@ti.com> <20230811-upstream_csi-v9-5-8943f7a68a81@ti.com> Content-Language: en-US From: Tomi Valkeinen In-Reply-To: <20230811-upstream_csi-v9-5-8943f7a68a81@ti.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230815_050553_085541_D727ADDC X-CRM114-Status: GOOD ( 13.00 ) 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 11/08/2023 13:47, Jai Luthra wrote: > From: Pratyush Yadav > > The format is needed to calculate the link speed for the external DPHY > configuration. It is not right to query the format from the source > subdev. Add get_fmt and set_fmt pad operations so that the format can be > configured and correct bpp be selected. > > Initialize and use the v4l2 subdev active state to keep track of the > active formats. Also propagate the new format from the sink pad to all > the source pads. > > Signed-off-by: Pratyush Yadav > Co-authored-by: Jai Luthra > Reviewed-by: Maxime Ripard > Signed-off-by: Jai Luthra > --- > Changes from v8: > - Squash the patch adding RAW8 and RAW10 formats within this one > - Single line struct entries in formats[] array > - Skip specifiying redundant format.which entry in init_cfg() > Reviewed-by: Tomi Valkeinen Tomi _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel