[media] omap3isp: Calculate vpclk_div for CSI-2
authorSakari Ailus <sakari.ailus@iki.fi>
Wed, 25 Mar 2015 22:57:32 +0000 (19:57 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 2 Apr 2015 19:42:04 +0000 (16:42 -0300)
commit6387b75284aa7b78c2e947934fb874444ab427e9
treed54e942201ce1ec6255b334d167551b7149276b1
parent3494bb05940e4c392baeb85f77c1e7c8a78b4e1a
[media] omap3isp: Calculate vpclk_div for CSI-2

The video port clock is l3_ick divided by vpclk_div. This clock must be high
enough for the external pixel rate. The video port requires two clock cycles
to process a pixel.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/omap3isp/ispcsi2.c
include/media/omap3isp.h