media: ov5640: adjust xclk_max
PATCH 1/1 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 <[email protected]>
--- drivers/media/i2c/ov5640.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/i2c/ov5640.c +1 -1
@@ -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
Signature · 1 line
2.17.0
Quoted 4 lines · Philipp Puschmann
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 <[email protected]>
Yes, this matches the OV5640 datasheet:
Reviewed-by Fabio Estevam <[email protected]>