[media] fimc-lite: Add ISP FIFO output support
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 28 Nov 2012 18:41:01 +0000 (15:41 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 21 Dec 2012 14:26:20 +0000 (12:26 -0200)
commit6319d6a002beb2644b4a9058a12a04b2bbf98502
tree914e8325d79efe4e3b2e95461886d369e52c4a01
parent588c87be0b44ccf44e321eeae52c674a67a6adc0
[media] fimc-lite: Add ISP FIFO output support

Add second source media pad for the FIFO data output to FIMC-IS
and implement subdev s_stream op for configurations where FIMC-LITE
is used as a glue logic between FIMC-IS and MIPI-CSIS or an image
sensor. The second source media pad will be linked to the FIMC-LITE
video node.
For proper configuration the attached image sensor/video encoder
properties are needed, like video bus type, signal polarities, etc.
For this purpose there is a small routine added that walks the
pipeline and returns the sensor subdev.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/s5p-fimc/fimc-lite.c
drivers/media/platform/s5p-fimc/fimc-lite.h
drivers/media/platform/s5p-fimc/fimc-mdevice.c