OSDN Git Service

media: imx: imx7_mipi_csis: Add greyscale formats support
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 10 Mar 2020 16:06:26 +0000 (17:06 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 12 Mar 2020 16:29:56 +0000 (17:29 +0100)
commite1a7461b21590ec0f439b7e5cc8dba35d808cb36
tree8c3c92f25bfc80c8266d8b6df996c2f3a7f14621
parent535e9ea794cf3aed0ac18d45d63bf2805be2a7a4
media: imx: imx7_mipi_csis: Add greyscale formats support

Add support for the 8-, 10- and 12-bit greyscale media bus formats, and
map them to the CSI-2 RAW8, RAW10 and RAW12 formats respectively.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/imx/imx7-mipi-csis.c