summaryrefslogtreecommitdiff
path: root/drivers/media/video
AgeCommit message (Collapse)Author
2013-10-06driver: modified ov7695 orientationAlvin Park
Preview is showing as vertically-flipped in some camera apps. Modified ov7695 orientation Bug 1316532 Change-Id: I3470131016d637abcf5ea2a5c834272ffd8ee6be Signed-off-by: Alvin Park <apark@nvidia.com> Reviewed-on: http://git-master/r/280973 Reviewed-by: Karl Kim <kkim@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Peter Kim <pekim@nvidia.com>
2013-08-12video:tegra:ad5823 support physical/working rangeKarl Kim
NVCS can't set the full range because the ad5823 driver is clipping position value as working range. This is separated physical and working range Bug 1340766 Change-Id: I61f4dbdc8572fd6b1725a9e0803656b9d0bc1ec4 Signed-off-by: Karl Kim <kkim@nvidia.com> Reviewed-on: http://git-master/r/259886 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jake Park <jakep@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Peter Kim <pekim@nvidia.com>
2013-08-07media:video:tegra: ov5693 using real gain modeKarl Kim
Current OV5693 gain mode is sensor gain. sensor gain mode can't support 16x gain. so gain mode change to real gain mode. Bug 1310144 Change-Id: Iaf71983273655c93847b79ebd384020f14b75ff4 Signed-off-by: Karl Kim <kkim@nvidia.com> Reviewed-on: http://git-master/r/258663 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Peter Kim <pekim@nvidia.com>
2013-07-26Camera: driver: Added getting exposure time API into ov7695 yuv sensor driverAlvin Park
Added getting exposure time API into ov7695 yuv sensor driver Bug 1330342 Change-Id: Icbcacdce5c19515d0f6f6b35f5fc81fa4462f9a4 Signed-off-by: Alvin Park <apark@nvidia.com> Reviewed-on: http://git-master/r/253247 Reviewed-by: Karl Kim <kkim@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Peter Kim <pekim@nvidia.com>
2013-07-19Revert "Revert "media: video: tegra: Set AD5816 focuser to linear mode" Peter Kim
This reverts commit 18237e62a732298a922a8ce9db6d0109394b7f00" This reverts commit 83148877afa7a4d638e709650e66ad3f9857b23f Change-Id: I382be2eb99a2c79e764ac00e31c8df1c99cfaf75 Reviewed-on: http://git-master/r/251331 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
2013-07-18Revert "media: video: tegra: Set AD5816 focuser to linear mode" Peter Kim
This reverts commit 18237e62a732298a922a8ce9db6d0109394b7f00 Change-Id: I83148877afa7a4d638e709650e66ad3f9857b23f Reviewed-on: http://git-master/r/250646 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
2013-07-17media: video: tegra: Set AD5816 focuser to linear modeFrank Chen
This is the proper fix for reducing the stripe pattern noise seen on IMX091 and IMX135 HDR sensors. This fix keeps the backward compatibility for none-AOHDR code path. Bug 1299338 Change-Id: I5621b173f42ca506e87ee2a2213b1e2dfdef6d32 Signed-off-by: Frank Chen <frankc@nvidia.com> Reviewed-on: http://git-master/r/241029 (cherry picked from commit 81128dc9b2f56a658c8f2aad9915fa2b1e42ad1c) Reviewed-on: http://git-master/r/249762 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Karl Kim <kkim@nvidia.com> Reviewed-by: Peter Kim <pekim@nvidia.com>
2013-07-03media: tegra: ov7695: apply 070213 tuning valuesJake Park
Apply ov7695 quality tune register changes from OV, 'OV7695 reference setting_MIPI_24MCLK_o70213_nVidia.txt'. Bug 1278482 Change-Id: If40629b7a4fe7c4c8bd731693f5b8e2cc66bb674 Signed-off-by: Jake Park <jakep@nvidia.com> Reviewed-on: http://git-master/r/244866 GVS: Gerrit_Virtual_Submit Reviewed-by: Karl Kim <kkim@nvidia.com> Tested-by: Karl Kim <kkim@nvidia.com> Reviewed-by: Peter Kim <pekim@nvidia.com>
2013-07-03media: ov7695: WAR for initial greenish previewJake Park
To reduce initial greenish preivew time, 1. start from manual white balance with pre-defined values 2. discard 2 frame 3. move to auto white balance Bug 1304101 Change-Id: Iba4520b94614ccaca8d2d0c037928c70e736ecb8 Signed-off-by: Jake Park <jakep@nvidia.com> Reviewed-on: http://git-master/r/244570 Reviewed-by: Karl Kim <kkim@nvidia.com> Tested-by: Karl Kim <kkim@nvidia.com> Reviewed-by: Peter Kim <pekim@nvidia.com>
2013-07-01video: tegra: nvavp: add support for vde.emcKevin Huang
vde.emc is required to know whether video playback is going on or not. Display efficiency rate is set to 45% if both dc.emc and vde.emc is enabled. vde.emc clock is enabled when non-zero avp.emc clock rate is requested and is disabled when zero avp.emc clock is requested. Bug 1266369 Change-Id: Ic1de7145763a41a8adf11a9e1cd7a1cd723f46e2 Signed-off-by: Kevin Huang <kevinh@nvidia.com> Reviewed-on: http://git-master/r/232614 (cherry picked from commit 1a7d3d91d7491813b8b335f202504152ab137193) Signed-off-by: Kenneth Kwak <kkwak@nvidia.com> Change-Id: I491c6356800309123b9cb3ece9fb32d4dfe00d78 Reviewed-on: http://git-master/r/242227 Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Peter Kim <pekim@nvidia.com>
2013-06-30tegratab: Update edp e-states.Bo Kim
These values are measured on DVT1 or ERS. Bug 1244384 Change-Id: I0f5f73132c0b00d51ea2713d62aade01110ec1c6 Signed-off-by: Bo Kim <bok@nvidia.com> Reviewed-on: http://git-master/r/242722 Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-06-30drivers: tegra: ov7695: edp supportBo Kim
Bug 1244384 Change-Id: Ia44451cd79a5f551f479685d4089e2398a5fc152 Signed-off-by: Bo Kim <bok@nvidia.com> Reviewed-on: http://git-master/r/242293 Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-06-30drivers: tegra: ov5693: edp supportBo Kim
Bug 1244384 Change-Id: Ifb5c71e26c3d2a78c38beeaf20b48b38e6e3cb3c Signed-off-by: Bo Kim <bok@nvidia.com> Reviewed-on: http://git-master/r/242292 Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-06-30media:video:tegra delete msleep delayKarl Kim
AD5823 open time is long due to msleep delay. It is no need. Bug 1315484 Change-Id: Ic0527f2868d4d2d6e11dfd7b40ade4cf0373c44c Signed-off-by: Karl Kim <kkim@nvidia.com> Reviewed-on: http://git-master/r/243350 GVS: Gerrit_Virtual_Submit Reviewed-by: Ruicheng Dai <rdai@nvidia.com> Reviewed-by: Jake Park <jakep@nvidia.com> Reviewed-by: Peter Kim <pekim@nvidia.com>
2013-06-27media:video:tegra: adjusting ad5823 value for rev2Karl Kim
settletime / POS_LOW / POS_HIGH value is adjusted by result of ad5823 charaterization Bug 1308712 Change-Id: I89c0471f3a49d15e54d0293c6a42f12f2d10edbb Signed-off-by: Karl Kim <kkim@nvidia.com> Reviewed-on: http://git-master/r/241635 Reviewed-by: Peter Kim <pekim@nvidia.com>
2013-06-18media: tegra: relocate ov5693 streaming on/offJake Park
- Relocate streaming_off to the start of set_mode() and streaming_on to the end of set_mode(). - Fix some variable name and register address errors. Bug 1271714 Bug 1270541 Bug 1264961 Change-Id: I6e692c43ad2b6aaa7c58f73a513899bd6440dfa7 Signed-off-by: Jake Park <jakep@nvidia.com> Reviewed-on: http://git-master/r/236773 (cherry picked from commit 15d0555e7c0bbd0677e29232e806633016af2651) Reviewed-on: http://git-master/r/237163 (cherry picked from commit d52bbb8303b5356263582b08f0863363667a097f) Reviewed-on: http://git-master/r/239561 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Karl Kim <kkim@nvidia.com> Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-06-18media: ad5823: change the power off sequenceJake Park
Changed power off sequence as recommended. CAM1_AF_PWDN shoud ramp down before VA_CAM1_AF. Because most of devices require power down signal ramps down before power rails. Bug 1300199 Change-Id: I44a60dd90fb7a89cbff344f12ef814b247a9c1ea Signed-off-by: Jake Park <jakep@nvidia.com> Reviewed-on: http://git-master/r/239518 Reviewed-by: Karl Kim <kkim@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2013-06-17media: video: tegra: fix IMX135 line noise issueFrank Chen
Change AD5816 focuser drive mode from switching to linear in order to reduce the line noises in sensor frames. Bug 1299338 Change-Id: I030aab939730a577f5138e44cd24379c66588437 Signed-off-by: Frank Chen <frankc@nvidia.com> Reviewed-on: http://git-master/r/238242 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sean Pieper <spieper@nvidia.com> Reviewed-by: Katharine Ip <kip@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-06-12media: video: tegra: fuse id supportPhil Breczinski
Adds support to read fuse ID from OTP memory on ov2710, ov9726, ov9772, ar0832, and imx091 sensors. Also includes macro-enabled fuse ID programming for ov2710. Adjusts data structure used by fuse ID ioctl to include a field for fuse ID size. Required by nvcamera version 1.8.0 Required by NVCS version 4.10.0 Bug 1198663 Change-Id: Ib3bb0e100e49aea2c6ce13cd069862476d7f4bb6 Signed-off-by: Phil Breczinski <pbreczinski@nvidia.com> Reviewed-on: http://git-master/r/169187 (cherry picked from commit 0ce57617ee1f735759333a589aa2890559053fe0) Reviewed-on: http://git-master/r/232254 Reviewed-by: Brian Bamsch <bbamsch@nvidia.com> Tested-by: Brian Bamsch <bbamsch@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2013-06-11media: tegra: apply ov7695 qualiy tune (060713)Jake Park
Apply ov7695 qualiy tune register change from OV, 'OV7695 reference setting_MIPI_24MCLK_060713_nVidia.txt'. Bug 1278482 Change-Id: If14deae5e49cc766c226e57d91a325b3fb1a8134 Signed-off-by: Jake Park <jakep@nvidia.com> Reviewed-on: http://git-master/r/237108 (cherry picked from commit bf6303da0d525e9656e3da04bde609589945a0c6) Reviewed-on: http://git-master/r/237161 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2013-06-11media: video: tegra: ad5816: Stay on after probePhil Breczinski
Keep power on after probe function. Also change focus position type from u16 to s32 so garbage bytes aren't passed to the raw header. Bug 1283378 Change-Id: I6a045ac93a3045e390cee9bd0a9772c6d7668290 Signed-off-by: Phil Breczinski <pbreczinski@nvidia.com> Reviewed-on: http://git-master/r/237032 Reviewed-by: Zhaoyi Wei <zwei@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Gilbert Yeung <gyeung@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-06-11media: tegra: ad5823: add setting from cal dataJake Park
Added the capability to set pos_high/pos_low from the per unit calibration data for VCM. Bug 1271714 Bug 1270541 Bug 1264961 Change-Id: If459308459523918be153df809f8890b379a797c Signed-off-by: Jake Park <jakep@nvidia.com> Reviewed-on: http://git-master/r/232852 (cherry picked from commit 2c86c26fd86d913980503bd860de4fcfb9b84c73) Reviewed-on: http://git-master/r/222636 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2013-06-10media:video:tegra: adjusting ad5823 valueKarl Kim
settletime / POW_LOW / POS_HIGH / VCM_MODE_TIME value is adjusted by result of ad5823 characterization. Bug 1288326 Change-Id: Ibb22927049610d6ea3b5df499b2aa322c2d3e548 Signed-off-by: Karl Kim <kkim@nvidia.com> Reviewed-on: http://git-master/r/235435 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Jake Park <jakep@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2013-06-10media: video: tegra: Fix ov5693 preview flashing issueFrank Chen
Set MGC register to use sensor gain instead of real gain. Change-Id: I949637ec50230539bccdb0acfc4e069165fba33d Signed-off-by: Frank Chen <frankc@nvidia.com> Reviewed-on: http://git-master/r/234764 Reviewed-on: http://git-master/r/234785 (cherry picked from commit 25bd6126c61fb839411ae9570249f465b005722c) Reviewed-on: http://git-master/r/236900 Reviewed-by: Yin-Chia Yeh <yyeh@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2013-06-10Camera: Kernel: modified ov5693 power on/off sequenceAlvin Park
1. modified ov5693 power on/off sequence 2. removed unused power rail 3. removed delay code Bug 1234944 Change-Id: I681088faeb3dd663bae1e3f827270da2270a65f2 Signed-off-by: Alvin Park <apark@nvidia.com> Reviewed-on: http://git-master/r/233584 (cherry picked from commit 1a6856f773b4a27d1d1035abea7958c0dc190b56) Reviewed-on: http://git-master/r/236899 Reviewed-by: Frank Chen <frankc@nvidia.com> Tested-by: Frank Chen <frankc@nvidia.com> Reviewed-by: Yin-Chia Yeh <yyeh@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2013-06-06Merge branch 'dev_17' into 'rel_17' Set 3Gary Fitzer
video: tegra: dw9718: enable auto-detect support Bug 1250073. Change-Id: Iabbf3d13e07ce053a74a8b6ff9dca610dfc6e55a Signed-off-by: Gary Fitzer <gfitzer@nvidia.com> media: video: tegra: imx135 flash support enable imx135 on-sensor flash strobe. bug 1277452 Change-Id: I9fb1bc50567d2f2c2e911420104b8350711022d4 Signed-off-by: Charlie Huang <chahuang@nvidia.com> media: video: tegra: max77387: add flash device it is used with imx135 camera sensor. bug 1277452 Change-Id: I94eb413b0594b1abc70d9c9d62114782708678df Signed-off-by: Charlie Huang <chahuang@nvidia.com> media: tegra: dw9718: Fix dw9718 settle time Fix focuser settle time Change-Id: Idab65b6800137d55d04842ff04d721b7847366de Reviewed-on: http://git-master/r/218461 (cherry picked from commit 10b6451fa99afdcfe947df2366116fccac1591cb) Signed-off-by: Michael Lin <mlin@nvidia.com> arm: tegra11: config: enable OV5693 and AD5823 Bug 1250073. Change-Id: Ic8714f22925ab9e6d76c944c33a8fe0d45c5015e Signed-off-by: Gary Fitzer <gfitzer@nvidia.com> arm: tegra: add autodetect imaging sensors Add autodetect check for IMX135, AR0833, and OV5693 Change-Id: I05638424067be1496d0f70e8ee900b721b34bf0e Signed-off-by: Gary Fitzer <gfitzer@nvidia.com> arm: tegra: Add imx132 sensor support for Dalmore The new E1812 camera board for Dalmore has IMX135 and IMX132 sensors. Bug 1250073 Change-Id: Id8691bc219d1bd13b12c4ad49725ed3b706f1f61 Signed-off-by: Frank Chen <frankc@nvidia.com> ARM: tegra: dalmore: update imx135 on sensor flash enable imx135 on sensor flash function. setup max77387 which is used with imx135. bug 1277452 Change-Id: I4e5fea14defbd84f25fac238001e528d5b24dfca Signed-off-by: Charlie Huang <chahuang@nvidia.com> ARM: dalmore: sensor specific focuser settings imx091/imx135 modules use the same vcm driver ad5816 but their actuarator's charactoristics are different. overwrite focuser setting in the ad5816 focuser detect function if the sensor detected is imx135. update dw9718 focuser range. bug 1272352 Change-Id: I8dd7ccc97533e1dd47c341b1aa8660d86fe52baa Signed-off-by: Charlie Huang <chahuang@nvidia.com> video: tegra: ad5816: enable auto-detect support Bug 1250073. Change-Id: I1c30757d0570e9e4d51f3326d2c0fe233f8cf046 Signed-off-by: Gary Fitzer <gfitzer@nvidia.com> (cherry picked from commit c3a21f51fc6c5a9935f8e52aa3149ddb0de66ac6) media: video: tegra: ad5816: customise setting different sensor modules have specific focuser settings like actuator resonance frequency and optimal arc mode. the settings should be carried in the sensor board file. bug 1272352 Change-Id: I6bb086faaf3ccfb62ed2a900befe755010dde0d1 Signed-off-by: Charlie Huang <chahuang@nvidia.com> (cherry picked from commit 52ac0ee51a8fe80379b4c07d21198c1cfc0c80c9) Signed-off-by: Frank Chen <frankc@nvidia.com> ARM: configs: tegra11: defconfig: enable max77387 bug 1277452 Change-Id: I220cddcd7cc856b0906d089a7a5a6e384391ea10 Signed-off-by: Charlie Huang <chahuang@nvidia.com> Signed-off-by: Frank Chen <frankc@nvidia.com>
2013-06-05media: video: tegra: Update ad5816 rangeSudhir Vyas
Update focuser calibrated working range. Bug 1297156 Change-Id: I3203420b1d077a33bf8373b32207a212363e316a Signed-off-by: Sudhir Vyas <svyas@nvidia.com> Reviewed-on: http://git-master/r/234970 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2013-06-03media: video: tegra: OV7695: Rotate 180 degreeJinyoung Park
Fix issue that image is rotated 180 degree. Bug 1290264 Change-Id: I58cdfceac947f51dfb9f5a7451c7adef9bb93baf Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/229672 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2013-05-30Merge remote-tracking branch 'origin/dev/svenkatarama/AOHDR_Merge' into ↵Riham Haidar
promotion_build
2013-05-29video:tegra:nvavp: Add sync point increment supportSoumen Kumar Dey
Move sync point increment to CPU side for T11X. bug 1279729 Change-Id: I3ff5efc2300635411aaa5b71a3455e0b27808460 Signed-off-by: Soumen Kumar Dey <sdey@nvidia.com> Reviewed-on: http://git-master/r/232770 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Gajanan Bhat <gbhat@nvidia.com>
2013-05-24media:video:tegra: delete ov7695 debug messagekkim
Change-Id: Ib8a8426a4bad7d0f305a9f18052acbe83cb65748 Signed-off-by: kkim <kkim@nvidia.com> Reviewed-on: http://git-master/r/231589 Reviewed-by: Harshada Kale <hkale@nvidia.com> Tested-by: Harshada Kale <hkale@nvidia.com>
2013-05-24media: tegra: ad5823: add missed reglator_disableJake Park
Adding missed regulator_disable() into probe(). While probing ad5823 focuser, regulator vdd should be turned on before i2c operations and should be turned off after i2c oeprations. Bug 1293915 Change-Id: Ie9936e699ad3e3b08eb1dad55182e33dc89244a3 Signed-off-by: Jake Park <jakep@nvidia.com> Reviewed-on: http://git-master/r/231547 Reviewed-by: Karl Kim <kkim@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2013-05-23media: video: tegra: update focuser working rangeSudhir Vyas
Update ad5816 focuser calibrated working range. Current settings do not give better results for macro mode specifically. Bug 1238213 Change-Id: Ic8b60081bda75ecf3158d98796c979528767dfcd Signed-off-by: Sudhir Vyas <svyas@nvidia.com> Reviewed-on: http://git-master/r/229267 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2013-05-23media: video: tegra: apply ov7695 quality tuneJake Park
Bug 1278482 Change-Id: Ib74a3a8d018a5082f3098fa058609d634bfb2010 Signed-off-by: Jake Park <jakep@nvidia.com> Reviewed-on: http://git-master/r/230186 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Karl Kim <kkim@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: John Sasinowski <jsasinowski@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2013-05-21Merge branch dev_17 into rel17sivasubramaniam venkataraman
This change adds the camera supoorted changes to bring AOHDR feature in to rel-17. Change-Id: I39929e0644ce0d3e63c8a6960e2a8c3ebd3596ee Signed-off-by: sivasubramaniam venkataraman <svenkatarama@nvidia.com>
2013-05-20media:video:tegra:ov5693: Fix wrong setting valuekkim
LensShading was shown different result in the both 1296x972 and 2592x1944 due to wrong initial setting value. Bug 1237002 Change-Id: Ic4b7fba8639358b1031be47deb21ab0c4a9089bd Signed-off-by: kkim <kkim@nvidia.com> Reviewed-on: http://git-master/r/228305 Reviewed-by: Peter Kim <pekim@nvidia.com> Reviewed-by: Alvin Park <apark@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Philip Breczinski <pbreczinski@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Prayas Mohanty <pmohanty@nvidia.com>
2013-05-15video: tegra: dtv: Add DTV_STATUS into debugfsAdam Jiang
Expose DTV_STATUS register in debugfs which could be read by user land applications. Removed read operation over DTV_FIFO registers which may cause data loss. Bug 1061456 Bug 1258577 Reviewed-on: http://git-master/r/144430 (cherry picked from commit a7668922b555aca4ca0f5ca0569e4aa45383cb81) (cherry picked from commit d14000d021e65b34735a167b2f313695b984e54c) Change-Id: If4b5bd94fe8cc62f8a9695ec114345bd7cdd90a0 Signed-off-by: Adam Jiang <chaoj@nvidia.com> Reviewed-on: http://git-master/r/224678 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2013-05-07media: video: tegra: OV7695 sensor kernel driverkkim
Bug 1269275 Change-Id: I2f7b9dded7ed5e06efd5875bc7990afc338ed3ce Signed-off-by: kkim <kkim@nvidia.com> Reviewed-on: http://git-master/r/222047 Reviewed-by: Jake Park <jakep@nvidia.com> Tested-by: Jake Park <jakep@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> GVS: Gerrit_Virtual_Submit
2013-05-02Merge branch 'dev_17' into rel17sivasubramaniam venkataraman
Change-Id: I9132ac2b464e795413079ad9c50e2fa14249304c Signed-off-by: sivasubramaniam venkataraman <svenkatarama@nvidia.com>
2013-04-23media: video: tegra: optimize AR0833 sequence to reduce wait timeHu He
Reduce wait time from 100ms to 1ms per suggestion from vendor. Bug 1261782 Change-Id: I294380676ecb0602c2b5d8f633fb41c4673347eb Signed-off-by: Hu He <hhe@nvidia.com> Reviewed-on: http://git-master/r/221255 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bhushan Rayrikar <brayrikar@nvidia.com> Reviewed-by: John Sasinowski <jsasinowski@nvidia.com>
2013-04-23media: video: tegra: ad5816: settle time not reachCharlie Huang
In some systems with fast memory configuration, sometimes the settle time is not satisfied between two set positions, especially the first two after power on. Implement the time counter between two set positions to maintain the proper settle time. bug 1237579 Change-Id: I046cbb2c9d4f55d475fe30114a58b1e2316f4efe Signed-off-by: Charlie Huang <chahuang@nvidia.com> Reviewed-on: http://git-master/r/220019 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Thomas Cherry <tcherry@nvidia.com> GVS: Gerrit_Virtual_Submit
2013-04-22media:video:tegra: aohdr implementation for ov5693.Lihui Cui
For bug 1236935. Change-Id: I9cfb94685d47375ad8ef9106980be18bde51156c Signed-off-by: Lihui Cui <lcui@nvidia.com> Reviewed-on: http://git-master/r/218626 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Philip Breczinski <pbreczinski@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: John Sasinowski <jsasinowski@nvidia.com>
2013-04-19media: video: tegra: imx132: Optimize i2c writeSudhir Vyas
Add bulk i2c writes. Bug 1234944 Change-Id: I57fbe31972fc69de2b7b6c4338450b7ade26c597 Signed-off-by: Sudhir Vyas <svyas@nvidia.com> Reviewed-on: http://git-master/r/218122 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
2013-04-17media: video: tegra: as3648: add torch level limitCharlie Huang
On this device the torch level can be set as high as the flash, but on some platforms the torch level is required to be lower to get better photo qualities. Also replace dev_warn with dev_notice and updated debugfs methods. bug 1242531 Change-Id: I48140cbdaa093b5ffcf41258d0f2fd51cca35eb2 Signed-off-by: Charlie Huang <chahuang@nvidia.com> Reviewed-on: http://git-master/r/219100 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Philip Breczinski <pbreczinski@nvidia.com> Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
2013-04-16media: video: tegra: mt9m114 sensor kernel driverkkim
Bug 1255019 Change-Id: Ie02ca813bcb362d20de2c07aeea62a46866cc723 Signed-off-by: kkim <kkim@nvidia.com> Reviewed-on: http://git-master/r/217662 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-04-16media: tegra: fix ov5693 fuseid buffer indexJake Park
Bug 1271714 Change-Id: Ibab4ce7c08150edceb463d4dadd3579d88956654 Signed-off-by: Jake Park <jakep@nvidia.com> Reviewed-on: http://git-master/r/219772 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2013-04-10arch: arm: tegra: Move DTV resources into machAdam Jiang
For management of the diversity on register definitions of DTV module, move those definitions into mach/dtv.h. fix Bug 1258577 Change-Id: I6d5ad063ba3ed44fb7ef6313f33946e261ad7f5b Signed-off-by: Adam Jiang <chaoj@nvidia.com> Reviewed-on: http://git-master/r/217592 GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-04-09media: video: tegra: remove ar0833 frame length settingsFrank Chen
We should not update frame length register since it is done by sensor automatically. Force to update frame length register will cause image to flash when HDR ratio is bigger than 1:1. Bug 1267273 Change-Id: Id134c1e35ec60033a7b684de3c2c3d13d9ba933e Signed-off-by: Frank Chen <frankc@nvidia.com> Reviewed-on: http://git-master/r/216991 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Philip Breczinski <pbreczinski@nvidia.com> Reviewed-by: John Sasinowski <jsasinowski@nvidia.com>
2013-04-08media: video: tegra: enable DT for ov5693Jake Park
Bug 1255103 Change-Id: I26acd27ae331343d0c8c8c1d6d5216ff45c07867 Signed-off-by: Jake Park <jakep@nvidia.com> Reviewed-on: http://git-master/r/213972 Reviewed-by: Sudhir Vyas <svyas@nvidia.com> Reviewed-by: Peter Kim <pekim@nvidia.com> Reviewed-by: Alex Courbot <acourbot@nvidia.com> Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
2013-04-08media: video: tegra: enable DT for ad5823Jake Park
Bug 1255103 Change-Id: Iabc3dd93d71d5be9229393c7706d695ad56a0eb5 Signed-off-by: Jake Park <jakep@nvidia.com> Reviewed-on: http://git-master/r/213971 GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Courbot <acourbot@nvidia.com> Reviewed-by: Sudhir Vyas <svyas@nvidia.com> Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>