mbox series

[0/3] media: imx415: Add more modes

Message ID 20231205090557.298680-1-alexander.stein@ew.tq-group.com
Headers show
Series media: imx415: Add more modes | expand

Message

Alexander Stein Dec. 5, 2023, 9:05 a.m. UTC
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(-)