summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Puschmann <pp@emlix.com>2018-06-06 12:11:38 +0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-06-28 16:23:23 +0300
commit41cb1c739dcddf9905a5a3e3da9429b89cd5c616 (patch)
tree26c93f5c9f194013948f19af13f9b709c22474f0
parent22216ec41e919682c15345e95928f266e8ba6f9e (diff)
downloadlinux-41cb1c739dcddf9905a5a3e3da9429b89cd5c616.tar.xz
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