summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Puschmann <pp@emlix.com>2018-06-06 11:11:38 +0200
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-06-28 15:23:23 +0200
commit41cb1c739dcddf9905a5a3e3da9429b89cd5c616 (patch)
tree26c93f5c9f194013948f19af13f9b709c22474f0
parentmedia: soc_camera: ov772x: correct setting of banding filter (diff)
downloadlinux-41cb1c739dcddf9905a5a3e3da9429b89cd5c616.tar.xz
linux-41cb1c739dcddf9905a5a3e3da9429b89cd5c616.zip
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>
-rw-r--r--drivers/media/i2c/ov5640.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/ov5640.c b/drivers/media/i2c/ov5640.c
index 9e1078632375..e0a6264a6a12 100644
--- a/drivers/media/i2c/ov5640.c
+++ b/drivers/media/i2c/ov5640.c
@@ -30,7 +30,7 @@
/* min/typical/max system clock (xclk) frequencies */
#define OV5640_XCLK_MIN 6000000
-#define OV5640_XCLK_MAX 24000000
+#define OV5640_XCLK_MAX 54000000
#define OV5640_DEFAULT_SLAVE_ID 0x3c