Skip to content

Commit cafa313

Browse files
committed
media: i2c: imx283: Provide a full active pixels mode
Add a mode to support output of the full illuminated area of the pixel array. When not flipped this mode includes a top black line which is added by the sensor to prevent bayer reording when flipping. Signed-off-by: Kieran Bingham <[email protected]>
1 parent 396edcf commit cafa313

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

516516
.crop = imx283_native_area,
517517
},
518+
{
519+
/* All illuminated pixels : 5496x3694 */
520+
.scan = &imx283_scan_modes[IMX283_MODE_0],
521+
522+
.width = 5496,
523+
.height = 3694,
524+
.min_hmax = 5914, /* 887 @ 480MHz/72MHz */
525+
.min_vmax = 3793, /* Lines */
526+
527+
.hbin_ratio = 1,
528+
.vbin_ratio = 1,
529+
530+
/* 20.00 FPS */
531+
.default_hmax = 6000, /* 900 @ 480MHz/72MHz */
532+
.default_vmax = 4000,
533+
534+
.min_shr = 11,
535+
536+
.crop = imx283_active_area,
537+
},
518538
{
519539
/* 20MPix 21.40 fps readout mode 0 */
520540
.scan = &imx283_scan_modes[IMX283_MODE_0],

0 commit comments

Comments
 (0)