diff options
author | Daniel Scally <[email protected]> | 2022-05-06 01:03:49 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2022-05-17 09:38:32 +0200 |
commit | ffec200e6423c6d1dd2d363da182916a7dfcae5e (patch) | |
tree | abe9f3b4558d26b319e4b5c4514eb6a08cd4bc5d | |
parent | b87f5e25b2f9deb503a61c6957c7b1680d91cfea (diff) |
media: ipu3-cio2: Add support for V4L2_PIX_FMT_IPU3_Y10
We have platforms where a camera sensor transmits Y10 data to
the CIO2 device - add support for that (packed) format to the
ipu3-cio2 driver.
Signed-off-by: Daniel Scally <[email protected]>
Acked-by: Andy Shevchenko <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
-rw-r--r-- | drivers/media/pci/intel/ipu3/ipu3-cio2-main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/pci/intel/ipu3/ipu3-cio2-main.c b/drivers/media/pci/intel/ipu3/ipu3-cio2-main.c index 0975a069bd38..dbdbdb648a0d 100644 --- a/drivers/media/pci/intel/ipu3/ipu3-cio2-main.c +++ b/drivers/media/pci/intel/ipu3/ipu3-cio2-main.c @@ -65,6 +65,11 @@ static const struct ipu3_cio2_fmt formats[] = { .fourcc = V4L2_PIX_FMT_IPU3_SRGGB10, .mipicode = 0x2b, .bpp = 10, + }, { + .mbus_code = MEDIA_BUS_FMT_Y10_1X10, + .fourcc = V4L2_PIX_FMT_IPU3_Y10, + .mipicode = 0x2b, + .bpp = 10, }, }; |