diff options
author | Jan Luebbe <jlu@pengutronix.de> | 2018-05-18 09:56:39 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-07-04 09:27:01 -0400 |
commit | 779680e2e793db349c37668099f26d9080801f53 (patch) | |
tree | 435f338b13735424810019bd5fa09b7a9ffda2b0 /virt | |
parent | f6aaac7fa03e36bb43401182864a74f65a211e86 (diff) | |
download | linux-779680e2e793db349c37668099f26d9080801f53.tar.bz2 |
media: imx: add support for RGB565_2X8 on parallel bus
The IPU can only capture RGB565 with two 8-bit cycles in bayer/generic
mode on the parallel bus, compared to a specific mode on MIPI CSI-2.
To handle this, we extend imx_media_pixfmt with a cycles per pixel
field, which is used for generic formats on the parallel bus.
Based on the selected format and bus, we then update the width to
account for the multiple cycles per pixel.
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions