mbox series

[v3,0/5] media: imx335: Support additional link-freq and TPG

Message ID 20240220092821.1993-1-umang.jain@ideasonboard.com (mailing list archive)
Headers show
Series media: imx335: Support additional link-freq and TPG | expand

Message

Umang Jain Feb. 20, 2024, 9:28 a.m. UTC
This series adds support for additional link frequency and
test pattern generator on IMX335.

Patch 1/5 is a drive-by patch which sets default value to one
of the reserved register. The non-default value of 0x01 has been
found responsible to break CSI-2 configuration on one of the i.MX8MP
based platform. Setting to default value seem to fix it and has been
tested on RPi5 (downstream BSP) in additional to i.MX8MP platform
running mainline.

Patch 2/5 adds usage of v4l2_link_freq_to_bitmap V4L2 helper.

Patch 3/5 supports for additional link-frequency supported by IMX335

Patch 4/5 is also a prep-up patch for TPG introduction(in 5/5), as the test
pattern needs sensor to be powered up to apply the test pattern.

Patch 5/5 adds the TPG.

changes in v3:
- Update the patch 1/5 to set the reserved register value
  to it's default value (instead of dropping it).
- Drop "i2c: " from commit message in 3/5

Changes in v2:
- add new patch 2/5 to use v4l2_link_freq_to_bitmap
- fixup a return; in 4/5

Matthias Fend (1):
  media: imx335: Add support for test pattern generator

Umang Jain (4):
  media: imx335: Set reserved register to default value
  media: imx335: Use v4l2_link_freq_to_bitmap helper
  media: imx335: Support multiple link frequency
  media: imx335: Refactor power sequence to set controls

 drivers/media/i2c/imx335.c | 251 ++++++++++++++++++++++++++++++-------
 1 file changed, 206 insertions(+), 45 deletions(-)