From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bcVby-0004W3-AF for barebox@lists.infradead.org; Wed, 24 Aug 2016 10:40:51 +0000 From: Philipp Zabel Date: Wed, 24 Aug 2016 12:40:17 +0200 Message-Id: <1472035219-23917-1-git-send-email-p.zabel@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 1/3] video: switch to media bus formats To: barebox@lists.infradead.org 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 --- 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 8b251a5..17b6e4c 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