Skip to content

media: i2c: imx471: Add line length PCK setting and calculate pixel rate based on external clock rate

Kate Hsuan linux-media lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesIn review
  2. v11 patch 6 repliesSuperseded

Changes in v2 from the cover letter

The patchset contains three patches:
1. Add line length PCK setting
2. Name the PLL registers in the OP domain
3. Calculate pixel rate based on the external clock rate and the PLL configurations in the OP domain.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3media: i2c: imx471: Add line length PCK settingdrivers/media/i2c/imx471.c+2 -03 replies
2/3media: i2c: imx471: Name the PLL registers in the OP domaindrivers/media/i2c/imx471.c+16 -80 replies
3/3media: i2c: imx471: Calculate pixel rate based on external clock ratedrivers/media/i2c/imx471.c+11 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] media: i2c: imx471: Add line length PCK setting and calculate pixel rate based on external clock rate

This patchset adds the line length PCK setting and calculates the pixel rate based on the external clock rate.

Changes in v2:
The patchset contains three patches:
1. Add line length PCK setting
2. Name the PLL registers in the OP domain
3. Calculate pixel rate based on the external clock rate and the PLL configurations in the OP domain.

The line length PCK setting is added to the sensor driver to ensure the pixel rate is correct. The pixel rate is calculated based on the external clock rate. Moreover, since the sensor runs in the PLL DUAL mode, the configurations of the OP domain are considered.

Tested with libcamera 0.7.2 and the patchset mitigated the horizontal line noise.

Changes in v1:
1. Add line length PCK setting

Kate Hsuan (3):
media: i2c: imx471: Add line length PCK setting
media: i2c: imx471: Name the PLL registers in the OP domain
media: i2c: imx471: Calculate pixel rate based on external clock rate

 drivers/media/i2c/imx471.c | 39 ++++++++++++++++++++++++++++----------
 1 file changed, 29 insertions(+), 10 deletions(-)
Signature · 1 line
2.55.0