]> asedeno.scripts.mit.edu Git - linux.git/commit
media: sun6i: Add A64 CSI block support
authorJagan Teki <jagan@amarulasolutions.com>
Mon, 28 Jan 2019 08:58:44 +0000 (03:58 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 18 Feb 2019 20:15:37 +0000 (15:15 -0500)
commit27e2add8ae8fcae07e2e8d3ea5b3699572290ef3
tree2c2dbaedc8376a389c759e7425f0d5113dd0d740
parent076d792b17468632cb104b6de8d2cf6cd426fed1
media: sun6i: Add A64 CSI block support

CSI block in Allwinner A64 has similar features as like in H3,
but the default CSI_SCLK rate cannot work properly to drive the
connected sensor interface.

The tested mod cock rate is 300 MHz and BSP vfe media driver is also
using the same rate. Unfortunately there is no valid information about
clock rate in manual or any other sources except the BSP driver. so more
faith on BSP code, because same has tested in mainline.

So, add support for A64 CSI block by setting updated mod clock rate.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c