Skip to content

Commit 4b60b95

Browse files
Lee Jacksonpopcornmix
authored andcommitted
media: i2c: Modify the datatype of PDAF data in the arducam_64mp driver
Modify the PDAF Datatype of the Arducam 64MP camera from 0x30 to 0x12 so that the Raspberry Pi 5 cfe driver can receive PDAF data. Signed-off-by: Lee Jackson <[email protected]>
1 parent 3a3f715 commit 4b60b95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/media/i2c/arducam_64mp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
#define ARDUCAM_64MP_TEST_PATTERN_GB_DEFAULT 0
9696

9797
/* Embedded metadata stream structure */
98-
#define ARDUCAM_64MP_EMBEDDED_LINE_WIDTH (11560 * 3)
98+
#define ARDUCAM_64MP_EMBEDDED_LINE_WIDTH (((11560 * 3) + 15) & ~15)
9999
#define ARDUCAM_64MP_NUM_EMBEDDED_LINES 1
100100

101101
enum pad_types {
@@ -155,7 +155,7 @@ static const struct arducam_64mp_reg mode_common_regs[] = {
155155
{0x33F1, 0x03},
156156
{0x0111, 0x02},
157157
{0x3062, 0x00},
158-
{0x3063, 0x30},
158+
{0x3063, 0x12},
159159
{0x3076, 0x00},
160160
{0x3077, 0x30},
161161
{0x1f06, 0x06},

0 commit comments

Comments
 (0)