summaryrefslogtreecommitdiff
path: root/drivers/media
AgeCommit message (Collapse)Author
2012-08-27ENGR00221445 ov5642: return error number when change camera modeYuxi Sun
return error number when set camera change mode fail, if not the driver may continue to setup the video processing with wrong parameter. Signed-off-by: Yuxi Sun <b36102@freescale.com>
2012-08-24ENGR00220796-2: v4l2 imx6sl: Add V4L2 driver supportRobby Cai
Add V4L2 support -- driver part. Signed-off-by: Robby Cai <R63905@freescale.com>
2012-08-18ENGR00220705 v4l2 overlay: Cancel the work structure schedule at overlay stopYuxi Sun
Add flush_work_sync and cancel_work_sync at the overlay stop to prevent moving data by DMA even when the space of those data address is freed. Signed-off-by: Yuxi Sun <b36102@freescale.com
2012-08-15ENGR00219859 MXC V4L2 capture:Pwr down/on opened camLiu Ying
Currently, we support 2 cameras, which are relevant to 2 video devices respectively. This patch checks if video device is opened to determine whether we need to power down/on relevant camera when doing suspend/resume. Also, this patch protects capture resources with busy lock semaphore. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 874198b89a89aa6e792754a0a51c46084ed93d1a)
2012-08-13ENGR00219173 V42L overlay Add back ground overlay supportYuxi Sun
Add back ground overlay support based on ipu device driver. Default using this driver instead of prp_vf driver for back ground overlay. when want using prp_vf back ground overlay, unselect ipu deviece overlay drivers and choose to build related driver as build-in. Signed-off-by: Yuxi Sun <b36102@freescale.com>
2012-08-13ENGR00216786-3 V4L2 output: Allocate DMA buffer from DMA zoneWayne Zou
Allocate DMA buffer from DMA zone, and the system can configure reserve dma size through proc fs file under /proc/sys/vm/lowmem_reserve_ratio. Signed-off-by: Wayne Zou <b36644@freescale.com>
2012-08-10ENGR00220038-2 fix Kconifg waringYuxi Sun
fix Kconfig waring of defaults for choice values not supported Signed-off-by: Yuxi Sun <b36102@freescale.com>
2012-08-10ENGR00219397-2 v4l2 overlay: make ipu device processing optional for overalyYuxi Sun
Add ipu device queue processing for overlay, and make it default. This will instead prp_viewfinder work flow in the most user case. Signed-off-by: Yuxi Sun <b36102@freescale.com>
2012-08-10ENGR00219397-1 v4l2 overlay: Add foreground overlay support based on ipu deviceYuxi Sun
Replace CSI_PRP_VF_MEM channel with CSI_MEM, then using ipu device to do the processing or directly send to framebuffer if no processing need to be perform. Add the foreground overlay driver file name ipu_fg_overlay_sdc.c correspondding to the former ipu_prp_vf_sdc.c Discard the cam->vf_rotation parametter when uing the ipu device for processing in the overlay, share the cam->rotation parametter with pp. Signed-off-by: Yuxi sun <b36102@freescale.com>
2012-07-27ENGR00182743-4 V4L2 output: Add non-interleaved YUV444 pixel format supportWayne Zou
Add non-interleaved YUV444 pixel format IPU_PIX_FMT_YUV444P support Signed-off-by: Wayne Zou <b36644@freescale.com>
2012-07-27ENGR00218412-2 OV5642:Power down after checking dev idLiu Ying
This patch powers down camera after checking camera device id to save power. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit eb280a7182cd8c71d698b57a720447f9d9b1174a)
2012-07-27ENGR00218412-1 OV5640 mipi:Power down after checking dev idLiu Ying
This patch powers down camera after checking camera device id to save power. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit a73b70b3d425825b4f4ba99c4c38c23bde227a9a)
2012-07-25ENGR00182061-4 MXC v4l2 capture:Remove inappropriate msleep codeLiu Ying
msleep() after camera power down should not be called in mxc v4l2 capture core code. Instead, this should be handled by camera power down function. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2012-07-25ENGR00182061-2 OV5640 mipi camera:Check dev id before registerLiu Ying
This patch checks camera device id via i2c bus before register v4l2 internal device. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2012-07-25ENGR00182061-1 OV5642 camera:Check dev id before registerLiu Ying
This patch checks camera device id via i2c bus before register v4l2 internal device. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2012-07-25ENGR00182271-3 V4L2 OVERLAY: Add IPU2 overaly support for fore groundYuxi Sun
When vf_rotation > IPU_ROTATE_VERT_FLIP, canncel the MEM_ROT_VF_MEM - MEM_FG_SYNC channel link and using IPU_IRQ_PRP_VF_ROT_OUT_EOF irq to trigger double buffer switch. When vf_rotation <= IPU_ROTATE_VERT_FLIP,cannel the CSI_PRP_VF_MEM - MEM_FG_SYNC channel link, and using IPU_IRQ_PRP_VF_OUT_EOF to trigger double buffer switch. Signed-off-by: Yuxi Sun <b36102@freescale.com>
2012-07-25ENGR00182271-2 V4L2 OVERLAY: Add IPU2 overlay support of back groundYuxi Sun
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>
2012-07-25ENGR00182271-1 V4L2 capture: Add IPU2 overlay supportYuxi Sun
Add 3 overlay output item for IPU2: DISP4 BG, DISP4 BG - DI1, DISP4 FG. Signed-off-by: Yuxi Sun <b36102@freescale.com>
2012-07-25ENGR00216293 V4L2 output: Check input params for progressive tiled formatWayne Zou
Check input params for progressive tiled format to remind the application input wrong params and make driver more robust. Signed-off-by: Wayne Zou <b36644@freescale.com>
2012-07-25ENGR00172077 [MX6Q_ARD]TVIN: Kernel dump and Error MessagesIsrael Perez
adv7180.c code was not working properly in this new release because some changes done in mxc_v4l_capture.c driver. Also mostly of the error messages and kernel dump problem which were related to csi_enc are already fixed on this release. In order to fix on previous releases csi and ipuv3 fixes should be applied or back ported. Signed-off-by: Israel Perez <B37753@freescale.com>
2012-07-25ENGR00216268 Ov5642 camera:Fix green line issue for 2 modesLiu Ying
This patch fix green line issue on captured frames for 720x480p@30 and 720x576p@30 modes by changing register 0x302c's bit[6:5] to 0'11 to enhance output driving capability to 4x. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2012-07-25ENGR00216008 ov5642: Add exposure calculation when set modeYuxi Sun
Originally only QSXGA mode use exposure calculation, now we enable this function on every mode to fix image dark problem. Signed-off-by: Yuxi Sun <b36102@freescale.com>
2012-07-25ENGR00216005 OV5640 mipi camera:Correct sensor chip nameLiu Ying
This patch corrects ov5640 mipi camera sensor chip name to distinguish it from ov5640 csi camera. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2012-07-25ENGR00215844 OV5642 camera: Add FPS checking for mode changeguoyin.chen
For fast mode setting, ov5642_change_mode does not check the fps setting. New mode in ov5642_change_mode will have to be the same FPS as previous mode. Only schedule the fast setting if previous fps is same as new one. Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
2012-07-25ENGR00215762 OV5642 camera:Improve XGA@30 image qualityLiu Ying
This patch changes output drive capability of ov5642 camera register 0x302c's bit[6:5] to 0'11 to get 4x drive capability so that green lines cannot be seen in the captured frames. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit f3e5d9944e989e66167cbbaa4f3433d8a9baf84d)
2012-07-25ENGR00182441 V4L2 output: set screen black when resizing during video playbackWayne Zou
set screen black when resizing during video playback. Fix bug: when video playback, switch to full screen or leave full screen, sometime it has the colour stripe Signed-off-by: Wayne Zou <b36644@freescale.com>
2012-07-25ENGR00215531-6 V4L2:OV8820_mipi:Correct sensor data attributeLiu Ying
This patch corrects sensor data struct by adding static attribute. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2012-07-25ENGR00215531-5 V4L2:OV5642:Correct sensor data attributeLiu Ying
This patch corrects sensor data struct by adding static attribute. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2012-07-25ENGR00215531-4 V4L2:OV5640_mipi:Correct sensor data attributeLiu Ying
This patch corrects sensor data struct by adding static attribute. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2012-07-25ENGR00215531-3 V4L2:OV5640:Correct sensor data attributeLiu Ying
This patch corrects sensor data struct by adding static attribute. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2012-07-25ENGR00215531-2 V4L2:OV3640:Correct sensor data attributeLiu Ying
This patch corrects sensor data struct by adding static attribute. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2012-07-25ENGR00215531-1 V4L2:ADV7180:Correct sensor data attributeLiu Ying
This patch corrects sensor data struct by adding static attribute. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2012-07-20ENGR00214865 mxc_v4l2_capture:Be silent when closing deviceLiu Ying
This patch changes the debug level of a kernel message in mxc_v4l2_close() from KERN_INFO to KERN_DEBUG to make the console silent when closing device. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 42bd808baa7c03671665297cd40ae9cce8186d6b)
2012-07-20ENGR00214773 V4L2 output: Restore fb base address after video playbackWayne Zou
Restore framebuffer base address after video playback on IPU BG channel Signed-off-by: Wayne Zou <b36644@freescale.com>
2012-07-20ENGR00210937:v4l2: kernel dump caused by remove mxc_v4l2_captureWu Guoxing
kernel dump when do "modprobe -r mxc_v4l2_capture" this is caused by unregister wrong v4l2 int device when rmmod Signed-off-by: Wu Guoxing <b39297@freescale.com>
2012-07-20ENGR00182045-2 V4L2 output: Fix bug: VDOA interlaced video can't play normallyWayne Zou
Add VDOA tiled field format support for V4L2 output driver Also add some debug information Signed-off-by: Wayne Zou <b36644@freescale.com>
2012-07-20ENGR00162848 ov5642: Fix QVGA take photo very darkYuxi Sun
Using small setting when switch from VGA to QVGA to take picture Signed-off-by: Yuxi Sun <b36102@freescale.com>
2012-07-20ENGR00161873 ov5642: Fix actual VGA 15fps can reach 30fpsYuxi Sun
Delete VGA_2_VGA workflow and using 15fps VGA setting when set this mode. Add XGA@15fps, XGA@30fps setting. Signed-off-by: Yuxi Sun <b36102@freescale.com>
2012-07-20ENGR00213518 V4L2 output: stop at last frame when video playback on DP-BGWayne Zou
Stop at last frame when video playback on IPU DP-BG channel Signed-off-by: Wayne Zou <b36644@freescale.com>
2012-07-20ENGR00212581 V4L2 output: Re-organize tiled format output driverWayne Zou
Re-organize v4l2 output driver for tiled format as tiled_bypass_pp mode Signed-off-by: Wayne Zou <b36644@freescale.com>
2012-07-20ENGR00171743 ov5640_mipi Add XGA mode supportYuxi Sun
Add XGA@15fps and XGA@30fps setting Signed-off-by: Yuxi Sun <b36102@freescale.com>
2012-07-20ENGR00213148 ov5642: Add 720p@15fps modeYuxi Sun
Add 1280X720 15fps setting Signed-off-by: Yuxi Sun <b36102@freescale.com>
2012-07-20ENGR00211372 V4L2 output: Fix software bug when set_crop/set_ctrl after set_fmtWayne Zou
When set_crop/set_ctrl after set_fmt, the display may be crashed due to input crop parameters may be wrong, especially for tiled NV12 format. Signed-off-by: Wayne Zou <b36644@freescale.com>
2012-07-20ENGR00211368:dual camera: fix csi 1 camera has wrong image issueWu Guoxing
set the correct csi interface Signed-off-by: Wu Guoxing <b39297@freescale.com>
2012-07-20ENGR00209062-2: mx6dq and mx6dl dual camera supportWu Guoxing
dual camera support for mx6q and mx6dl: 1. let mipi and parallel camera working on different csi 2. the two camera can work independently and synchronously 3. the two camera will be registered and different video device(/dev/video0, /dev/video1) 4. when both camera are working, the can not use the same ipu channel, that is, when camera one using PRP_ENC_MEM or PRP_VF_MEM channel, the other one can only use CSI_MEM this is the driver part. Signed-off-by: Wu Guoxing <b39297@freescale.com>
2012-07-20ENGR00182106 720p and 1080p recording are too bright.YangYonggang
The sensor configure was not correct. Changed the ov5640 sensor config to fix the bug. Signed-off-by: YangYonggang <b31664@freescale.com>
2012-07-20ENGR00180810 v4l2 capture: fix write reg error when change modeYuxi Sun
Add 1ms delay after power up, then initialize the camera sensor Signed-off-by: Yuxi Sun <b36102@freescale.com>
2012-07-20ENGR00181670 V4L2: Fix bug:when ubuntu start up, print some fb error messagesWayne Zou
If only called mxc_vout_open/mxc_vout_release, fb_smem_len are uninitialized. When ubuntu start up, print some error messages: mxc_sdc_fb mxc_sdc_fb.1: Unable to allocate framebuffer memory mxc_v4l2_output mxc_v4l2_output.0: ERR: fb_set_var. mxc_sdc_fb mxc_sdc_fb.0: Unable to allocate framebuffer memory mxc_v4l2_output mxc_v4l2_output.0: ERR: fb_set_var. Signed-off-by: Wayne Zou <b36644@freescale.com>
2012-07-20ENGR00181548 ov5640 mipi: fix VGA QVGA 15fps no output frame from sensorYuxi Sun
There are no output frame from sensor when set to those two mode at 15fps, so, modify these setting of the two mode. Signed-off-by: Yuxi Sun <b36102@freescale.com>
2012-07-20ENGR00181196-2 ov5642: fix the first frame of capture quality is badYuxi Sun
Add 300ms delay after intial setting is download Signed-off-by: Yuxi Sun <b36102@freescale.com>