On Sun, 2018-04-15 at 18:39 -0700, Samuel Bobrowicz wrote: > Can anyone verify if the OV5640 driver works with input clocks other > than the typical 24MHz? The driver suggests anything from 6MHz-24MHz > is acceptable, but I am running into issues while bringing up a module > that uses a 12MHz oscillator. I'd expect that different xclk's would > necessitate different register settings for the various resolutions > (PLL settings, PCLK width, etc.), however the driver does not seem to > modify nearly enough based on the frequency of xclk. > > Sam > Have you seen Maxime's recent "media: ov5640: Misc cleanup and improvements" series, especially patch 08/12 ("media: ov5640: Adjust the clock based on the expected rate")? That seems to be something you'd need. regards Philipp