summaryrefslogtreecommitdiff
path: root/drivers/media
AgeCommit message (Collapse)Author
2015-10-29mxc_v4l2_capture.c: make error messages uniqueMax Krummenacher
"ERROR: v4l2 capture: slave not found!" is used for many ioctl. Add the ioctl to the string to ease debugging.
2015-10-29ipu_csi_enc.c: fix debug printMax Krummenacher
2015-10-29max9526.c: move pinctrl after i2c detectMax Krummenacher
This removes a bunch of error messages during probe because both the adv7180 and the max9526 use try to reserve the same pins. While at it convert debug output to dev_dbg
2015-10-29adv7180.c: convert debug output to dev_dbgMax Krummenacher
2015-10-22mxc_v4l2_capture: match ipu/csi/mipi instead of only ipu/csiTroy Kisky
(cherry picked from commit f3ce4f51a39f0eb6727166cbdba3e92b37f237e8) Conflicts: drivers/media/platform/mxc/capture/mxc_v4l2_capture.c
2015-10-22max9526: add initial MXC camera sensor codeMax Krummenacher
Add initial support for Maxim Integrated MAX9526 video decoder for use with an Freescale i.MX 6. PAL works, NTSC does not lock on VSYNC. (cherry picked from commit 6763d5ab9496099ec2b74d3a7c2034e87a7cb70e) Conflicts: drivers/media/platform/mxc/capture/Makefile Conflicts with 3.14 headers: Change different location for include v4l2-int-device.h While at it remove unused auto variables which causes compile time warnings.
2015-10-22adv7180.c: initial working adv7180 settingsMax Krummenacher
The input channel is currently fixed to A_IN2_3 on the ACM's connector X5. (cherry picked from commit 568747f8c0984b027ca9feb1a3326fd96c4e4373)
2015-10-22mxc_v4l2_capture: let the camera driver set mipi/parallelMax Krummenacher
The camera driver knows if it uses mipi or parallel, and in case a camera can do both it makes sense that this is in the device tree node for the camera and not the generic mxc_v4l2_capture. (cherry picked from commit 09d5f1a3ad615b96d9f01bca0622d41f20c3011b)
2015-09-01mxc_v4l2_capture: add mxc_camera_common_lock/unlock, fix device nameTroy Kisky
(cherry picked from commit c9419af618e4e7944b56f65dce29f2f409681997) Conflicts: drivers/media/platform/mxc/capture/mxc_v4l2_capture.c
2015-09-01MXC_CSI_CAMERA: select VIDEOBUF2_DMA_CONTIGMax Krummenacher
MXC_CSI_CAMERA links to the following functions provided by VIDEOBUF2_DMA_CONTIG, so select it explicitely to prevent link errors: ERROR: "vb2_dma_contig_cleanup_ctx" [drivers/media/platform/mxc/subdev/mx6s_capture.ko] undefined! ERROR: "vb2_dma_contig_memops" [drivers/media/platform/mxc/subdev/mx6s_capture.ko] undefined! ERROR: "vb2_dma_contig_init_ctx" [drivers/media/platform/mxc/subdev/mx6s_capture.ko] undefined!
2015-08-24OmniVision ov5640 MIPI-CSI2 camera supportWojciech Bieganski
gst-inspect mfw_v4lsrc gst-launch mfw_v4lsrc capture-mode=5 device=/dev/video2 ! mfw_v4lsink
2015-05-29tc358743_h2c: add devicetree supportTroy Kisky
2015-05-29TC358743 Kconfig dependency updateTroy Kisky
2015-05-29tc358743_h2c: fill in sample edid data from Asus monitorTroy Kisky
2015-05-29tc358743_h2c: fix compiler warningsTroy Kisky
2015-05-29tc358743_h2c: cleanup spacingTroy Kisky
2015-05-29add tc358743_h2c driverTroy Kisky
2015-05-29ov5640_mipi: software reset does not affect i2c addressTroy Kisky
2015-05-29ipu_csi_enc: improve error messageTroy Kisky
2015-05-29ipu_prp_enc: improve error messageTroy Kisky
2015-05-29ov5642: fix csi/ipu check for imx6dlTroy Kisky
2015-05-29ov5640_mipi: fix csi/ipu check for imx6dlTroy Kisky
2015-05-29ov5642: add i2c address change featureTroy Kisky
2015-05-29ov5640_mipi: add i2c address change featureTroy Kisky
2015-05-29ov5640_mipi: change registered name from ov5640 to ov5640_mipi to reduce ↵Troy Kisky
confusion
2015-05-29i.MX6: v4lout: none of our displays support color-space conversionEric Nelson
Without this, fb0 can become a YUV buffer and doesn't switch back to being rgb when fb0 is closed by the app. Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
2015-05-29tw68: audio fixesTroy Kisky
2015-05-29tw68: add driver for tw6869Troy Kisky
2015-05-29ov5640_mipi: simplify mipi clock wait loopTroy Kisky
2015-05-29ov5640_mipi: print message on gpio request failureTroy Kisky
2015-05-29mxc_v4l2_capture: add ipu_id to sensor_dataTroy Kisky
2015-05-29ov5640_mipi: add remove *2 and add error checking to OV5640_get_sysclkTroy Kisky
2015-05-29ov5640_mipi: add imx6 mipi/parallel selectionTroy Kisky
2015-05-29ov5640: add pwm option for mclkTroy Kisky
2015-05-29ov5642: add imx6 mipi/parallel selectionTroy Kisky
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
2015-05-29fix camera power downTroy Kisky
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
2015-05-29mxc_v4l2_capture: fix VIDIOC_ENUMSTD, return -EINVAL if index > 0Troy Kisky
2015-03-16MLK-10423: Capture: System hang if capture test app been killedSandor Yu
System will hang if csi unit test mx6s_v4l2_capture.out process been killed. In csi capture driver function mx6s_csi_enable/disable is called by vidioc_streamon/streamoff function. But when csi unit test process is killed, vidioc_streamon/streamoff will not been called, and csi function still working even the csi clock is gated. Move mx6s_csi_enable/disable function from mx6s_vidioc_streamon/streamoff function to mx6s_start_streaming/ mx6s_stop_streaming function to resolve the issue. Signed-off-by: Sandor Yu <R01008@freescale.com> (cherry picked from commit fe3700b2dc97952ef5a055a48e1d5ba89e11b7dd)
2015-03-05MLK-10371: ov5640: Rename int-device ov5640 driver to ov564xSandor Yu
There are two ov5640 driver in kernel, one is subdev ov5640 driver, the other is int-device ov5640 driver. Rename int-device ov5640 driver to ov564x. Signed-off-by: Sandor Yu <R01008@freescale.com> (cherry picked from commit a084ad80684a5b2800d3610e22b4352da88cb749)
2015-02-12MLK-10249: vadc: improve vadc video mode detectedSandor Yu
After enable dispmix function, vadc driver 50% failed to detect video mode. Add video signal state check before read the result of video mode detect, vadc driver detected correct video mode increase to 95%. Signed-off-by: Sandor Yu <R01008@freescale.com> (cherry picked from commit b95957f4bc258c86683501d60f70371366ce3bd3)
2015-02-12MLK-10232-1: vadc: Add vadc to generic pm domainSandor Yu
Vadc in the dispmix power domian, the register will been reset when dispmix power off, add vadc to generic pm domain, dispmix will not power off when vadc driver loading. Signed-off-by: Sandor Yu <R01008@freescale.com> (cherry picked from commit e06f7339c01d6f77a94cfc8fc22276d03841fecf)
2015-01-30MLK-10182: cam :Module can't load/unload twice without camera connectedSandor Yu
If no camera connected, ov5640 driver loading failed, but the driver have register subdev by v4l2_async_register_subdev. v4l2_async_unregister_subdev function in remove function and not been called when module unloading. Same subdev can not register twice, v4l2 async driver will print error message in the second module loading. Move v4l2_async_register_subdev function after ov5640 is succeed found to fix the issue. Signed-off-by: Sandor Yu <R01008@freescale.com>
2015-01-30MLK-10137:csi: Return physical address in querybuffer callSandor Yu
GST application want to use physical address even video buffer allocated with type of V4L2_MEMORY_MMAP. So add a trick in querybuffer function, if video buffer flags is setting to V4L2_BUF_FLAG_MAPPED, overwirte m.offset with physical address. Signed-off-by: Sandor Yu <R01008@freescale.com>
2015-01-22MLK-10117-3:csi: remove runtime suspend/resume functionSandor Yu
CSI v4l2 capture driver have involved to generic pm domain, runtime_suspend/resume function will been called when system suspend/resume. It will cause request_bus_freq/release_bus_freq called counter mismatch. So move request_bus_freq/release_bus_freq function to device open/close function. Signed-off-by: Sandor Yu <R01008@freescale.com>
2015-01-19MLK-10115: ov5640:define function ov5640_turn_on_AE_AG() with staticSandor Yu
ov5640 driver will failed to build with build-in: drivers/media/platform/mxc/subdev/built-in.o: In function `ov5640_turn_on_AE_AG': ov5640.c:(.text+0x3890): multiple definition of `ov5640_turn_on_AE_AG' drivers/media/platform/mxc/capture/built-in.o:v4l2-int-device.c:(.text+0x783c): first defined here make[3]: *** [drivers/media/platform/built-in.o] Error 1 make[2]: *** [drivers/media/platform] Error 2 make[1]: *** [drivers/media] Error 2 make: *** [drivers] Error 2 make: *** Waiting for unfinished jobs.... It is caused by function of ov5640_turn_on_AE_AG define as global function, change it to static function to resolv the issue. Signed-off-by: Sandor Yu <R01008@freescale.com>
2015-01-15MLK-10092-1 ov5640: Rename compatible string from ov564x to ov5640Sandor Yu
There are two version ov5640 driver, one is written with v4l2 int-device architecture, and the other is written with v4l2 subdev architecture. Rename subdev ov5640 compatible string from ov5640x to ov5640 to distinguish with ov5640 int-device driver. so ov564x is used for int-device architecture and ov5640 is used for subdev architecture. Signed-off-by: Sandor Yu <R01008@freescale.com>
2015-01-15MLK-10084 media: mxc vout: Correct black color filling for interleaved formatsLiu Ying
In non-linear_bypass_pp and non-tiled_bypass_pp modes, the triple fbdev frame buffer would be rendered with video frames in turn. We need to fill all the three frame buffers with black color before streaming on instead of filling only one of them. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit e0155001082abc2432ec54ac86f56abbbb744fd3)
2015-01-15MLK-10082: vadc: Add suspend/resume functionSandor Yu
Add suspend/resume function in vadc driver. Signed-off-by: Sandor Yu <R01008@freescale.com>
2015-01-15MLK-10081: csi: Add pm_runtime functionSandor Yu
Add pm_runtime function in csi driver. Signed-off-by: Sandor Yu <R01008@freescale.com>
2015-01-15MLK-10068 pxp: Correct YUV32 format in PXPSandor Yu
YUV32 format in PXP actually is VUYA, so change format define from AYUV to VUYA. Signed-off-by: Sandor Yu <R01008@freescale.com>