Re: [PATCH 3/3] media: ti: j721e-csi2rx: add GREY format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Dec 08, 2023 at 16:22:55 +0100, Julien Massot wrote:
> Add Grey format to properly select RAW8 data type.
> 
> Tested with a ST VG5661 sensor.
> 
> Signed-off-by: Julien Massot <julien.massot@xxxxxxxxxxxxx>
> ---
>  drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c b/drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c
> index ada61391c8d2..46d37401512b 100644
> --- a/drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c
> +++ b/drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c
> @@ -158,6 +158,12 @@ static const struct ti_csi2rx_fmt ti_csi2rx_formats[] = {
>  		.csi_dt			= MIPI_CSI2_DT_RAW8,
>  		.bpp			= 8,
>  		.size			= SHIM_DMACNTX_SIZE_8,
> +	}, {
> +		.fourcc			= V4L2_PIX_FMT_GREY,
> +		.code			= MEDIA_BUS_FMT_Y8_1X8,
> +		.csi_dt			= MIPI_CSI2_DT_RAW8,
> +		.bpp			= 8,
> +		.size			= SHIM_DMACNTX_SIZE_8,
>  	}, {
>  		.fourcc			= V4L2_PIX_FMT_SBGGR10,
>  		.code			= MEDIA_BUS_FMT_SBGGR10_1X10,
> -- 
> 2.43.0
> 

Acked-by: Jai Luthra <j-luthra@xxxxxx>

-- 
Thanks,
Jai

GPG Fingerprint: 4DE0 D818 E5D5 75E8 D45A AFC5 43DE 91F9 249A 7145

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux