| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update the control ID name to match the recent
sensor driver control ID changes.
Bug 200350907
Change-Id: I3af2ab683e5d4f98f6597d57b82b77a903d7cd63
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1595380
(cherry picked from commit 642ee6b14611fcd203004b14d6bf552374a88c45)
Reviewed-on: https://git-master.nvidia.com/r/1604906
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gigon Bae <gbae@nvidia.com>
Reviewed-by: Gary Zhang <garyz@nvidia.com>
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change does the below improvements:
1) Replace all pr_* with dev_* functions since the driver is
mixing the use of both types.
2) Cache dev pointer in some functions to improve readability.
It doesn't change any functionality.
Bug 200347360
Change-Id: Iabe70bef0fa6b21e835514e64b9a8c837d19ca69
Signed-off-by: Nicolin Chen <nicolinc@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1599187
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updating all camera drivers to pass generic
device structure to common camera functions.
This is needed to support SPI sensors.
Jira CHWI-1191
Change-Id: I798336c432aac61a623297eff4b10bb3c162252b
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1490036
GVS: Gerrit_Virtual_Submit
|
|
|
|
|
|
|
|
|
|
|
|
| |
Initialzing err to 0 in lc898212_s_ctrl()
This build error is hit because -werror is enabled.
Change-Id: Ia8382ed112723c7cef4ad420f1e7179230d19b20
Signed-off-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-on: https://git-master/r/1515971
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support for synchronized focuser position writes
w.r.t sensor capture.
Add external sync CID for focuser to enable/disable
external synchronization to set position.
Bug 1754305
Change-Id: Ia41770b960a1f9b3013355983ea074b1c19f55df
Signed-off-by: Bhanu Murthy V <bmurthyv@nvidia.com>
Reviewed-on: http://git-master/r/1162763
(cherry picked from commit f2ec481a564305d7036c83faebef871b890d09f5)
Reviewed-on: https://git-master/r/1514203
GVS: Gerrit_Virtual_Submit
Reviewed-by: Wenjia Zhou <wenjiaz@nvidia.com>
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Variable being used as address was incorrect size for access, causing
stack out of bounds errors. u32 resolves issue.
Bug 200300101
Change-Id: Icb6ebcbeea3e49ec725ceb0253a165c615c2a879
Signed-off-by: Jacob Rampertab <jrampertab@nvidia.com>
Reviewed-on: http://git-master/r/1498770
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add static to local scope variable
Remove vaiable lenght array
Bug 200088648
Change-Id: I3caf58ef9e9a1cfcd9b45270fee76c8918444bdc
Signed-off-by: Wenjia Zhou <wenjiaz@nvidia.com>
Reviewed-on: http://git-master/r/1463161
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move control CID define to tegra-v4l2-camera and switched
CID prefix from V4L2 to TEGRA_CAMERA. Updated users of camera
controls to use new defines.
Change-Id: Ifb1d4e9e3ed438bd13dd3af1d0ec16cb885f4474
Signed-off-by: David Wang <davidw@nvidia.com>
Reviewed-on: http://git-master/r/1460998
GVS: Gerrit_Virtual_Submit
Reviewed-by: Wenjia Zhou <wenjiaz@nvidia.com>
Reviewed-by: Bhanu Murthy V <bmurthyv@nvidia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes to resolve compatibity across kernel versions.
WARs have been added at couple of code blocks to
resolve race conditions and if the code is only needed
for T210 bringup. There is corresponding TODO to follow
up and clean this code.
Bug 1856401
Change-Id: I3a3f07b3b159851936f3542afb61c4f2e90c24df
Signed-off-by: Bhanu Murthy V <bmurthyv@nvidia.com>
Reviewed-on: http://git-master/r/1460979
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move headers to kernel/include from respective folders
to resolve build issues with different kernel versions
and multiple repos.
Bug 1856401
Change-Id: I397ed6f68facbc8278db048c49b32b9c5bceec77
Signed-off-by: Bhanu Murthy V <bmurthyv@nvidia.com>
Reviewed-on: http://git-master/r/1455028
Reviewed-by: Timo Alho <talho@nvidia.com>
Tested-by: Timo Alho <talho@nvidia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Print extra register address and data value when error happens.
Bug 1788047
Change-Id: Ic9d303fb5374957f88dbb945df12fcf0791102a8
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/1328690
GVS: Gerrit_Virtual_Submit
Reviewed-by: Wenjia Zhou <wenjiaz@nvidia.com>
Reviewed-by: Gigon Bae <gbae@nvidia.com>
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed out of bound access
Fixed wrong shift value to compute gain
Coverity ID 29587
Coverity ID 36185
Bug 200192387
Change-Id: I60999628c38192c41ce7e75099b65643d7476f2c
Signed-off-by: Wenjia Zhou <wenjiaz@nvidia.com>
Reviewed-on: http://git-master/r/1307363
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shubham Chandra <shubhamc@nvidia.com>
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bhanu Murthy V <bmurthyv@nvidia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use strncpy and strncat to set dev_id[] string to prevent
overflow.
Bug 1845059
Change-Id: I869581a5111b531c4e7cd8def357983bec6aeff8
Signed-off-by: Yen Lin <yelin@nvidia.com>
Reviewed-on: http://git-master/r/1266771
Reviewed-by: Nathan Lord <nlord@nvidia.com>
Reviewed-by: Ishwarya Balaji Gururajan <igururajan@nvidia.com>
(cherry picked from commit 66e4736b4f0909907ae1e35ea110237ad93a1a82)
Reviewed-on: http://git-master/r/1267132
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jay Bhukhanwala <jbhukhanwala@nvidia.com>
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
GVS: Gerrit_Virtual_Submit
|
|
|
|
|
|
|
|
|
|
|
| |
Bug 200189090
Change-Id: I642281b9893fe4062eb81ea0b996d6c9fc353d51
Signed-off-by: Wenjia Zhou <wenjiaz@nvidia.com>
Reviewed-on: http://git-master/r/1207679
GVS: Gerrit_Virtual_Submit
Reviewed-by: Nathan Lord <nlord@nvidia.com>
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add MFI callback support.
Bug 200186295
Change-Id: I11ca50ccaed2ed3a2322301a513656598dc58316
Signed-off-by: Bhanu Murthy V <bmurthyv@nvidia.com>
Reviewed-on: http://git-master/r/1118381
(cherry picked from commit fe8f123602ba6d845d8666da67d5e9f085fc5292)
Reviewed-on: http://git-master/r/1153857
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add MFI callback support.
Bug 200186295
Change-Id: I11ca50ccaed2ed3a2322301a513656598dc58316
Signed-off-by: Sudhir Vyas <svyas@nvidia.com>
Reviewed-on: http://git-master/r/1118381
Reviewed-on: http://git-master/r/1166710
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mika Liljeberg <mliljeberg@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
|
|
|
|
|
|
|
| |
Bug 200193751
Change-Id: I2f98110c76140a1afb313a0b6daa29b758d01795
Signed-off-by: Wenjia Zhou <wenjiaz@nvidia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix sparse errors in camera common focuser
apis
Bug 200088648
Change-Id: Id6f5891da45457c1a3ee60ac6a3566535c220f23
Signed-off-by: Bhanu Murthy V <bmurthyv@nvidia.com>
Reviewed-on: http://git-master/r/924039
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Amit Sharma (SW-TEGRA) <amisharma@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
|
|
Add lc898212 focuser driver support
Add camera common focuser APIs and the init
routines for v4l2 focusers
Add multiple subdevices programming in the
media links connected to single video node
Bug 1701610
Bug 1700211
Change-Id: Ibbbabf631002e5ce2d381bab7fdc91ee05ec14a3
Signed-off-by: Bhanu Murthy V <bmurthyv@nvidia.com>
Reviewed-on: http://git-master/r/842478
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: David Wang (SW-TEGRA) <davidw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
|