[media] exynos4-is: Add Exynos5250 SoC support to fimc-lite driver
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 14 Jun 2013 15:38:15 +0000 (12:38 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:43:13 +0000 (11:43 +0900)
commit47971dbc66088ea6187f512f9ca360cdb61f3a46
treee5fa57f88db1df3cf0c62638a946e255e7b328f6
parentb1e0676975f6a61abbbe0b51f8b6d9867ff5f51e
[media] exynos4-is: Add Exynos5250 SoC support to fimc-lite driver

This patch adds support for the Exynos5250 SoC variant of the FIMC-LITE
IP. A 'compatible' string is added for Exynos5250 compatible devices
and the capture DMA handling is reworked to use the FLITE_REG_CIFCNTSEQ
register, masking output DMA buffer address slots. The frame interrupt
is enabled so there are now 2 interrupts per frame. This likely can be
optimized in future by using any status registers that allow to figure
out what the last and the currently written frame buffer is. It would
also be more reliable in cases where there are high interrupt service
latencies.

Signed-off-by: Shaik Ameer Basha <shaik.ameer@samsung.com>
Signed-off-by: Arun Kumar K <arun.kk@samsung.com>
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>
Documentation/devicetree/bindings/media/exynos-fimc-lite.txt
drivers/media/platform/exynos4-is/fimc-lite-reg.c
drivers/media/platform/exynos4-is/fimc-lite-reg.h
drivers/media/platform/exynos4-is/fimc-lite.c
drivers/media/platform/exynos4-is/fimc-lite.h