1 From 9c5a7f04cab6b020389d7c5af155b1ee7f46537d Mon Sep 17 00:00:00 2001
2 From: Lee Jackson <lee.jackson@arducam.com>
3 Date: Thu, 4 May 2023 11:14:04 +0800
4 Subject: [PATCH] media: i2c: arducam_64mp: Modify the line length of 1280x720
7 Arducam 64MP has specific requirements for the line length, and if these
8 conditions are not met, the camera will not function properly. Under the
9 previous configuration, once a stream off operation is performed, the
10 camera will not output any data, even if a stream on operation is
11 performed. This prevents us from switching from 1280x720 to another
14 Signed-off-by: Lee Jackson <lee.jackson@arducam.com>
16 drivers/media/i2c/arducam_64mp.c | 10 +++++-----
17 1 file changed, 5 insertions(+), 5 deletions(-)
19 --- a/drivers/media/i2c/arducam_64mp.c
20 +++ b/drivers/media/i2c/arducam_64mp.c
21 @@ -1063,10 +1063,10 @@ static const struct arducam_64mp_reg mod
23 /* 720p 120fps mode */
24 static const struct arducam_64mp_reg mode_1280x720_regs[] = {
36 @@ -1209,7 +1209,7 @@ static const struct arducam_64mp_mode su
40 - .line_length_pix = 0x1dc4,
41 + .line_length_pix = 0x1b08,
43 .left = ARDUCAM_64MP_PIXEL_ARRAY_LEFT + 2064,
44 .top = ARDUCAM_64MP_PIXEL_ARRAY_TOP + 2032,