From: Dave Stevenson <dave.stevenson@raspberrypi.com>
To: Sakari Ailus <sakari.ailus@linux.intel.com>,
Jai Luthra <jai.luthra@ideasonboard.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Alexander Shiyan <eagle.alexander923@gmail.com>,
linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
Dave Stevenson <dave.stevenson@raspberrypi.com>
Subject: [PATCH RFC 0/4] Update imx678 to act as a common Sony Starvis 2 driver.
Date: Wed, 05 Aug 2026 17:09:15 +0100 [thread overview]
Message-ID: <20260805-media-starvis2-v1-0-91e8e4eae44f@raspberrypi.com> (raw)
The IMX678 (8MPix) driver has been accepted.
Whilst preparing a patchset for IMX662 (1080p), I observed such
commonality between the two that it seemed sensible to attempt
a common driver rather than submitting a separate IMX662 series
again.
On checking my box of sensors, I found I had an IMX675 (5MPix) as
well, so that has been incorporated.
This set proposes a common driver that is working with all 3 of
those sensors.
It's sent as an RFC to gather confirmation that the resulting driver
structure is acceptable as implied by [1].
If it is viewed as acceptable then there is still a modest amount
of tidying up required:
- DT binding updates for the extra compatibles.
- Rename the common functions so that the model references are
only on the model specific parts.
- Add the Sony init sequence for IMX662.
- Check the init sequence for IMX675 (I'm waiting on a datasheet).
- Update the 2 lane mode handling of HMAX. IMX662 can achieve the
same maximum framerate in 2 lane mode with a link freq of 594MHz
or greater, and I suspect others can do so too.
- Hopefully add IMX585 (8MPix) to the supported list, and Jai has
mentioned IMX676 (12MPix) as well.
I wanted to confirm that there aren't any major objections before
doing those cleanups though.
For anyone testing on a Pi, I've thrown a branch at [2] which includes
overlays for each. I've tested with modules from Soho Enterprises,
but there seem to be a few different vendors around.
[1] https://lore.kernel.org/linux-media/20260312150437.1091195-1-eagle.alexander923@gmail.com/T/#md6a186b4abd05fb035d020ce0bc562455ef5bed1
[2] https://github.com/6by9/linux/tree/rpi-7.2.y-starvis
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
---
Dave Stevenson (4):
media: i2c: imx678: Always program the sensor in window mode
media: i2c: imx678: Parameterise the configuration to allow for other models
media: i2c: imx678: Add imx662 support to the driver
media: i2c: imx678: Add imx675 support to the driver
drivers/media/i2c/imx678.c | 451 +++++++++++++++++++++++++++++++++++++++------
1 file changed, 393 insertions(+), 58 deletions(-)
---
base-commit: 31152f5b0f8719f92063b8c6196cd5e34106c73d
change-id: 20260804-media-starvis2-65a5bc405b74
Best regards,
--
Dave Stevenson <dave.stevenson@raspberrypi.com>
next reply other threads:[~2026-08-05 16:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-05 16:09 Dave Stevenson [this message]
2026-08-05 16:09 ` [PATCH RFC 1/4] media: i2c: imx678: Always program the sensor in window mode Dave Stevenson
2026-08-05 16:09 ` [PATCH RFC 2/4] media: i2c: imx678: Parameterise the configuration to allow for other models Dave Stevenson
2026-08-05 16:09 ` [PATCH RFC 3/4] media: i2c: imx678: Add imx662 support to the driver Dave Stevenson
2026-08-05 16:09 ` [PATCH RFC 4/4] media: i2c: imx678: Add imx675 " 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=20260805-media-starvis2-v1-0-91e8e4eae44f@raspberrypi.com \
--to=dave.stevenson@raspberrypi.com \
--cc=eagle.alexander923@gmail.com \
--cc=jai.luthra@ideasonboard.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@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