From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE34224E013; Wed, 26 Feb 2025 08:52:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740559977; cv=none; b=CcyWaL0IohxXgbEk86l+JaIyaxeZjJLvqAvppcZwjnVWPBT8PeGsmbbAEbHNvI6erJlmJBnyDvj64K4d9SMo37mTsJW25RBPZoqZT45VLAb7ABKqQvPFd4Tsww6IfA12PeyS13cXsFnCmTXqhW40PsKKDjgEBlsjFDV7CypC6u4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740559977; c=relaxed/simple; bh=sWyxuVp5GIn2PyGiKOrfhffWXLzuRAsQpL6ER1bVxKA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=H+4yDl+h609oNIjHuqq9zhGMRbLcVrUVhflawk7tDG7iXpRqpfykhRL+1y9iESOxl822CQCbyaGyy6T8KwATW7cZOA7OfdF937xeL0bAxTEgcBOUqvJIVl/876MHqTnfeUiP7Ju0MNqWN3vz4p5F6n6cz+AL+KsowRXPljq9YVE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Jr4Wb4d0; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Jr4Wb4d0" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740559976; x=1772095976; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=sWyxuVp5GIn2PyGiKOrfhffWXLzuRAsQpL6ER1bVxKA=; b=Jr4Wb4d0D/qLlAlhvSJDGBEUQlVUZQvPJO8iKZCB5VknhlBpXmgz3R+J WkRgALVFdCSOk7GfDxupCewV+SsI22WQHr7ziagigW0jCqlTnAqv+KdN7 O1+uIPIVsUDyobrLzlVPgYkFxd4eKaGF1xr5J2PoM/5hT/Cw89hH7Cgii +fdE6+OanyU1gXfHuJ8JUTT8Nma/qN+6cUOL6JbbRwOz2Fdpi966BwbJw 7m9H0stkSCLcSxG1PSivgjOU1qxEr49dzC6QM3gcBcvUBNhdCKxZkOwU1 maUZxcoMHytEjUXYcEIYnIl9eE3O4ebnhCUKjvxxnMiQIOI+Z16wa+9bf Q==; X-CSE-ConnectionGUID: LX7TBp9rQ92Qm8arGbVupQ== X-CSE-MsgGUID: 9wmnfeQPSfyt5QoePRivFQ== X-IronPort-AV: E=McAfee;i="6700,10204,11356"; a="52389684" X-IronPort-AV: E=Sophos;i="6.13,316,1732608000"; d="scan'208";a="52389684" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Feb 2025 00:52:55 -0800 X-CSE-ConnectionGUID: Ij3kjip9SWyZdE5qJLB6Tw== X-CSE-MsgGUID: Pr4CVODQQOSIt8dTwipeBQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.13,316,1732608000"; d="scan'208";a="117128677" Received: from turnipsi.fi.intel.com (HELO kekkonen.fi.intel.com) ([10.237.72.44]) by fmviesa010-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Feb 2025 00:52:52 -0800 Received: from kekkonen.localdomain (localhost [127.0.0.1]) by kekkonen.fi.intel.com (Postfix) with SMTP id AF9D911F944; Wed, 26 Feb 2025 10:52:49 +0200 (EET) Date: Wed, 26 Feb 2025 08:52:49 +0000 Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo From: Sakari Ailus To: Cosmin Tanislav Cc: Dave Stevenson , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Laurent Pinchart , linux-media@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 5/6] media: i2c: imx219: Report streams using frame descriptors Message-ID: References: <20250220230818.275262-1-demonsingur@gmail.com> <20250220230818.275262-6-demonsingur@gmail.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250220230818.275262-6-demonsingur@gmail.com> Hi Cosmin, On Fri, Feb 21, 2025 at 01:08:13AM +0200, Cosmin Tanislav wrote: > From: Laurent Pinchart > > Implement the .get_frame_desc() subdev operation to report information > about streams to the connected CSI-2 receiver. This is required to let > the CSI-2 receiver driver know about virtual channels and data types for > each stream. > > Signed-off-by: Laurent Pinchart In addition to this, the idea has been that the set_frame_desc() could be used to set aspects of the frame descriptor. My thinking has been that you could modify the entries, up to the degree supported by the driver, but not add or remove them. This should be properly documented in v4l2-subdev.h. -- Regards, Sakari Ailus