summaryrefslogtreecommitdiff
path: root/drivers/media/video/mxc/capture/ipu_prp_vf_sdc_bg.c
Commit message (Collapse)AuthorAgeFilesLines
* ENGR00224964-4 mxc_v4l2_capture: change capture stream off sequenceSheng Nan2012-10-161-2/+5
| | | | | | | | | | | | | Change v4l2 capture stream off sequence. Both CSI MEM and CSI IC MEM channel wait for idmac eof and disable csi firstly. The disable sequence is: - wait for idmac channel EOF, disable csi - disable idmac channel - disable smfc (CSI-->MEM channel) Signed-off-by: Sheng Nan <b38800@freescale.com>
* ENGR00224912 mxc v4l2 capture:Correct mclk enable/disableLiu Ying2012-10-111-4/+0
| | | | | | | | | | | | 1) Change to enable/disable mclk only in open, release, suspend and resume functions, since we may simply think that sensor or mclk will be used soon after cam->open_count is non-zero. 2) Fix a bug when calling ipu_csi_enable_mclk_if() with wrong parameter(cam->csi should be cam->mclk_source) in mxc_v4l2_close() and in mxc_v4l2_s_ctrl() with V4L2_CID_MXC_SWITCH_CAM control id. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit be689b81ac24c0a4373a989664ec51ad77db0ced)
* ENGR00182271-2 V4L2 OVERLAY: Add IPU2 overlay support of back groundYuxi Sun2012-07-251-6/+14
| | | | | | | Get the ipu device which the display frame buffer is on before start preview, then request the correspondding display channel irq. Signed-off-by: Yuxi Sun <b36102@freescale.com>
* ENGR00174395 V4L2 capture: Driver improvementLiu Ying2012-07-201-4/+2
| | | | | | | | | | | | | 1) CSI module should be disabled first for CSI_MEM channel, otherwise, the capture channels will hang after restarting for several times. 2) Disable CSI module correctly for overlay. Move stopping preview channel operation out of de-select interface. 3) Check cam->overlay_on is true in close function before stopping preview. 4) Check cam->vf_start_sdc function before calling it. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
* ENGR00163247-3 MX6Q: MIPI sensor add prp viewfinder and prp enc supportEven Xu2012-07-201-0/+63
| | | | | | | | | 1. Enable prp viewfinder setting for DPFG 2. Enable prp viewfinder setting for DFBG 3. Enable prp enc setting 4. Add some error massage for calling mipi csi2 driver fail Signed-off-by: Even Xu <b21019@freescale.com>
* ENGR00158152 v4l2 capture: changes based on ipu changesYuxi Sun2012-07-201-31/+33
| | | | | | v4l2 capture changes based on ipu change. Signed-off-by: Yuxi Sun <b36102@freescale.com>
* ENGR00142551-3 MXC V4L2:Change IPU interface for triple bufferLiu Ying2012-07-201-6/+12
| | | | | | | | | | This patch changes IPU interface for MXC V4L2 to align with IPUv3 triple buffer support. When V4L2 is used, we'll change to use double buffer for display channel via internal framebuffer interface. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit db97e4d616f105bec1cfadf33e842fc624ecf0d5)
* ENGR00141217-5 IPU\VPU\GPU: upgrade to 2.6.38Jason Chen2012-07-201-0/+443
Add drivers/mxc Add drivers/video/mxc Add drivers/media/mxc fb device: change acquire_console_sem to console_lock And release_console_sem to console_unlock Add DMA Zone support Add TVE driver, add regulator Add hdmi support Add VPU Fix build error ioctl --> unlocked_ioctl DECLARE_MUTEX --> DEFINE_SEMAPHORE Signed-off-by: Jason Chen <b02280@freescale.com> Signed-off-by: Richard Zhao <richard.zhao@freescale.com>