Skip to content

Commit 396edcf

Browse files
committed
media: i2c: imx283: Provide Native pixel array capture mode
Provide a mode that outputs all pixels from the full native array. Signed-off-by: Kieran Bingham <[email protected]>
1 parent 0da5539 commit 396edcf

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

drivers/media/i2c/imx283.c

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,26 @@ static const struct imx283_reg_list link_freq_reglist[] = {
495495

496496
/* Mode configs */
497497
static const struct imx283_mode supported_modes_12bit[] = {
498+
{
499+
/* Full Native pixel array, including HOB/VOB. 5592x3710 */
500+
.scan = &imx283_scan_modes[IMX283_MODE_0],
501+
502+
.width = 5592,
503+
.height = 3710, /* 3694 + 16 additional lines for VOB */
504+
.min_hmax = 5914, /* 887 @ 480MHz/72MHz */
505+
.min_vmax = 3793, /* Lines */
506+
507+
.hbin_ratio = 1,
508+
.vbin_ratio = 1,
509+
510+
/* 20.00 FPS */
511+
.default_hmax = 6000, /* 900 @ 480MHz/72MHz */
512+
.default_vmax = 4000,
513+
514+
.min_shr = 11,
515+
516+
.crop = imx283_native_area,
517+
},
498518
{
499519
/* 20MPix 21.40 fps readout mode 0 */
500520
.scan = &imx283_scan_modes[IMX283_MODE_0],

0 commit comments

Comments
 (0)