Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: ov5640: adjust xclk_max

According to ov5640 datasheet xvclk is allowed to be between 6 and 54 MHz.
I run a successful test with 27 MHz.

Signed-off-by: Philipp Puschmann <pp@emlix.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>

authored by

Philipp Puschmann and committed by
Mauro Carvalho Chehab
41cb1c73 22216ec4

+1 -1
+1 -1
drivers/media/i2c/ov5640.c
··· 30 30 31 31 /* min/typical/max system clock (xclk) frequencies */ 32 32 #define OV5640_XCLK_MIN 6000000 33 - #define OV5640_XCLK_MAX 24000000 33 + #define OV5640_XCLK_MAX 54000000 34 34 35 35 #define OV5640_DEFAULT_SLAVE_ID 0x3c 36 36