From: Jai Luthra <jai.luthra@ideasonboard.com>
To: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Dave Stevenson <dave.stevenson@raspberrypi.com>,
Naushir Patuck <naush@raspberrypi.com>,
David Plowman <david.plowman@raspberrypi.com>,
Kieran Bingham <kieran.bingham@ideasonboard.com>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
linux-media@vger.kernel.org, devicetree@vger.kernel.org,
Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>,
Nick Hollinghurst <nick.hollinghurst@raspberrypi.com>
Subject: Re: [PATCH 2/2] media: i2c: Add a driver for Sony IMX708
Date: Tue, 21 Jul 2026 11:45:48 +0530 [thread overview]
Message-ID: <178461454891.1426769.359380342802390638@freya> (raw)
In-Reply-To: <al4JOfnFAi9SdG5j@kekkonen.localdomain>
Hi Sakari,
Quoting Sakari Ailus (2026-07-20 17:10:41)
> Hi Jai,
>
> Thanks for the set.
>
> On Wed, Jul 15, 2026 at 11:01:29PM +0530, Jai Luthra wrote:
> > Sony IMX708 is an 11.9 Megapixel CMOS sensor with a 16:9 aspect ratio.
> > It is a quad-bayer sensor with support for remosaicing the output to
> > a normal 2x2 bayer pattern.
> >
> > This basic driver adds supports for capturing the full active-area of
> > 4608x2592, up to 14.35fps. The following features are supported by the
> > driver:
> > - MIPI RAW10 output
> > - Fixed quad-bayer correction
> > - Multiple link frequencies (different IOP_PLL_MPY)
> > - VBLANK control for flexible frame-rate
> > - Analogue gain and exposure control
> > - Extremely long exposure time with LONG_EXP_SHIFT
> > - Test pattern support
>
> How close is this sensor actually to CCS? A lot of the registers look like
> they're CCS registers while there are some MSRs set programmatically by the
> driver, too.
>
My bad, I completely missed to check CCS. I don't think this sensor is
advertised as CCS-compatible, but the register scheme is quite consistent.
The big feature differences I could find are:
1. Long exposure shift means we can't write to FRAME_LENGTH_LINES without
handling the shift.
2. Quad-bayer remosaic and correction
3. PDAF gain programming
4. Non-continuous clock
5. Using V4L2_CID_NOTIFY_GAINS for blue/red balance
6. 4 regulators with different names from the 3 regulators in CCS
7. Datasheet mandates only a handful of LINE_LENGTH values instead of
free-configuration
Some of these are purely MSRs, but others seem to be incompatible with the
base CCS model, so I don't immediately see a clean way to handle it through
the CCS driver, especially the frame timing registers.
I don't have the full documentation for this sensor so I'll try to query
the read-only CCS identity and limit registers and dump their output.
I'll also try to use the existing CCS helpers for PLL programing, input
clock rate, and other trivial features before posting a v2. I think a
library of CCS helpers would in general be much more versatile than trying
to hammer everything into a single driver, but I don't know enough yet to
be sure.
Any pointers are much appreciated :-)
> --
> Kind regards,
>
> Sakari Ailus
Thanks,
Jai
prev parent reply other threads:[~2026-07-21 6:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-15 17:31 [PATCH 0/2] media: Add bindings and driver for Sony IMX708 Jai Luthra
2026-07-15 17:31 ` [PATCH 1/2] dt-bindings: media: i2c: Add imx708 image sensor Jai Luthra
2026-07-15 18:00 ` Jai Luthra
2026-07-28 17:02 ` Dave Stevenson
2026-07-16 8:19 ` Krzysztof Kozlowski
2026-07-15 17:31 ` [PATCH 2/2] media: i2c: Add a driver for Sony IMX708 Jai Luthra
2026-07-20 11:40 ` Sakari Ailus
2026-07-21 6:15 ` Jai Luthra [this message]
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=178461454891.1426769.359380342802390638@freya \
--to=jai.luthra@ideasonboard.com \
--cc=conor+dt@kernel.org \
--cc=dave.stevenson@raspberrypi.com \
--cc=david.plowman@raspberrypi.com \
--cc=devicetree@vger.kernel.org \
--cc=kernel-list@raspberrypi.com \
--cc=kieran.bingham@ideasonboard.com \
--cc=krzk+dt@kernel.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=naush@raspberrypi.com \
--cc=nick.hollinghurst@raspberrypi.com \
--cc=robh@kernel.org \
--cc=sakari.ailus@linux.intel.com \
/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