media: imx: imx8mq-mipi-csi2: Remove YUV422 2X8
The 2X8 variants of MEDIA_BUS_FMT_YUYV8_2X8 does not apply to serial busses. Drop it and while at it also add the canonical UYVY wire format for packed YUV422 when transmitted on the CSI-2 serial bus. Also beautify a little the formats declaration list by putting the opening curly brace after the comment. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
parent
0f6146d476
commit
884c8bd918
@ -200,12 +200,13 @@ static const struct csi2_pix_format imx8mq_mipi_csi_formats[] = {
|
|||||||
}, {
|
}, {
|
||||||
.code = MEDIA_BUS_FMT_SRGGB14_1X14,
|
.code = MEDIA_BUS_FMT_SRGGB14_1X14,
|
||||||
.width = 14,
|
.width = 14,
|
||||||
}, {
|
},
|
||||||
/* YUV formats */
|
/* YUV formats */
|
||||||
.code = MEDIA_BUS_FMT_YUYV8_2X8,
|
{
|
||||||
|
.code = MEDIA_BUS_FMT_YUYV8_1X16,
|
||||||
.width = 16,
|
.width = 16,
|
||||||
}, {
|
}, {
|
||||||
.code = MEDIA_BUS_FMT_YUYV8_1X16,
|
.code = MEDIA_BUS_FMT_UYVY8_1X16,
|
||||||
.width = 16,
|
.width = 16,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user