summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2013-11-07Added support for faster frame rate for small resolutions for mt9m111 ↵Andrei Andreyanau
(VM-009) camera. Signed-off-by: Andrei Andreyanau <a.andreyanau@sam-solutions.com> modified: drivers/media/video/mt9m111.c Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07Modify da9063 i2c driver. Added capability wakeup from da9063 irq (in ↵Anatoly Palto
particular 'power' button) Signed-off-by: Uladzimir Bely <u.bely@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07Fix mistake in da9063 driver to work onkeyeventsAnatoly Palto
Signed-off-by: Uladzimir Bely <u.bely@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07Removed 12 bit support from host camera driverAndrei Andreyanau
modified: drivers/media/video/mxc_camera.c modified: include/media/soc_camera.h Signed-off-by: Uladzimir Bely <u.bely@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07Added new divider for 54MHz MCLK for mt9p031 camera. Also, recalculated ↵Andrei Andreyanau
dividers for 26MHz clock source and 48/96MHz PCLK for mt9p031 camera. modified: arch/arm/mach-mx6/board-mx6q_phyflex.c modified: drivers/media/video/mt9p031.c Signed-off-by: Uladzimir Bely <u.bely@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07Fixed bayer sync for mt9p031 camera driverAndrei Andreyanau
modified: drivers/media/video/mt9p031.c Signed-off-by: Uladzimir Bely <u.bely@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07Set hblank to calculate values to get optimal fps for different resolutions.Andrei Andreyanau
modified: drivers/media/video/mt9p031.c Signed-off-by: Uladzimir Bely <u.bely@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07Fixed top/left position calculation for mt9p031 camera driverAndrei Andreyanau
modified: drivers/media/video/mt9p031.c Signed-off-by: Uladzimir Bely <u.bely@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07Cosmetic changes to tw9910 driver.Dmitry Lavnikevich
Disabled some warnings printing: in try_fmt and s_fmt functions - their return code indicates the correctness of applied formats so there is no need to print each time messages. Especially it is meaningfull since gstreamer v4l source plugins are usually trying several different formats until they found correct. Signed-off-by: Uladzimir Bely <u.bely@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07Implemented video capture board led control.Dmitry Lavnikevich
For led control pca9538 is used. Currently both green and red leds are on for selected video input. Signed-off-by: Uladzimir Bely <u.bely@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07Enabled deinterlacing for interlaced sensors.Dmitry Lavnikevich
Works through CPMEM of CSI_MEM channels to do deinterlacing. Signed-off-by: Uladzimir Bely <u.bely@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07Added support for specific setting for different resolutions for MT9P031 ↵Andrei Andreyanau
camera. Fixed support for switching on/off internal pll of MT9P031 camera and selecion of various target clocks (through the params got from the board specific code). modified: drivers/media/video/mt9p031.c Signed-off-by: Uladzimir Bely <u.bely@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07Added base implementation of tw9910.Dmitry Lavnikevich
* soc_camera driver now tries to call enum_input, g_input and s_input handlers from host camera driver if such exists; * tw9910 v4l device type redefined from V4L2_INPUT_TYPE_TUNER to V4L2_INPUT_TYPE_CAMERA; * added basic implementation of g_input and s_input for managing current videoinput handlers to tw9910 driver; Note: currently deinterlacing is disabled by default in the mxc_ipu driver so tw9910 returns interlaced image. Deinterlacing mode can be hardcoded on in the csi_enc_setup(struct mxc_camera_dev *cam) from drivers/media/video/mxc_ipu_csi_enc.c. Signed-off-by: Uladzimir Bely <u.bely@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07Code optimization for calculation of correct binning/skipping values for ↵Andrei Andreyanau
mt9p031 camera modified: drivers/media/video/mt9p031.c Signed-off-by: Uladzimir Bely <u.bely@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07fec: tune RSEM and RSFL values for tapeout 1.0Eric Nelson
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07fec: enable tx/rx of pause frames for mx6qTroy Kisky
I don't know what ticket TKT116501 is but I don't see a problem with pause frame enabled on rev 1.0 silicon. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07fec: fix rx error countsTroy Kisky
On an overrun, the other flags are not valid, so don't check them. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07fec: stop the "rcv is not +last, " error messagesTroy Kisky
Setting the FTRL register will stop the fec from trying to use multiple receive buffers. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07mt9m001: Fix the testpattern bit overwritten.Christian Hemp
In the driver the testpattern bit (bit 6) are overwritten. To correct this issue the first bit is to be masked. Signed-off-by: Heiko Fendrich <h.fendrich@phytec.de> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07EDT-FT5x06: named the requested gpiosEnrico Scholz
Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07EDT-FT5x06: allow unconfigured reset gpioEnrico Scholz
Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07EDT-FT5x06: kernel 3.0 adaptationsEnrico Scholz
Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07EDT-FT5x06: initial checkin of upstream FT5x06 patchEnrico Scholz
Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07Fixed mt9p031 camera driver. Recalculated values for correct vblank/hblank. ↵Andrei Andreyanau
modified: drivers/media/video/mt9p031.c Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07Fixed support for Micrel's ksz9031 Gigabit phy modified: ↵Andrei Andreyanau
drivers/net/phy/micrel.c modified: include/linux/micrel_phy.h Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07Added mt9p031 camera sensor supportRaman Tunik
Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07Added support working two touch screens simultaneouslyAnatoly Palto
Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07Added default LVDS out enable in the mt9v022 camera driver.Dmitry Lavnikevich
Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07Fixed support for mt9v024 colour/monochrome camera sensor (uses mt9v022 ↵Andrei Andreyanau
kernel driver) modified: drivers/media/video/mt9v022.c modified: include/media/v4l2-chip-ident.h Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07Beautify codeAndrei Andreyanau
modified: drivers/media/video/mt9v022.c Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07mxc_camera: Fix byte ordering for RGB formatsYauhen Kharuzhy
Signed-off-by: Yauhen Kharuzhy <y.kharuzhy@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07soc_camera mt9m111 sensor: Add support of big-endian RGB and BGR formatsYauhen Kharuzhy
The sensor has ability to swap even and odd bytes in two-byte formats and swap color components. Use this for support big endian RGB565, RGB555, BGR565 and little endian BGR565. Signed-off-by: Yauhen Kharuzhy <y.kharuzhy@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07Fixed mt9v024 camera supportAndrei Andreyanau
modified: drivers/media/video/mt9v022.c Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07Added support for mt9v024 cameraAndrei Andreyanau
modified: drivers/media/video/mt9v022.c Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07mxc_camera: Select right IPU IRQ for channels other than CSI0Yauhen Kharuzhy
Signed-off-by: Yauhen Kharuzhy <y.kharuzhy@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07MXC camera: select DMA channel based on nubmer of CSI interfaceYauhen Kharuzhy
Signed-off-by: Yauhen Kharuzhy <y.kharuzhy@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07MXC camera: add ability to set MCLK rateYauhen Kharuzhy
Add ability to set rate and enable/disable of MCLK signal from CPU to sensor. Signed-off-by: Yauhen Kharuzhy <y.kharuzhy@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07MXC IPU capture: add support for greyscale formatsYauhen Kharuzhy
Add support for 8-bit and 10-bit grayscale data on CSI interface (non-tested yet). Signed-off-by: Yauhen Kharuzhy <y.kharuzhy@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07mxc_camera: Port Freescale's capture driver to soc_camera frameworkYauhen Kharuzhy
Port is based on mx3_camera driver and uses Freescale's IPU driver for all low-level operations. Signed-off-by: Yauhen Kharuzhy <y.kharuzhy@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07SD-cards stability fix replaced with more appripriate. - selected maximum ↵Dmitry Lavnikevich
speed pin settings as defaults; - turned off 1.8V-flag for SD-slots since on current base board doesn't have sd-cards voltage regulation support; - reverted changes done by previous fix. Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07mxc_v4l2_capture: Add ioctls handlers for overlay functionYauhen Kharuzhy
Signed-off-by: Yauhen Kharuzhy <y.kharuzhy@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07mxc_v4l2_capture: Split monster ioctl handler and use standard video_ioctl2Yauhen Kharuzhy
Signed-off-by: Yauhen Kharuzhy <y.kharuzhy@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07mt9m111 camera: Set right ident fieldYauhen Kharuzhy
Signed-off-by: Yauhen Kharuzhy <y.kharuzhy@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07Integrate Dialog DA9063 PMIC support for phyFLEX modules with revision later ↵Dmitry Lavnikevich
than 1362.1 Conflicts: arch/arm/mach-mx6/Makefile Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07MXC capture: Implement VIDIOC_ENUMFMT ioctlYauhen Kharuzhy
Signed-off-by: Yauhen Kharuzhy <y.kharuzhy@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07MXC capture: Add frame rate control for mt9m111 sensorYauhen Kharuzhy
Add frame rate set/get methods to ioctl handlers. Signed-off-by: Yauhen Kharuzhy <y.kharuzhy@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07MXC capture: Disable debug for mt9m111 driverYauhen Kharuzhy
Signed-off-by: Yauhen Kharuzhy <y.kharuzhy@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07MXC capture: Add mt9m001 driver (not working yet)Yauhen Kharuzhy
Signed-off-by: Yauhen Kharuzhy <y.kharuzhy@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07mxc mt9m111: Return right mclk rate to capture driverYauhen Kharuzhy
Signed-off-by: Yauhen Kharuzhy <y.kharuzhy@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2013-11-07MXC V4L mt9m111: Add VIDIOC_ENUM_FMT ioctl handlerYauhen Kharuzhy
Add handler for enumerating formats supported by sensor. Signed-off-by: Christian Hemp <c.hemp@phytec.de>