mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
media: ti: j721e-csi2rx: add GREY format
Add Grey format to properly select RAW8 data type. Tested with a ST VG5661 sensor. Signed-off-by: Julien Massot <julien.massot@collabora.com> Acked-by: Jai Luthra <j-luthra@ti.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
parent
5b2a3687e4
commit
24a4e4025d
1 changed files with 6 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue