android_kernel_motorola_sm6225/drivers/media/video/s5p-fimc
Sylwester Nawrocki 3e00218207 [media] s5p-fimc: Limit number of available inputs to one
The current driver allowed camera sensors to be used only with single
FIMC H/W instance, FIMC0..FIMC2/3, designated at compile time. Remaining FIMC
entities could be used for video processing only, as mem-to-mem devices.
Required camera could be selected with S_INPUT ioctl at one devnode only.

However in that case it was not possible to use both cameras independently
at the same time, as all sensors were registered to single FIMC capture
driver. In most recent S5P SoC version there is enough FIMC H/W instances
to cover all physical camera interfaces.
Each FIMC instance exports its own video devnode. Thus we distribute
the camera sensors one per each /dev/video? by default. It will allow to
use both camera simultaneously by opening different video node.

The camera sensors at FIMC are now not selected with S_INPUT ioctl, there
is one input only available per /dev/video?.

By default a single sensor is connected at FIMC input as specified by the
media device platform data subdev description table. This assignment
can be changed at runtime through the pipeline reconfiguration at the media
device level.

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>
2011-09-06 15:20:23 -03:00
..
fimc-capture.c [media] s5p-fimc: Limit number of available inputs to one 2011-09-06 15:20:23 -03:00
fimc-core.c [media] s5p-fimc: Remove sclk_cam clock handling 2011-09-06 15:19:16 -03:00
fimc-core.h [media] s5p-fimc: Remove sclk_cam clock handling 2011-09-06 15:19:16 -03:00
fimc-reg.c [media] s5p-fimc: Add runtime PM support in the mem-to-mem driver 2011-09-06 15:08:46 -03:00
Makefile [media] v4l: Add v4l2 subdev driver for S5P/EXYNOS4 MIPI-CSI receivers 2011-05-20 11:32:43 -03:00
mipi-csis.c [media] s5p-csis: Rework the system suspend/resume helpers 2011-09-06 15:09:37 -03:00
mipi-csis.h [media] v4l: Add v4l2 subdev driver for S5P/EXYNOS4 MIPI-CSI receivers 2011-05-20 11:32:43 -03:00
regs-fimc.h [media] s5p-fimc: fix MSCTRL.FIFO_CTRL for performance enhancement 2011-03-21 20:31:40 -03:00