public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] media: imx415: Add more modes
@ 2023-12-05  9:05 Alexander Stein
  2023-12-05  9:05 ` [PATCH 1/3] media: i2c: imx415: Convert to new CCI register access helpers Alexander Stein
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Alexander Stein @ 2023-12-05  9:05 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Michael Riesch, Sakari Ailus,
	Laurent Pinchart, Gerald Loacker
  Cc: Alexander Stein, linux-media

Hi,

this small series converts the driver to using CCI helpers.
On top of that more clock setups and modes are added to the driver.
These are all taken from the datasheet. I suspect they all can be calculated
dynamically later on.
Tested on TQMa8MPxL + MBa8MPxL + ISP + Vision Components IMX415 camera.

While working on the driver I notived that imx415 sets mbus code to
MEDIA_BUS_FMT_SGBRG10_1X10, while imx290 uses MEDIA_BUS_FMT_SRGGB10_1X10.
But the datasheets show the same color coding pattern. But both settings seem
to be correct, e.g. the resulting image has correct colors.

I had to remove the identity check locally. I suspect that Vision Components
interjects reading some registers.

Best regards,
Alexander

Alexander Stein (3):
  media: i2c: imx415: Convert to new CCI register access helpers
  media: i2c: imx415: Add more clock configurations
  media: i2c: imx415: Add more supported modes

 drivers/media/i2c/Kconfig  |    2 +
 drivers/media/i2c/imx415.c | 1013 +++++++++++++++++++++++++++---------
 2 files changed, 779 insertions(+), 236 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2023-12-12 12:46 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-05  9:05 [PATCH 0/3] media: imx415: Add more modes Alexander Stein
2023-12-05  9:05 ` [PATCH 1/3] media: i2c: imx415: Convert to new CCI register access helpers Alexander Stein
2023-12-05 19:24   ` kernel test robot
2023-12-07 19:30   ` kernel test robot
2023-12-07 21:02   ` Sakari Ailus
2023-12-05  9:05 ` [PATCH 2/3] media: i2c: imx415: Add more clock configurations Alexander Stein
2023-12-12 11:37   ` Sakari Ailus
2023-12-12 12:18     ` Alexander Stein
2023-12-12 12:45       ` Sakari Ailus
2023-12-05  9:05 ` [PATCH 3/3] media: i2c: imx415: Add more supported modes Alexander Stein
2023-12-05 10:45   ` Laurent Pinchart
2023-12-05 11:12     ` Alexander Stein
2023-12-05 14:47       ` Gerald Loacker
2023-12-05 14:54         ` Laurent Pinchart
2023-12-06  7:38           ` Alexander Stein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox