From: Koji Matsuoka Date: Tue, 14 Oct 2014 06:24:38 +0000 (-0300) Subject: [media] rcar_vin: Add YUYV capture format support X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e5d49a3ef4bb352a1799c25b2fab5c5c57ca9526;p=linux-beck.git [media] rcar_vin: Add YUYV capture format support Signed-off-by: Koji Matsuoka Signed-off-by: Yoshihiro Kaneko Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/soc_camera/rcar_vin.c b/drivers/media/platform/soc_camera/rcar_vin.c index 8d8438b10b87..0891679ab835 100644 --- a/drivers/media/platform/soc_camera/rcar_vin.c +++ b/drivers/media/platform/soc_camera/rcar_vin.c @@ -879,6 +879,14 @@ static const struct soc_mbus_pixelfmt rcar_vin_formats[] = { .order = SOC_MBUS_ORDER_LE, .layout = SOC_MBUS_LAYOUT_PLANAR_Y_C, }, + { + .fourcc = V4L2_PIX_FMT_YUYV, + .name = "YUYV", + .bits_per_sample = 16, + .packing = SOC_MBUS_PACKING_NONE, + .order = SOC_MBUS_ORDER_LE, + .layout = SOC_MBUS_LAYOUT_PACKED, + }, { .fourcc = V4L2_PIX_FMT_UYVY, .name = "UYVY",