Re: [PATCH v2 19/25] media: i2c: imx283: Provide Native pixel array capture mode

From: Jai Luthra

Date: Mon Feb 16 2026 - 10:14:44 EST


Quoting Kieran Bingham (2026-02-13 19:31:58)
> Provide a mode that outputs all pixels from the full native array.
>
> Signed-off-by: Kieran Bingham <kieran.bingham@xxxxxxxxxxxxxxxx>

Reviewed-by: Jai Luthra <jai.luthra@xxxxxxxxxxxxxxxx>

> ---
> drivers/media/i2c/imx283.c | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
> diff --git a/drivers/media/i2c/imx283.c b/drivers/media/i2c/imx283.c
> index df48793835fd..4976c08c6832 100644
> --- a/drivers/media/i2c/imx283.c
> +++ b/drivers/media/i2c/imx283.c
> @@ -508,6 +508,21 @@ static const struct imx283_reg_list link_freq_reglist[] = {
>
> /* Mode configs */
> static const struct imx283_mode supported_modes_12bit[] = {
> + {
> + /* Full Native pixel array, including HOB/VOB. 5592x3710 */
> + .scan = &imx283_scan_modes[IMX283_MODE_0],
> +
> + .width = 5592,
> + .height = 3710, /* 3694 + 16 additional lines for VOB */
> + .min_hmax = 5914, /* 887 @ 480MHz/72MHz */
> + .min_vmax = 3793, /* Lines */
> +
> + /* 20.00 FPS */
> + .default_hmax = 6000, /* 900 @ 480MHz/72MHz */
> + .default_vmax = 4000,
> +
> + .crop = imx283_native_area,
> + },
> {
> /* 20MPix 21.40 fps readout mode 0 */
> .scan = &imx283_scan_modes[IMX283_MODE_0],
>
> --
> 2.52.0
>