linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] media: ov5640: adjust xclk_max
@ 2018-06-06  9:11 Philipp Puschmann
  2018-06-06 13:26 ` Fabio Estevam
  0 siblings, 1 reply; 2+ messages in thread
From: Philipp Puschmann @ 2018-06-06  9:11 UTC (permalink / raw)
  To: slongerbeam; +Cc: mchehab, linux-media, pp, linux-kernel

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>
---
 drivers/media/i2c/ov5640.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/i2c/ov5640.c b/drivers/media/i2c/ov5640.c
index 852026baa2e7..a713cf1909ed 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
 
-- 
2.17.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] media: ov5640: adjust xclk_max
  2018-06-06  9:11 [PATCH] media: ov5640: adjust xclk_max Philipp Puschmann
@ 2018-06-06 13:26 ` Fabio Estevam
  0 siblings, 0 replies; 2+ messages in thread
From: Fabio Estevam @ 2018-06-06 13:26 UTC (permalink / raw)
  To: Philipp Puschmann
  Cc: Steve Longerbeam, Mauro Carvalho Chehab, linux-media, linux-kernel

On Wed, Jun 6, 2018 at 6:11 AM, Philipp Puschmann <pp@emlix.com> wrote:
> 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>

Yes, this matches the OV5640 datasheet:

Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-06 13:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-06  9:11 [PATCH] media: ov5640: adjust xclk_max Philipp Puschmann
2018-06-06 13:26 ` Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).