OSDN Git Service

media: stm32-dcmi: add support of BT656 bus
authorHugues Fruchet <hugues.fruchet@st.com>
Wed, 4 Nov 2020 17:32:09 +0000 (18:32 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 25 Nov 2020 13:36:42 +0000 (14:36 +0100)
commit3c80f6f81e64de5721867721d4a3e90bb602c787
tree29c881788cc33bc3d6cf953c7f49db64837fc8b3
parente2881c64519d235a90e93aefd61bb51a4a22d08b
media: stm32-dcmi: add support of BT656 bus

Add support of BT656 embedded synchronization bus.
This mode allows to save hardware synchro lines hsync & vsync by replacing
them with synchro codes embedded in data stream.
This bus type is only compatible with 8 bits width data bus.
Due to reserved values 0x00 & 0xff used for synchro codes, valid data vary
from 0x1 to 0xfe, this is up to sensor to clip accordingly pixel data. As
a consequence of this clipping, JPEG is not supported with this bus type.
DCMI crop feature is also not available with this bus type.

Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/stm32/stm32-dcmi.c