Skip to content

media: i2c: ov5675: actual PLL settings and 24MHz input

Heiko Stuebner linux-media 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5media: i2c: ov5675: Fix type of xvclk_ratedrivers/media/i2c/ov5675.c+2 -21 reply
2/5media: i2c: ov5675: Move camera init out of the link_freq sequencedrivers/media/i2c/ov5675.c+24 -21 reply
3/5media: i2c: ov5675: Make room for checking for multiple input frequenciesdrivers/media/i2c/ov5675.c+21 -51 reply
4/5media: i2c: ov5675: Handle PLLs using actual register descriptionsdrivers/media/i2c/ov5675.c+271 -161 reply
5/5media: i2c: ov5675: Add PLL settings for a 24MHz input clockdrivers/media/i2c/ov5675.c+25 -01 reply

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchQuentin Schulz
1/5R-b
2/5R-b
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] media: i2c: ov5675: actual PLL settings and 24MHz input

Some of our boards cannot supply the correct 19.2MHz currently expected by the driver, just 19.1xxMHz and we carried a hack in our downstream tree seemingly forever.

After finding a datasheet for the camera that includes the clock description and the actual expected values for a 24MHz input clock, this can be finally fixed.

After testing the values and receiving correct images both with our previous clock-rate hack and the 24MHz input, I choose not to make it worse by adding another hard-coded init sequence but instead describing the PLL settings similar to how the ov8865 driver does it.

Heiko Stuebner (5):
media: i2c: ov5675: Fix type of xvclk_rate
media: i2c: ov5675: Move camera init out of the link_freq sequence
media: i2c: ov5675: Make room for checking for multiple input
frequencies
media: i2c: ov5675: Handle PLLs using actual register descriptions
media: i2c: ov5675: Add PLL settings for a 24MHz input clock

 drivers/media/i2c/ov5675.c | 364 ++++++++++++++++++++++++++++++++++---
 1 file changed, 341 insertions(+), 23 deletions(-)
Signature · 1 line
2.47.3