public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Elgin Perumbilly <elgin.perumbilly@siliconsignals.io>
Cc: Tarang Raval <tarang.raval@siliconsignals.io>,
	"sakari.ailus@linux.intel.com" <sakari.ailus@linux.intel.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Hans Verkuil <hverkuil+cisco@kernel.org>,
	Hans de Goede <johannes.goede@oss.qualcomm.com>,
	Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>,
	Mehdi Djait <mehdi.djait@linux.intel.com>,
	Benjamin Mugnier <benjamin.mugnier@foss.st.com>,
	Sylvain Petinot <sylvain.petinot@foss.st.com>,
	Hardevsinh Palaniya <hardevsinh.palaniya@siliconsignals.io>,
	"linux-media@vger.kernel.org" <linux-media@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2 2/2] media: i2c: add os02g10 image sensor driver
Date: Tue, 5 May 2026 23:24:31 +0300	[thread overview]
Message-ID: <20260505202431.GA1598374@killaraus.ideasonboard.com> (raw)
In-Reply-To: <MA0P287MB217836B81A73F23289CCF190883E2@MA0P287MB2178.INDP287.PROD.OUTLOOK.COM>

On Tue, May 05, 2026 at 02:42:21PM +0000, Elgin Perumbilly wrote:
> > On Tue, Apr 14, 2026 at 10:19:23AM +0000, Tarang Raval wrote:                  
> >> > On Tue, Apr 14, 2026 at 09:43:32AM +0000, Elgin Perumbilly wrote:          
> >> > > > 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 <elgin.perumbilly@siliconsignals.io> 
> >> > > > > Reviewed-by: Tarang Raval <tarang.raval@siliconsignals.io>           
> >> > > > > ---                                                                  
> >> > > > >  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().                                                      
> >>                                                                              
> >> Are you suggesting that we should drop the array below?                      
> >                                                                               
> > Correct.                                                                       
> >                                                                               
> >> static const struct os02g10_mode supported_modes[] = {                       
> >>     {                                                                        
> >>         .width = 1920,                                                       
> >>         .height = 1080,                                                      
> >>         .vts_def = 1246,                                                     
> >>         .hts_def = 1082,                                                     
> >>         .exp_def = 1100,                                                     
> >>         .x_start = 2,                                                        
> >>         .y_start = 6,                                                        
> >>     },                                                                       
> >> };                                                                           
> >>                                                                              
> >> If we remove this, how would we provide mode-specific parameters such as VTS?
> >                                                                               
> > Those should be computed by the driver based on the format and crop            
> > rectangle configured by userspace.                                             
>                                                                                 
> Could you please take a look at the latest v3 patch?   

I'm short on time at the moment, but v3 is still in my inbox, I haven't
dropped it.

-- 
Regards,

Laurent Pinchart

  reply	other threads:[~2026-05-05 20:24 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-14  8:49 [PATCH v2 0/2] media: i2c: Add os02g10 camera sensor driver Elgin Perumbilly
2026-04-14  8:49 ` [PATCH v2 1/2] dt-bindings: media: i2c: Add os02g10 sensor Elgin Perumbilly
2026-04-15  7:54   ` Krzysztof Kozlowski
2026-04-15  8:57     ` Elgin Perumbilly
2026-04-15  9:03   ` Krzysztof Kozlowski
2026-04-15  9:49     ` Sakari Ailus
2026-04-14  8:49 ` [PATCH v2 2/2] media: i2c: add os02g10 image sensor driver Elgin Perumbilly
2026-04-14  9:27   ` Laurent Pinchart
2026-04-14  9:43     ` Elgin Perumbilly
2026-04-14  9:57       ` Laurent Pinchart
2026-04-14 10:06         ` sakari.ailus
2026-04-14 10:12           ` Laurent Pinchart
2026-04-14 10:19         ` Tarang Raval
2026-04-14 10:33           ` Laurent Pinchart
2026-05-05 14:42             ` Elgin Perumbilly
2026-05-05 20:24               ` Laurent Pinchart [this message]
2026-05-06  4:43                 ` Elgin Perumbilly
2026-04-14  9:57   ` Sakari Ailus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260505202431.GA1598374@killaraus.ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=benjamin.mugnier@foss.st.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=elgin.perumbilly@siliconsignals.io \
    --cc=hardevsinh.palaniya@siliconsignals.io \
    --cc=hverkuil+cisco@kernel.org \
    --cc=johannes.goede@oss.qualcomm.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=mehdi.djait@linux.intel.com \
    --cc=robh@kernel.org \
    --cc=sakari.ailus@linux.intel.com \
    --cc=sylvain.petinot@foss.st.com \
    --cc=tarang.raval@siliconsignals.io \
    --cc=vladimir.zapolskiy@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox