mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sakari Ailus <sakari.ailus@linux.intel.com>
To: Dave Stevenson <dave.stevenson@raspberrypi.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Lachlan Michael <lachlan.michael@sony.com>,
	mchehab@kernel.org, hverkuil+cisco@kernel.org,
	linux-media@vger.kernel.org, devicetree@vger.kernel.org,
	robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
	kieran.bingham@ideasonboard.com, jai.luthra@ideasonboard.com,
	Ryuichi.Tadano@sony.com, Kengo.Hayasaka@sony.com,
	Tim.Bird2@sony.com, Kazumi.A.Sato@sony.com,
	Yuji.John.Takahashi@sony.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v5 2/2] media: i2c: Add Sony IMX908 image sensor driver
Date: Wed, 21 Oct 2026 14:56:50 +0300	[thread overview]
Message-ID: <atiogo14sCFw4xlT@kekkonen.localdomain> (raw)
In-Reply-To: <CAPY8ntBUncMWB2DqFG+iS9gFgW2aaeyMrD6x-c_4Da7rJDv6Mg@mail.gmail.com>

Hi Dave, Laurent,

On Tue, Oct 20, 2026 at 03:50:09PM +0100, Dave Stevenson wrote:
> Hi Sakari and Laurent
> 
> On Tue, 20 Oct 2026 at 13:56, Laurent Pinchart
> <laurent.pinchart@ideasonboard.com> wrote:
> >
> > Hello Sakari,
> >
> > On Tue, Oct 20, 2026 at 01:47:11PM +0300, Sakari Ailus wrote:
> > > On Mon, Oct 19, 2026 at 10:47:20AM +0900, Lachlan Michael wrote:
> > > > The IMX908 is an 8.39 MP (3856x2176) CMOS image sensor with a MIPI CSI-2
> > > > output interface. The driver supports RAW10 and RAW12 output formats,
> > > > exposure and analogue gain controls, image flipping, blanking controls
> > > > and test pattern generation.
> > >
> > > The imx908 appears to be a Starvis 3 sensor. How close is it to the Starvis
> > > 2, for which Dave (Cc'd) is working on a driver (see
> > > <URL:https://lore.kernel.org/linux-media/atdAsDGw_jvhaydM@kekkonen.localdomain/T/#m0c50ea017ef9ae0d3d76a36b840db9b6f7ac296c>)?
> > > The register defines in the two drivers appear to be quite well aligned.
> 
> Asked and answered at v1
> https://lore.kernel.org/linux-media/TY6PR01MB17839FF48671E744E7E23A93E92D42@TY6PR01MB17839.jpnprd01.prod.outlook.com/
> 
> > The current version of the driver implements very few features of the
> > IMX908 sensor, as crop support has been removed pending the raw camera
> > sensor model, and Clear HDR3 is being developed. I expect more
> > differences to appear when those features will be merged, so I believe
> > it makes sense to have a separate driver here.
> >
> > In the future, I expect the raw camera sensor model to open the door to
> > more code sharing and more drivers supporting a wider variety of
> > devices. We can decide then if the imx908 should stay a standalone
> > driver, support other sensors as well, possibly across the Starvis 2 and
> > 3 families. I'm willing to help with the refactoring at that point if
> > needed, the maintenance burden won't be on you (and I'm sure that
> > Lachlan and his team will of course maintain the code base).
> 
> Agreed.
> I have compared the datasheet for imx908 against the Starvis2 ones,
> and when we start looking at HDR modes they diverge a reasonable
> amount.
> 
> Even the later Starvis2 sensors (IMX585 and IMX676) have minor changes
> to the earlier ones, so adding Starvis3 would need some care.

There's quite a bit of this in the CCS driver, due to the variance it
allows for implementors. I don't see this being a problem as long as the
foundations are reasonably similar, albeit we can see whether this could be
further extended later on to other sensors.

I'm fine with having a separate imx908 driver for now. Dave's driver also
exposes the variant information through the media entity name so that
should be done by the imx908, too (at least if there can be multiple ones).

I'll review the driver properly soonish but I reckon it's in a pretty good
shape already.

-- 
Regards,

Sakari Ailus

  reply	other threads:[~2026-10-21 11:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-19  1:47 [PATCH v5 0/2] Add bindings and driver for Sony IMX908 Lachlan Michael
2026-10-19  1:47 ` [PATCH v5 1/2] media: dt-bindings: imx908: Add Sony IMX908 sensor Lachlan Michael
2026-10-19  1:47 ` [PATCH v5 2/2] media: i2c: Add Sony IMX908 image sensor driver Lachlan Michael
2026-10-20 10:47   ` Sakari Ailus
2026-10-20 12:56     ` Laurent Pinchart
2026-10-20 14:50       ` Dave Stevenson
2026-10-21 11:56         ` Sakari Ailus [this message]
2026-10-21 12:05           ` Laurent Pinchart
2026-10-21 12:28             ` Dave Stevenson

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=atiogo14sCFw4xlT@kekkonen.localdomain \
    --to=sakari.ailus@linux.intel.com \
    --cc=Kazumi.A.Sato@sony.com \
    --cc=Kengo.Hayasaka@sony.com \
    --cc=Ryuichi.Tadano@sony.com \
    --cc=Tim.Bird2@sony.com \
    --cc=Yuji.John.Takahashi@sony.com \
    --cc=conor+dt@kernel.org \
    --cc=dave.stevenson@raspberrypi.com \
    --cc=devicetree@vger.kernel.org \
    --cc=hverkuil+cisco@kernel.org \
    --cc=jai.luthra@ideasonboard.com \
    --cc=kieran.bingham@ideasonboard.com \
    --cc=krzk+dt@kernel.org \
    --cc=lachlan.michael@sony.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=robh@kernel.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

all inboxes | Powered by JetHome®