[PATCH 1/7] marvell-ccic: add MIPI support for marvell-ccic driver

2013-06-03 Thread lbyang
From: Libin Yang lby...@marvell.com This patch adds the MIPI support for marvell-ccic. Board driver should determine whether using MIPI or not. Signed-off-by: Albert Wang twan...@marvell.com Signed-off-by: Libin Yang lby...@marvell.com --- drivers/media/platform/marvell-ccic/cafe-driver.c |

[PATCH 0/7] marvell-ccic: update ccic driver to support some features

2013-06-03 Thread lbyang
The patch set adds some feature into the marvell ccic driver Patch 1: Support MIPI sensor Patch 2: Support clock tree Patch 3: reset ccic when stop streaming, which makes CCIC more stable Patch 4: refine the mcam_set_contig_buffer function Patch 5: add some new fmts to support Patch 6: add

[PATCH 2/7] marvell-ccic: add clock tree support for marvell-ccic driver

2013-06-03 Thread lbyang
From: Libin Yang lby...@marvell.com This patch adds the clock tree support for marvell-ccic. Signed-off-by: Libin Yang lby...@marvell.com Signed-off-by: Albert Wang twan...@marvell.com Acked-by: Jonathan Corbet cor...@lwn.net --- drivers/media/platform/marvell-ccic/mcam-core.h |5 +++

[PATCH 3/7] marvell-ccic: reset ccic phy when stop streaming for stability

2013-06-03 Thread lbyang
From: Libin Yang lby...@marvell.com This patch adds the reset ccic phy operation when stop streaming. Stop streaming without reset ccic phy, the next start streaming may be unstable. Also need add CCIC2 definition when PXA688/PXA2128 support dual ccics. Signed-off-by: Albert Wang

[PATCH 4/7] marvell-ccic: refine mcam_set_contig_buffer function

2013-06-03 Thread lbyang
From: Libin Yang lby...@marvell.com This patch refines mcam_set_contig_buffer() in mcam core. It can remove redundant code line and enhance readability. Signed-off-by: Albert Wang twan...@marvell.com Signed-off-by: Libin Yang lby...@marvell.com Acked-by: Guennadi Liakhovetski

[PATCH 5/7] marvell-ccic: add new formats support for marvell-ccic driver

2013-06-03 Thread lbyang
From: Libin Yang lby...@marvell.com This patch adds the new formats support for marvell-ccic. Signed-off-by: Albert Wang twan...@marvell.com Signed-off-by: Libin Yang lby...@marvell.com --- drivers/media/platform/marvell-ccic/mcam-core.c | 192 +++

[PATCH 6/7] marvell-ccic: add SOF / EOF pair check for marvell-ccic driver

2013-06-04 Thread lbyang
From: Libin Yang lby...@marvell.com This patch adds the SOFx/EOFx pair check for marvell-ccic. When switching format, the last EOF may not arrive when stop streamning. And the EOF will be detected in the next start streaming. Must ensure clear the left over frame flags before every really start

[PATCH 7/7] marvell-ccic: switch to resource managed allocation and request

2013-06-04 Thread lbyang
From: Libin Yang lby...@marvell.com This patch switchs to resource managed allocation and request in mmp-driver. It can remove free resource operations. Signed-off-by: Albert Wang twan...@marvell.com Signed-off-by: Libin Yang lby...@marvell.com Acked-by: Jonathan Corbet cor...@lwn.net ---

[PATCH] media: marvell-ccic: drop resource free in driver remove

2013-11-04 Thread lbyang
From: Libin Yang lby...@marvell.com Date: Tue, 5 Nov 2013 10:18:15 +0800 Subject: [PATCH] marvell-ccic: drop resource free in driver remove The mmp-driver is using devm_* to allocate the resource. The old resource release methods are not appropriate here. Signed-off-by: Libin Yang

[RFC] [PATCH] media: marvell-ccic: use devm to release clk

2013-11-05 Thread lbyang
From: Libin Yang lby...@marvell.com Date: Tue, 5 Nov 2013 16:29:07 +0800 Subject: [PATCH] media: marvell-ccic: use devm to release clk This patch uses devm to release the clks instead of releasing manually. And it adds enable/disable mipi_clk when getting its rate. Signed-off-by: Libin Yang