From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (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 73B573CC9F1; Tue, 14 Apr 2026 10:13:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776161586; cv=none; b=nh8caCF85THJIWMTluzm2w7NxwfiNZ6I6J+2S6zUPiTekmVpoYXFJX3ywDyBgI6sePLnkiNw3d6AvuT1ke2NJ1hS8vKjNvrJsiZCs7WnzsHgYT+EVGJcds/tdB6IaqPVnvc+P61eDenrXK0ERtczoYgxKvT1YVvcYJSrLgNEhzo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776161586; c=relaxed/simple; bh=GLxUQTyN/x0e1RqvYUxILKDsModk02LrLQIaPUBGcOg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UJ9z8nnMIBbyoknkqm8m31Jvatrnt41h/IvWpAWvSFS6Cx9UTt9iIhS3hY9IV6bqkoPJGdA6KYb771FwdKPusPfvu9jwKoOzl/IciKIjlRQCMZzwZYyB41GSFfxnpVt3dzgWBbJRKKgxY5UBiukNOc89Ej0Fu7gOcL7og8HwvzE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=NCFUiJhp; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="NCFUiJhp" Received: from killaraus.ideasonboard.com (2001-14ba-703d-e500--2a1.rev.dnainternet.fi [IPv6:2001:14ba:703d:e500::2a1]) by perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id 86455161; Tue, 14 Apr 2026 12:11:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1776161488; bh=GLxUQTyN/x0e1RqvYUxILKDsModk02LrLQIaPUBGcOg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NCFUiJhp36YEhIUote9Nabq9WX9mX2FHrjLEBYK5V85nu0r+9rNlUF25VczKlPpmA asoU56Qc6eq9nhL4JcLfEWwZJG4NPQojAWlbv/S2hH7pV8/n9e0d/PbCjjVAY6daNW IV7onQAHXA4zD+Xttfos9jgAzwSdIUih/7CwCm/8= Date: Tue, 14 Apr 2026 13:12:59 +0300 From: Laurent Pinchart To: "sakari.ailus@linux.intel.com" Cc: Elgin Perumbilly , Tarang Raval , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Hans Verkuil , Hans de Goede , Vladimir Zapolskiy , Mehdi Djait , Benjamin Mugnier , Sylvain Petinot , Hardevsinh Palaniya , Jingjing Xiong , "linux-media@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2 2/2] media: i2c: add os02g10 image sensor driver Message-ID: <20260414101259.GH4061@killaraus.ideasonboard.com> References: <20260414084952.217215-1-elgin.perumbilly@siliconsignals.io> <20260414084952.217215-3-elgin.perumbilly@siliconsignals.io> <20260414092758.GE4061@killaraus.ideasonboard.com> <20260414095727.GF4061@killaraus.ideasonboard.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=utf-8 Content-Disposition: inline In-Reply-To: On Tue, Apr 14, 2026 at 01:06:37PM +0300, Sakari Ailus wrote: > On Tue, Apr 14, 2026 at 12:57:27PM +0300, Laurent Pinchart wrote: > > On Tue, Apr 14, 2026 at 09:43:32AM +0000, Elgin Perumbilly wrote: > > > Hi Laurent, > > > > > > > I sent a review comment on v1. > > > > > > > > On Tue, Apr 14, 2026 at 02:19:45PM +0530, Elgin Perumbilly wrote: > > > > > Add a v4l2 subdevice driver for the Omnivision os02g10 sensor. > > > > > > > > > > The Omnivision os02g10 is a CMOS image sensor with an active array size of > > > > > 1920 x 1080. > > > > > > > > > > The following features are supported: > > > > > - Manual exposure an gain control support > > > > > - vblank/hblank control support > > > > > - vflip/hflip control support > > > > > - Test pattern control support > > > > > - Supported resolution: 1920 x 1080 @ 30fps (SBGGR10) > > > > > > > > > > Signed-off-by: Elgin Perumbilly > > > > > Reviewed-by: Tarang Raval > > > > > --- > > > > > MAINTAINERS | 1 + > > > > > drivers/media/i2c/Kconfig | 10 + > > > > > drivers/media/i2c/Makefile | 1 + > > > > > drivers/media/i2c/os02g10.c | 1039 +++++++++++++++++++++++++++++++++++ > > > > > 4 files changed, 1051 insertions(+) > > > > > create mode 100644 drivers/media/i2c/os02g10.c > > > > > > I have added a new function, os02g10_set_framefmt, which dynamically sets > > > the mode register. > > > > > > Please let me know if I have missed anything or if further changes are > > > needed. > > > > You also need to drop the supported_modes array, and implement support > > for .set_selection(). > > I don't think we have a very well established behaviour for set_selections > on sensors before the common raw sensor model, do we? I guess it can be the > same as get_selections, though. > > Hopefully we can merge the metadata series soon... I've bumped that high on my list of priority tasks. -- Regards, Laurent Pinchart