]> git.karo-electronics.de Git - linux-beck.git/commit
[media] s5p-fimc: Add the media device driver
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 1 Sep 2011 09:01:08 +0000 (06:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 6 Sep 2011 20:35:52 +0000 (17:35 -0300)
commitd3953223b0905437fef7ce60506b5fdfaf98dda6
tree12570704e36b7131a03ec31f0746ae459410d251
parent30c9939d79d6edf64092148842835893d156b672
[media] s5p-fimc: Add the media device driver

Add a top level media device driver aggregating FIMC video devnodes,
MIPI-CSIS and sensor subdevs. This driver gathers all media entities
and creates the possible links between them during initialization. By
default some links will be activated to enable access to all available
sensors in the system. For example if there are sensors S0, S1 listed
in the media device platform data definition they will be by default
assigned to FIMC0, FIMC1 respectively, which in turn will corresponds
to separate /dev/video?.
There is enough FIMC H/W entities to cover all available physical camera
interfaces in the system.

The fimc media device driver is bound to the "s5p-fimc-md" platform device.
Such platform device should be created by board initialization code
and camera sensors description array need to be specified as its
platform data.

The media device driver also implements various video pipeline operations,
for enabling subdevs power, streaming, etc., which will be used by the
capture video node driver.

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/video/Kconfig
drivers/media/video/s5p-fimc/Makefile
drivers/media/video/s5p-fimc/fimc-core.c
drivers/media/video/s5p-fimc/fimc-core.h
drivers/media/video/s5p-fimc/fimc-mdevice.c [new file with mode: 0644]
drivers/media/video/s5p-fimc/fimc-mdevice.h [new file with mode: 0644]
include/media/s5p_fimc.h