linux/drivers/media
Xavier Roumegue 1536fbdbcb media: ov5640: Complement yuv mbus formats with their 1X16 versions
According to media bus pixel codes definition, data formats on serial
busses should be described with one bus sample per pixel.

Documentation/userspace-api/media/v4l/subdev-formats.rst states:

"The media bus pixel codes document parallel formats. Should the pixel
data be transported over a serial bus, the media bus pixel code that
describes a parallel format that transfers a sample on a single clock
cycle is used. For instance, both MEDIA_BUS_FMT_BGR888_1X24 and
MEDIA_BUS_FMT_BGR888_3X8 are used on parallel busses for transferring an
8 bits per sample BGR data, whereas on serial busses the data in this
format is only referred to using MEDIA_BUS_FMT_BGR888_1X24. This is
because there is effectively only a single way to transport that
format on the serial busses."

Some MIPI CSI receivers strictly obey this definition and declare
support for only *1X_* formats.

Hence, complement the supported media bus formats with their 1X16 versions
(currently applicable to yuyv, uyvy) to enhance interoperability with CSI
receivers.

Signed-off-by: Xavier Roumegue <xavier.roumegue@oss.nxp.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-08-04 14:43:50 +02:00
..
cec media: platform: stm32: unprepare clocks at handling errors in probe 2021-07-22 14:01:55 +02:00
common Merge branch 'akpm' (patches from Andrew) 2021-06-29 17:29:11 -07:00
dvb-core media: dvb-core: frontend: make GET/SET safer 2021-06-17 09:29:11 +02:00
dvb-frontends media: dvb-frontends: cx24117: Delete 'break' after 'goto' 2021-07-12 14:28:10 +02:00
firewire module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
i2c media: ov5640: Complement yuv mbus formats with their 1X16 versions 2021-08-04 14:43:50 +02:00
mc media: Fix Media Controller API config checks 2021-06-24 14:26:00 +02:00
mmc
pci media: saa7164: remove redundant continue statement 2021-07-12 09:16:38 +02:00
platform media: coda: fix frame_mem_ctrl for YUV420 and YVU420 formats 2021-07-22 14:01:55 +02:00
radio media: radio: si4713: constify static struct v4l2_ioctl_ops 2021-06-02 13:26:11 +02:00
rc media: rc: introduce Meson IR TX driver 2021-08-04 14:43:49 +02:00
spi media: cxd2880-spi: Fix an error handling path 2021-07-12 14:27:47 +02:00
test-drivers media: vivid: increase max number of allowed 2021-07-12 09:16:36 +02:00
tuners media: m88rs6000t: avoid potential out-of-bounds reads on arrays 2021-03-22 17:41:39 +01:00
usb media: em28xx-input: fix refcount bug in em28xx_usb_disconnect 2021-08-04 14:43:49 +02:00
v4l2-core media: v4l2-event: Modified variable type 'unsigned' to 'unsigned int' 2021-06-17 10:22:59 +02:00
Kconfig media: Correct 'so' 2021-03-22 11:52:09 +01:00
Makefile