]> asedeno.scripts.mit.edu Git - linux.git/commit
media: sun6i: Add support for RGB565 formats
authorChen-Yu Tsai <wens@csie.org>
Sun, 3 Feb 2019 16:03:57 +0000 (11:03 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 18 Feb 2019 20:26:19 +0000 (15:26 -0500)
commit19b18e78b327c8e0a5964ea7d08de5cb718f472d
treeaa62b6bd8b3aa5ed81dea99e945b31890e805f7f
parentd31b282e2c0de9c7fb113516820340251f03a625
media: sun6i: Add support for RGB565 formats

The CSI controller can take raw data from the data bus and output RGB565
format. The controller does not distinguish between RGB565 LE and BE.
Instead this is determined by the media bus format, i.e. the format or
order the sensor is sending data in.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.h
drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c