Skip to content

Commit acb4a62

Browse files
committed
media: i2c: imx283: Provide an effective pixel array mode
Provide a mode that includes all effective pixels which includes a 12 pixel margin for colour processing on all edges. Signed-off-by: Kieran Bingham <[email protected]>
1 parent cafa313 commit acb4a62

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
@@ -535,6 +535,26 @@ static const struct imx283_mode supported_modes_12bit[] = {
535535

536536
.crop = imx283_active_area,
537537
},
538+
{
539+
/* Effective Pixel Mode : 5496x3672 */
540+
.scan = &imx283_scan_modes[IMX283_MODE_0],
541+
542+
.width = 5496,
543+
.height = 3672,
544+
.min_hmax = 5914, /* 887 @ 480MHz/72MHz */
545+
.min_vmax = 3793, /* Lines */
546+
547+
.hbin_ratio = 1,
548+
.vbin_ratio = 1,
549+
550+
/* 20.00 FPS */
551+
.default_hmax = 6000, /* 900 @ 480MHz/72MHz */
552+
.default_vmax = 4000,
553+
554+
.min_shr = 11,
555+
556+
.crop = imx283_effective_area,
557+
},
538558
{
539559
/* 20MPix 21.40 fps readout mode 0 */
540560
.scan = &imx283_scan_modes[IMX283_MODE_0],

0 commit comments

Comments
 (0)