From 1be6d321efbd4113488dae300cbb3e1f30582a9f Mon Sep 17 00:00:00 2001 From: Philipp Zabel Date: Wed, 24 Aug 2016 12:40:17 +0200 Subject: video: switch to media bus formats V4L2 pixel formats are supposed to describe video frames in memory. To describe the pixel format on the hardware bus between display interface and encoders, use media bus formats, which are more expressive. This allows to get rid of the custom GBR24 and LVDS666 fourccs. Signed-off-by: Philipp Zabel Signed-off-by: Sascha Hauer --- drivers/video/imx-ipu-v3/imx-hdmi.c | 3 +- drivers/video/imx-ipu-v3/imx-ipu-v3.h | 4 +- drivers/video/imx-ipu-v3/imx-ldb.c | 7 +- drivers/video/imx-ipu-v3/ipu-dc.c | 19 +++-- drivers/video/imx-ipu-v3/ipu-prv.h | 2 - drivers/video/imx-ipu-v3/ipufb.c | 21 +++-- include/video/fourcc.h | 151 ---------------------------------- include/video/media-bus-format.h | 137 ++++++++++++++++++++++++++++++ 8 files changed, 165 insertions(+), 179 deletions(-) create mode 100644 include/video/media-bus-format.h diff --git a/drivers/video/imx-ipu-v3/imx-hdmi.c b/drivers/video/imx-ipu-v3/imx-hdmi.c index 8b251a52ea..17b6e4cc25 100644 --- a/drivers/video/imx-ipu-v3/imx-hdmi.c +++ b/drivers/video/imx-ipu-v3/imx-hdmi.c @@ -22,6 +22,7 @@ #include #include #include +#include