media: ov5640: Add RGB565_1X16 format
authorJacopo Mondi <jacopo@jmondi.org>
Fri, 13 May 2022 14:14:11 +0000 (15:14 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 8 Jul 2022 14:35:18 +0000 (15:35 +0100)
commit0a43fcd791f9089be96948d999e500b2980165e8
tree4850afcaf764a02431e2ca46d1a3200724a47223
parent1066fc1c2afdbe5977eae37314f0c21462e82b9a
media: ov5640: Add RGB565_1X16 format

The driver already supports the 2X8_[LE|BE] variants of RGB565
formats.

As for CSI-2 the 2X8 variants do not apply, add RGB565_1X16 variant
with little-endian ordering of components as required by the CSI-2
specifications.

Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/ov5640.c