summaryrefslogtreecommitdiff
path: root/include/media
AgeCommit message (Collapse)Author
2012-07-11media: video: tegra: sh532u: Focuser range tuning supportNaren Bhat
Support for get/set capabilities added. Focuser code has a way to calibrate itself that results in determination of optimal working range. This along with actual range from device ROM are returned to the caller. Focuser has the macro at lower end and infinity at farther end of the range, which are reversed to the user level to keep the inf/macro positions to be consistent. Focuser range translation is taken out. Bug 1004816 Change-Id: I1a086ff10e99940f9ad861397bf7e71e9996c68a Signed-off-by: Naren Bhat <nbhat@nvidia.com> Reviewed-on: http://git-master/r/110443 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Charlie Huang <chahuang@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Patrick Shehane <pshehane@nvidia.com> Tested-by: Charlie Huang <chahuang@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-06-14media: video: tegra: ar0832: Make focuser range, slew rate tunableNaren Bhat
The range parameters & slew rate from the blocks-camera are being passed down to ODM and then to kernel. Generic structure added for sharing the data between ODM and kernel instead of specific structure. Bug 954874 Change-Id: I84656e36a5a2721c007de78aa5c20f5dfeb00361 Signed-off-by: Naren Bhat <nbhat@nvidia.com> Reviewed-on: http://git-master/r/102077 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-06-04arm: tegra: resolve compilation time warningsSanjay Singh Rawat
Bug 949219 Change-Id: I91a67d30869e9800c483f112d58b9f76e2dbe361 Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/103534 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-05-31media: video: ov2710: add sensor group holdPablo Ceballos
Implements a group hold so that the gain, frame length, and coarse time can all be written in one ioctl call Also fixes AEC manual control register value Also implements bulk i2c send in the same way as ov5650 Bug 953910 Change-Id: Iaa2e8ac6c0156564920696afaa099321db6314f6 Signed-off-by: Pablo Ceballos <pceballos@nvidia.com> Reviewed-on: http://git-master/r/94380 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Frank Chen <frankc@nvidia.com> Reviewed-by: Patrick Shehane <pshehane@nvidia.com> Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
2012-05-24media: video: tegra: Add ad5816 focuser driverSudhir Vyas
- Implement new focuser ad5816 driver. - Complies to latest NVC framework. Bug 947792 Change-Id: I1661de027062d2a9b4112fd24dc255d810c7afa0 Signed-off-by: Sudhir Vyas <svyas@nvidia.com> Reviewed-on: http://git-master/r/103131 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-05-18media: video: tegra: add EMC clock rate controlJihoon Bang
Add EMC clock rate control to tegra_camera ioctl. This change allows user space to change EMC clock requirement for camera based on use case and resolution. For example, video recording use case needs more than double memory bandwidth of preview use case. Bug 964635 Change-Id: Ibe5a77a810869b53b6e057f2ee62ebb96997c2f4 Signed-off-by: Jihoon Bang <jbang@nvidia.com> Reviewed-on: http://git-master/r/101274 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
2012-05-14media: video: tegra: ov5640: add supportCharlie Huang
add ov5640 yuv sensor support - initial. bug 921322 Change-Id: I813afa8963e39afe475f9fdd43152cfaf1a16ae1 Signed-off-by: Charlie Huang <chahuang@nvidia.com> Reviewed-on: http://git-master/r/99506 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Frank Chen <frankc@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-05-04media: video: tegra: ov5650: read sensor fuse idCharlie Huang
The sequence of read fuse id is: 1. write to OTP index register 0x3d00. 2. read out byte from ox3d04. 3. repeat step 1 to the next byte with its index respectively. also fixed ov5650_read_reg always fail issue. bug 957657 Change-Id: I649a7765320d0d4be8111a7f523d8487b872b620 Signed-off-by: Charlie Huang <chahuang@nvidia.com> Reviewed-on: http://git-master/r/98330 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Wei Chen <wechen@nvidia.com> Reviewed-by: Frank Chen <frankc@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-05-01media: video: tegra: sh532u focus driverErik Lilliebjerg
- Abort initialization if an I2C error to avoid excessive load on the I2C bus since it is heavily used during initialization. - Updated to the latest NVC framework. - Added feature that allows for the key focus points to be set at runtime and the relative positions recalculated. Bug 929133 Bug 938934 Change-Id: Ida4ab885bf35057ae6df131e3ec3587a891a7dc9 Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-on: http://git-master/r/93944 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-04-24media: video: tegra: tegra_camera: re-arch power and clockJihoon Bang
There are a couple of issues found in tegra_camera. 1. clock enable/disable is controlled by user space. -> If client process crashes, there is no way to disable clock. 2. power enable/disable is associated with clock enable. -> There is no reason to relate power with clock. -> There is only one regulator for this driver. -> As same as #1, it may leave power up when client process crashes. 3. driver allows multiple clients to access. -> This is not the case for this driver. This changes addresses the problems described above. Bug 948780 Change-Id: Ie534771327175f56cf0e138f1c07096ddba470a8 Signed-off-by: Jihoon Bang <jbang@nvidia.com> Reviewed-on: http://git-master/r/92386 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: David Schalig <dschalig@nvidia.com> Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
2012-04-23media: common camera headerErik Lilliebjerg
- Add valid flag to GPIO runtime structure so that scratch flag can be used for other purposes. Bug 852480 Change-Id: Ie5e36b733fe67b504e83efcf606be264725c987c Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-on: http://git-master/r/94156 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-03-22media: common camera headersErik Lilliebjerg
- Add support for ISP focus Bug 852480 Change-Id: Ibd4c983d80a5021a88b46033c51c26d1b8120e62 Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-on: http://git-master/r/91203 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-03-15dtv: Added description for interface configurationAdam Jiang
fixed bug 947324 Change-Id: Ib85ee5d7e67def321cbde49ad41e2b194e1bd2e8 Signed-off-by: Adam Jiang <chaoj@nvidia.com> Reviewed-on: http://git-master/r/86483 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
2012-02-18media: common camera headersErik Lilliebjerg
Bug 852480 Change-Id: If7d74d81f29d325846f8744c957f007e9c0f153a Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-on: http://git-master/r/84419 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-01-30media: video: ov5650: add sensor group hold.Frank Chen
Grouphold gain and coarse_time register writes. Make gain and coarse_time set in one ioctl call. Bug 924213 Reviewed-on: http://git-master/r/74622 Change-Id: I648e4c24c1a048629757abc21afba092d1484d04 Signed-off-by: Yining Deng <ydeng@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/77762 Reviewed-by: Automatic_Commit_Validation_User
2012-01-13Tegra: DTV: Added dtv driverAdam Jiang
Tegra2/3 has a dedicated Digital TV interface for receiving serial TS stream. This is the initial version for the DTV interface. The driver provided a device node as /dev/tegra_dtv and enabled several ioctls to configure hardware. User land applications could get serial TS data via system call read() on the device node. The read() operation is blocked io. Fixed Bug 904626 Fixed Bug 881303 Change-Id: Iad4629bed3c4c959b9178b387b084cdeaf7c3f69 Signed-off-by: Adam Jiang <chaoj@nvidia.com> Reviewed-on: http://git-master/r/66625 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com> Reviewed-on: http://git-master/r/74891 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-12-22media: video: tegra: sh532u focuser driverErik Lilliebjerg
Fix focus position HW abstraction algorithm. The new algorithm uses a best-fit loop that allows for extra focus positions at each end of the focus range. Bug 909087 Change-Id: Ib25913e6ad5a6644a550f76cba94800bd664143e Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-on: http://git-master/r/70466 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-12-08media: video: tegra: TPS61050 torch driverErik Lilliebjerg
- Added multi-instance support with sync capability - Added GLOS power scheme - Standardized the IOCTL API Bug 860351 Bug 850614 Bug 852480 Bug 872156 Bug 824459 Change-Id: I858edfb4437ca1f7121790a5580b8825a8d925ae Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-on: http://git-master/r/66164 Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2011-11-30media: video: tegra: sh532u driverErik Lilliebjerg
- Added multi-instance support with sync capability - Added GLOS power scheme - Standardized the IOCTL API Bug 865305 Change-Id: I37bcf306477d30589f3985d9370c59450842d340 Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-on: http://git-master/r/66116 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Gerrit_Virtual_Submit Rebase-Id: Rb4fb40adf45cfd5359ebc4da6efc0ff2b0beeb9e
2011-11-30media: common camera headerErik Lilliebjerg
This is the common header for the camera devices: imager, focuser, and torch. Bug 852480 Change-Id: I0a7d7486ca71e97f1ff7f923795146b3e151eb12 Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-on: http://git-master/r/66419 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Tested-by: Gerrit_Virtual_Submit Rebase-Id: R812b8f9b958706565a512380abe4e1be3a567c6b
2011-11-30media: video: tegra: SSL3250A torch driverErik Lilliebjerg
- Added multi-instance support with sync capability - Added GLOS power scheme - Standardized the IOCTL API Bug 882012 Bug 866726 Bug 896181 Bug 894789 Bug 861828 Bug 852480 Bug 872156 Change-Id: Ic315a9ed404854e13568c5b5afae60415a19b093 Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-on: http://git-master/r/66052 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R516fb9110c4fc654ba0d3e1289a3d0eb938a805d
2011-11-30video: tegra: ov9726: follow linux conventionCharlie Huang
move the set mode table from odm driver to the kernel driver. Bug 856739 Original Gerrit: http://git-master/r/#change,60741 (cherry picked from commit 18e2d9f8b61767a4dc0df7621531d1b040fe3ca0) Change-Id: I22fd3e012c3f91a0c7cd07a00ae25987b4cb75dd Reviewed-on: http://git-master/r/61666 Reviewed-by: Charlie Huang <chahuang@nvidia.com> Tested-by: Charlie Huang <chahuang@nvidia.com> Reviewed-by: Frank Chen <frankc@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Rebase-Id: R75397527d8b9b33c186b71d87866f8ca5ab2f9c3
2011-11-30media: video: tegra: ar0832: Sunny P8M01E supportCharlie Huang
Add support of Sunny P8M01E module (AKA aptina 8141) This new module is identical with 8140 plus pixel improvement. Use different recommended register settings for each sensor. Add function to figure out the sensor id and let the odm driver pick up the right config data. Bug 868929 Original Gerrit: http://git-master/r/#change,53022 (cherry picked from commit f59f83468f71980c9ce3204df3a34f2aafffc512) Change-Id: Ibed03f01b13a22a75753f8495ab17eb6077a99d3 Reviewed-on: http://git-master/r/60765 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R10688d303b3b7c401a58c8fb069654dade019d47
2011-11-30media: video: tegra: OV14810 sensor supportkdivvela
Support for OV14810 (14MP) sensor Bug 839441 Reviewed-on: http://git-master/r/47714 (cherry picked from commit 2a9be1047fe93fba46c32edf60054261cc90970b) Change-Id: Ib5c55c56017f4f18312c5b4fdc2c884857003f5f Reviewed-on: http://git-master/r/58657 Reviewed-by: Krupal Divvela <kdivvela@nvidia.com> Tested-by: Krupal Divvela <kdivvela@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Ra0bf2a7d2fdfff8303dcdb84b8655afce11a4a12
2011-11-30media: tegra_camera: Enable Null sensorkdivvela
Enable pd2vi_clk in case of Null sensor Bug 870406 Reviewed-on: http://git-master/r/50822 (cherry picked from commit 4eaca0ed7652aacf1bf56d1f7ad1ff1bd39c73a9) Change-Id: Ie508e3addf4e757201bed9499dbba2887a8d423f Reviewed-on: http://git-master/r/55199 Tested-by: Krupal Divvela <kdivvela@nvidia.com> Reviewed-by: Prayas Mohanty <pmohanty@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Rdc286d25cf01b6bae9e50accf618cb96e17c5bd9
2011-11-30media: tegra: Adding member flag in tegra_camera_clk_infoSachin Nikam
In struct tegra_camera_clk_info adding member flag. This will create a same IOCTL number for TEGRA_CAMERA_IOCTL_CLK_SET_RATE as of user space. Bug 872674 Change-Id: I23c725a50bad429b27498662370698c6734f82d5 Signed-off-by: Sachin Nikam <snikam@nvidia.com> Reviewed-on: http://git-master/r/51762 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Rc70f14f716ed3df266d0ba37f993b29aa6c639a4
2011-11-30media: video: ov5650: add 2x2 binning mode controlChangyeon Jo
Add IOCTL (OV5650_IOCTL_SET_BINNING) that user code can access to registers which have 2x2 binning control bits. Bug 835589 Original-Change-Id: I07f8d3536fcdb92e8bae0af294d1a0f8523cefbc Reviewed-on: http://git-master/r/43727 Tested-by: Changyeon Jo <cjo@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R36b1a800652a73e5b51dd56f30e0f56f6dda7d36
2011-11-30ARM: Tegra: Sh532u: enable focuser attached to right cameragaryz
The sh532u focuser is enabled to pair with the stereo right camera with the required power control configurations. Bug 827897 Original-Change-Id: Icc21bcd2327671da193a8b8f24c338b0b2f6729c Reviewed-on: http://git-master/r/36571 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R5c6dcd9b9c2bc7ab89870ee13da408ee0a392276
2011-11-30media: video: tegra: enable ov9726 sensorCharlie Huang
initial support for sensor ov9726 bug 829399 Original-Change-Id: I67315dfce7baf2c14f49bf526c10fe19cf32d1d3 Reviewed-on: http://git-master/r/40472 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Reviewed-by: Chonglei Huang <chahuang@nvidia.com> Tested-by: Chonglei Huang <chahuang@nvidia.com> Rebase-Id: R31312b2b0fda96348bb14461651ccb27aa30b0de
2011-11-30media: video: tegra: support multiple camerasJihoon Bang
Separate board specific sequence from ar0832 driver and add it to board files. Add function that changes device slave address in real time to support multiple devices in the same I2C bus. Bug 844021 Original-Change-Id: I48641909eb531b4ba827096bc30fa4eccf83469e Reviewed-on: http://git-master/r/40385 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Reviewed-by: Jihoon Bang <jbang@nvidia.com> Tested-by: Jihoon Bang <jbang@nvidia.com> Rebase-Id: R4b761bd3b09ed2b0101b03e8be737c25e5c3ee5f
2011-11-30media: video: tegra: enable ar0832 sensorJihoon Bang
Support only one sensor for now. Original-Change-Id: I1d0b804077e271052a6d6f4554865675fa70d612 Reviewed-on: http://git-master/r/36779 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R88b01bf956bdfabd8f13d883ea93a7d8e542d248
2011-11-30media: video: tegra: TPS61050 flash driverDanielle Sun
Kernel driver for TPS61050 flash/torch camera device. Bug 794431 Original-Change-Id: I760bd086c283076dc7136bd8ccd6b75e6e823ea8 Reviewed-on: http://git-master/r/34208 Tested-by: Erik M Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-by: Michael Stewart <mstewart@nvidia.com> Reviewed-by: John Sasinowski <jsasinowski@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Radb862760f165e40b764b3bb104787427d024c7e
2011-11-30media: video: update copyright headersFrank Chen
update headers for camera files bug 846086 Original-Change-Id: Id53c77ead17b569ad05c0a5b8ec7f2a5d1aef869 Reviewed-on: http://git-master/r/39102 Reviewed-by: Erik M Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-by: Abhinav Sinha <absinha@nvidia.com> Reviewed-by: Michael Stewart <mstewart@nvidia.com> Tested-by: Frank Chen <frankc@nvidia.com> Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Rebase-Id: R4526cd043ef49dfa4a0c48f5942fca57e81eb4f0
2011-11-30media: video: ov5650: synchronize sensors for stereoPrayas Mohanty
For stereo camera, it is important that both sensors should start sending data at the same time for them to be in sync. Add IOCTL (OV5650_IOCTL_SYNC_SENSORS), which user code can access to synchronize both sensors. bug 787214 bug 786928 Original-Change-Id: I6bf34a8af3b7dd51150d5c0247b6787b824c1dae Reviewed-on: http://git-master/r/30005 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R1b655e1a02514cf0f2258650f6ad86a479a2eabe
2011-11-30media: sh532u: Adding board related init/deinitLaxman Dewangan
When device sh532u is open, it calls board related initialization and de- initialization function. In the board related functions, the client can initialize the required signal, power on/off the device etc. bug 802264 Original-Change-Id: Ie69a6e70c5d104489d248bef538e89263208ee54 Reviewed-on: http://git-master/r/30169 Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Danielle Sun <dsun@nvidia.com> Tested-by: Danielle Sun <dsun@nvidia.com> Reviewed-by: Prayas Mohanty <pmohanty@nvidia.com> Rebase-Id: R026fbf2cd53dfd839875c3edb97aca5b037120c4
2011-11-30ARM: Tegra: Sh532u: Add focus motor state checkGary Zhang
Return last requested position if the motor settled or timeout occurs. Original-Change-Id: Ib0ff58b827fcf871dbf185eb0a284b7fe010aef2 Reviewed-on: http://git-master/r/27978 Reviewed-by: Frank Chen <frankc@nvidia.com> Reviewed-by: Andrei Denissov <adenissov@nvidia.com> Reviewed-by: Gary Zhang <garyz@nvidia.com> Tested-by: Gary Zhang <garyz@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Rebase-Id: Rd5395077ebfd868f65cea951176962594dc476ad
2011-11-30media: video: tegra: ov5650: updated copyrightsPritesh Raithatha
Original-Change-Id: I6f0bc3b5859c8545853051f10bda60ab6ac3dd8b Bug 819975 Reviewed-on: http://git-master/r/29467 (cherry picked from commit 9c4eac8a44eef360c2e5be07838fecc78096847f) Original-Change-Id: If868656a2c8811593974723e85010257b07ed22b Reviewed-on: http://git-master/r/29972 Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com> Tested-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R61798483f1cdcb2c6aec458a36e88ca509de92c9
2011-11-30camera: Add driver for soc380 front sensorAbhinav Sinha
Bug: 783488 Original-Change-Id: I0d70ec5bb0fd880b167e9ced0e002829abeccdbf Reviewed-on: http://git-master/r/24969 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R83f2674bdf0300e8fba97c50e55649ff68ad18a2
2011-11-30media: video: tegra: AD5820: Add AD5820 focuser driver.Frank Chen
Add AD5820 focuser driver for Whistler. Bug 783488 Original-Change-Id: I0d8a08e7df9f472ffc4edfe7bfa255357bff5126 Reviewed-on: http://git-master/r/26970 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R504af41accb317526f17265a2975efa3d42a8947
2011-11-30media: video: tegra: ov5650: add stereo camera supportPritesh Raithatha
-Removed unused sensor mode mode_1920x1088 -Added ov5650_write_reg_helper function to do write_reg() according to camera_mode. -ov5650_get_status function is removed as it is reading reg 2 value and there is not any definition of reg 2 in datasheet and even user space is not using it's value at all. -Added ov5650_set_power function to on/off camera sensors power according to camera_mode. -Added ioctl OV5650_IOCTL_SET_CAMERA_MODE to set camera_mode from user space. -Added i2c driver for right ov5650. Bug 809921 Original-Change-Id: Ib3cf43d0a064c18c218d0850e849fff84e18e661 Reviewed-on: http://git-master/r/26857 Tested-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-by: George Bauernschmidt <georgeb@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Rf6847be1ff260ea91798a29fbd2ff6d7e26e1711
2011-11-30media: video: tegra: SH532U: fix formatting errorsQinggang Zhou
- fix an incorrect i2c address and a function return check. - add checks for function returns. - remove the developer name in the beginning comment. - fix an uninitialized variable.. Original-Change-Id: I2d42025b7ff47eb6228e626e65990f4da04b94ac Reviewed-on: http://git-master/r/23594 Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Tested-by: Qinggang Zhou <qzhou@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Rebase-Id: R2fcab8b5c5b997791861629c230bbd25e5f42c90
2011-11-30media: video: tegra: SH532U: Add the SH532U focuser driver.Qinggang Zhou
This focuser is from SEMCO and is integrated with OV5650 sensor and LC898211 driver. bug 778859 Original-Change-Id: I6e5dcc129c72aed7d92a00a1d926424050583c1d Reviewed-on: http://git-master/r/22711 Reviewed-by: Qinggang Zhou <qzhou@nvidia.com> Tested-by: Qinggang Zhou <qzhou@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Rebase-Id: R03b55358626eb34807ce5514e1eee5731124619e
2011-11-30Kernel driver for SSL3250A flash/torch camera device.Erik Lilliebjerg
Original-Change-Id: Id5cb40c9823c7fcfd26e45e4608c45b16a2d431a Reviewed-on: http://git-master/r/21351 Reviewed-by: Erik M Lilliebjerg <elilliebjerg@nvidia.com> Tested-by: Erik M Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-by: George Bauernschmidt <georgeb@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R3a3c1112d59a61c52e8a35944d77603154a9598e
2011-11-30media: video: tegra: add ov5650 test pattern modeNathan Lord
Original-Change-Id: Ie894d71f45cc08709daff3f258e0c4676b7778b0 Reviewed-on: http://git-master/r/19687 Reviewed-by: Nathan Lord <nlord@nvidia.com> Tested-by: Nathan Lord <nlord@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R33fa5212af3b1fdd59fb66318419e9187f6a3b5a
2011-11-30media: video: tegra: add driver for ov2710Nathan Lord
Original-Change-Id: I9d9a9a301f23398a13fa7d865058f384288f6c92 Reviewed-on: http://git-master/r/18537 Reviewed-by: Nathan Lord <nlord@nvidia.com> Tested-by: Nathan Lord <nlord@nvidia.com> Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Rddda80e10e9494770257961b12079e7cd345c3a0
2011-11-30camera: add driver for ov5650Pritesh Raithatha
Original-Change-Id: I127ea2a132adf2126c28194e8d778cc46b0a2e63 Reviewed-on: http://git-master/r/10573 Reviewed-by: Chien-Yu Chen <chichen@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R6b57bbe4286b088fe474e57d5fbfd0314b915a9d
2011-11-30media: video: tegra: add basic camera/isp supportRebecca Schultz Zavin
The tegra_camera device includes all clock and regulator functionality needed to support camera on tegra. Change-Id: I281f1cb5f360276af832309e35dbe17c98b62bb3 Signed-off-by: Dima Zavin <dima@android.com>
2011-07-27[media] V4L: initial driver for ov5642 CMOS sensorBastian Hecht
This is an initial driver release for the Omnivision 5642 CMOS sensor. Signed-off-by: Bastian Hecht <hechtb@gmail.com> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-07-27[media] V4L: soc-camera: remove soc-camera bus and devices on itGuennadi Liakhovetski
Now that v4l2 subdevices have got their own device objects, having one more device in soc-camera clients became redundant and confusing. This patch removes those devices and the soc-camera bus, they used to reside on. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-07-27[media] V4L: soc-camera: un-export the soc-camera busGuennadi Liakhovetski
The soc-camera bus is now completely local again. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>