media: v4l: Add 1X16 16-bit greyscale media bus code definition
authorBenjamin Mugnier <benjamin.mugnier@foss.st.com>
Tue, 11 Oct 2022 12:16:01 +0000 (14:16 +0200)
committerSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 25 Oct 2022 11:38:31 +0000 (14:38 +0300)
commit48f750e25ab72c36f2b043370175adf602d4a45e
tree184af5c9c75ef162874f45ea9d3395752245404e
parent32a437db49aae789eb4c53450b7deedc43e397ae
media: v4l: Add 1X16 16-bit greyscale media bus code definition

This extends the greyscale media bus family originally from
MEDIA_BUS_FMT_Y8_1X8 up to MEDIA_BUS_FMT_Y14_1X14 by adding
MEDIA_BUS_FMT_Y16_1X16, and behaves the same way with 16 bits.
Add its documentation in subdev-formats.rst

Signed-off-by: Benjamin Mugnier <benjamin.mugnier@foss.st.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Documentation/userspace-api/media/v4l/subdev-formats.rst
include/uapi/linux/media-bus-format.h