提交線圖

1216 次程式碼提交

作者 SHA1 備註 日期
Haritha Chintalapati
3a3f1eeb26 Merge "msm: camera: cpas: Fix CPAS DT parsing probe issue" into camera-kernel.lnx.5.0 2021-02-10 16:06:35 -08:00
Haritha Chintalapati
1cb2a58c04 Merge "msm: camera: isp: Add dynamic enabling of IRQ in controller" into camera-kernel.lnx.5.0 2021-02-10 16:06:24 -08:00
Haritha Chintalapati
0b0144c94e Merge "msm: camera: csiphy: Correct return code" into camera-kernel.lnx.5.0 2021-02-09 14:40:40 -08:00
Haritha Chintalapati
3afca1a7c5 Merge "msm: camera: icp: Use paddr when loading FW elf segments" into camera-kernel.lnx.5.0 2021-02-09 14:40:26 -08:00
Haritha Chintalapati
729089b1be Merge "msm: camera: isp: Unsubscribe for buf done IRQ" into camera-kernel.lnx.5.0 2021-02-09 14:40:04 -08:00
Haritha Chintalapati
62f93c951c Merge "msm: camera: isp: Correct the IRQ masks and log buff index" into camera-kernel.lnx.5.0 2021-02-09 14:39:51 -08:00
Haritha Chintalapati
39dd2996fa Merge "msm: camera: isp: Add VFE debug info" into camera-kernel.lnx.5.0 2021-02-09 14:39:36 -08:00
Mukund Madhusudan Atre
b75713d051 msm: camera: cpas: Fix CPAS DT parsing probe issue
While searchig node by name, it is walking outside of
parent node looking for the given node name. Call
of_get_child_by_name instead, so that it looks within the
parent node.

CRs-Fixed: 2841729
Change-Id: I7d358c8990fc931c908675af2be7852c38bff82c
Signed-off-by: Mukund Madhusudan Atre <matre@codeaurora.org>
2021-02-08 17:25:16 -08:00
Karthik Anantha Ram
3f2ab61c3b msm: camera: icp: Use paddr when loading FW elf segments
Use paddr when loading FW elf segments to support TCM.

CRs-Fixed: 2722486
Change-Id: I5ab9805d44ede38c8163df73f09eea49c44eab82
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2021-02-08 15:09:59 -08:00
Haritha Chintalapati
ac6bc46a23 Merge "msm: camera: common: Update waipio config" into camera-kernel.lnx.5.0 2021-02-08 13:54:05 -08:00
Haritha Chintalapati
01b48163f2 Merge "msm: camera: isp: Change return values of IRQ Handlers" into camera-kernel.lnx.5.0 2021-02-08 13:53:51 -08:00
Haritha Chintalapati
b9aba0c817 Merge "msm: camera: isp: Allow lite IPP to use RDI state machine" into camera-kernel.lnx.5.0 2021-02-08 13:53:34 -08:00
Gaurav Jindal
5013b415d1 msm: camera: isp: Add dynamic enabling of IRQ in controller
CSID SOFs are needed to do a health check of sensors once the
sensor freeze is observed. Since the 680 CSID driver has controller
based mechanism, there is a need to enable the IRQ on controller
dynamically.
This commit adds support for dynamic enable/disable of IRQ on
controller.
Minor clean ups to remove unused code.

CRs-Fixed: 2830502
Change-Id: Ic4985555a5726264606a8e60c725eb8d1ce81364
Signed-off-by: Gaurav Jindal <gjindal@codeaurora.org>
2021-02-08 16:53:07 +05:30
Gaurav Jindal
fff8178e8f msm: camera: isp: Correct the IRQ masks and log buff index
Correct the irq masks in csid  and correct the index to print the log
buf in rx error top half.

Change-Id: I214c3ade65c707fdff87bef3ea6efcd6016f2785
CRs-Fixed: 2830502
Signed-off-by: Gaurav Jindal <gjindal@codeaurora.org>
2021-02-06 19:30:34 +05:30
Karthik Anantha Ram
47bf276c64 msm: camera: isp: Unsubscribe for buf done IRQ
Unsubscribe IRQs for buf done controller in vfe bus.

CRs-Fixed: 2841729
Change-Id: Ic1af02c7cd857e1637cfc7313b3052e7ff170329
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2021-02-05 17:57:32 -08:00
Jigarkumar Zala
2da14a4dcd msm: camera: csiphy: Correct return code
Currently for CPHY sensor driver expectes data rate specific
configuration. It can be possible that CPHY driver has the same
configuration among differnt data rates. This change accept this
possibility and return success in case of data specific configutaion
is not found.

CRs-Fixed: 2872304
Change-Id: I358d7f4d82028794ab233311bb1d256f1f0cac5e
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
2021-02-05 17:02:50 -08:00
Haritha Chintalapati
6f56c038cb Merge "msm: camera: isp: Add support for pixel path in IFE Lite Top" into camera-kernel.lnx.5.0 2021-02-05 14:24:05 -08:00
Haritha Chintalapati
3e60b1c4f7 Merge "msm: camera: isp: Increase the maximum number of IFE" into camera-kernel.lnx.5.0 2021-02-05 14:23:54 -08:00
Haritha Chintalapati
a0ad3303bb Merge "msm: camera: isp: Fix CSID timestamp enable on RDI" into camera-kernel.lnx.5.0 2021-02-05 14:23:45 -08:00
Gaurav Jindal
a6a5504f2a msm: camera: isp: Add VFE debug info
Print status of  VFE debug registers info in case of error.

CRs-Fixed: 2830502
Change-Id: I616ebd90e1d7b648221248571ca35112d7b4f35b
Signed-off-by: Gaurav Jindal <gjindal@codeaurora.org>
2021-02-06 03:44:07 +05:30
Karthik Anantha Ram
b828e58254 msm: camera: common: Update waipio config
Allow SFE HW to probe via ISP config. Removes usage
of an exclusive SFE config macro.

CRs-Fixed: 2841729
Change-Id: I4494d23653fb6c96a4931c412babed0b8f61631b
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2021-02-05 10:20:06 -08:00
Anand Ravi
3dbeddacd8 msm: camera: isp: Allow lite IPP to use RDI state machine
Since lite IPP doesn't have an epoch irq and it's primary function is to
preprocess the raw input, it should use the RDI state machine.

This change also adds a warning if the CAN_USE_LITE flag is used
incorrectly by the userspace.

CRs-Fixed: 2846451
Change-Id: Iff2b9bda677105181bdfcea20090881934528f73
Signed-off-by: Anand Ravi <ananravi@codeaurora.org>
2021-02-04 17:21:22 -08:00
Camera Software Integration
70042378e6 Merge "msm: camera: csiphy: Update the csiphy programming sequence" into camera-kernel.lnx.5.0 2021-02-04 16:17:13 -08:00
Gaurav Jindal
9a474caabc msm: camera: isp: Change return values of IRQ Handlers
In IRQ controller, non-zero return value of top half is handled
as an error. This caused non-scheduling of bottom half.
This commit changes the return values of top half handlers in
CSID drivers.

Change-Id: If7d71d11077ebefad3511a2c7b088f17f740ea27
CRs-Fixed: 2830502
Signed-off-by: Gaurav Jindal <gjindal@codeaurora.org>
2021-02-04 14:51:38 -08:00
Anand Ravi
0f8706bdb1 msm: camera: isp: Increase the maximum number of IFE
Allow probing and functioning of all IFEs in upcoming targets by
increasing the respective constants.

CRs-Fixed: 2846451
Change-Id: I187570fcbb659762587164ff93a6b9027d8f3785
Signed-off-by: Anand Ravi <ananravi@codeaurora.org>
2021-02-04 10:59:54 -08:00
Anand Ravi
728bfb19dc msm: camera: isp: Fix CSID timestamp enable on RDI
The timestamp enable value for RDI path is being written to cfg1
register instead of the cfg0 register. This results in the timestamp not
being captured and as a result no change in the timestamps returned.

CRs-Fixed: 2830502
Change-Id: I934c097b2fb2c47e54564ff9e5edbfe39d4e1b44
Signed-off-by: Anand Ravi <ananravi@codeaurora.org>
2021-02-03 10:54:38 -08:00
Camera Software Integration
623fd1e471 Merge "msm: camera: common: Improve the CSID logging" into camera-kernel.lnx.5.0 2021-02-02 13:46:10 -08:00
Camera Software Integration
b7d90b9b4f Merge "msm: camera: csiphy: Add debugfs support for csiphy" into camera-kernel.lnx.5.0 2021-02-02 13:46:01 -08:00
Anand Ravi
266424a483 msm: camera: isp: Add support for pixel path in IFE Lite Top
This change adds required functionality, register information and
fixes for pixel path in IFE Lite.

CRs-Fixed: 2846451
Change-Id: I10c9f193547a2f9d112a7d00750997e71b11c7fb
Signed-off-by: Anand Ravi <ananravi@codeaurora.org>
2021-02-01 12:27:26 -08:00
Jigar Agrawal
dd28f05a0f msm: camera: csiphy: Update the csiphy programming sequence
Update the csiphy2.1.0 programming sequence for the update
on 01/13/2021 in revision 6.

CRs-Fixed: 2856350
Change-Id: Ib1d9f8ea48bdcb333773bb0fbc3a2c14b10105af
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
2021-02-01 10:21:35 -08:00
Karthik Jayakumar
62c157da87 msm: camera: common: Fix incremental compile support
Fixes LOCAL_SRC_FILES list aggregation in Android.mk to correctly
pull source files for the camera-kernel project.

CRs-Fixed: 2835738
Change-Id: I0ea0a7179ae14a849be6db569eccb1201c4083b1
Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>
2021-01-29 11:21:57 -08:00
Jigar Agrawal
18e1773e75 msm: camera: csiphy: Add debugfs support for csiphy
Add debugfs support for csiphy and create a new debugfs
for enable/disable csiphy irqs. Following command can be
used to enable the csiphy0 irqs:
adb shell "echo 0x1 >>
/sys/kernel/debug/camera_csiphy/csiphy0_en_irq_dump".

CRs-Fixed: 2829969
Change-Id: I769c84f0cd0bf048652cf2d186d900e470973b0a
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
2021-01-27 16:09:36 -08:00
Haritha Chintalapati
4f4409a18c Merge "msm: camera: common: Update Android.mk for incremental compile support" into camera-kernel.lnx.5.0 2021-01-27 14:24:41 -08:00
Jigar Agrawal
28a19c52e1 msm: camera: common: Improve the CSID logging
Improve CSID irq logging for better debugging.
Add support to dump the hw source clock.

CRs-Fixed: 2808577
Change-Id: I06608588ef7a6e0ebc174a1ba138f6e16a9094f2
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
2021-01-26 20:40:06 -08:00
Haritha Chintalapati
c17872806b Merge "msm: camera: isp: Change halt reset sequence for dual ife" into camera-kernel.lnx.5.0 2021-01-26 18:53:00 -08:00
Karthik Jayakumar
70550a00c5 msm: camera: ife: Fix variable assignment indentation
Fix clang warning about improper indentation level of a variable
assignment following a one-line if statement.

CRs-Fixed: 2835738
Change-Id: If31d282044ddffc668b1b59b105edd4d5ce4aee7
Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>
2021-01-26 11:33:15 -08:00
Karthik Jayakumar
c1be7b60cf msm: camera: common: Update Android.mk for incremental compile support
Adds LOCAL_SRC_FILES tracking list to Android.mk to enable support for
incremental compilation.

CRs-Fixed: 2835738
Change-Id: I5f4c5f5f73485e1fe1dd54483ef263129b557386
Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>
2021-01-25 16:18:44 -08:00
Haritha Chintalapati
779d4efce0 Merge "msm: camera: smmu: IOMMU fault id's API update" into camera-kernel.lnx.5.0 2021-01-25 14:48:24 -08:00
Haritha Chintalapati
83817bb001 Merge "msm: camera: common: Add HW version checks for v680 hardware" into camera-kernel.lnx.5.0 2021-01-25 14:14:41 -08:00
Haritha Chintalapati
1ace619d2f Merge "msm: camera: cpas: Add version map entry for 680 titan version" into camera-kernel.lnx.5.0 2021-01-25 14:14:26 -08:00
Haritha Chintalapati
893431ebc3 Merge "msm: camera: req_mgr: Debugfs API update" into camera-kernel.lnx.5.0 2021-01-25 14:14:09 -08:00
Haritha Chintalapati
9d4ea638ef Merge "msm: camera: cpas: Update cpas dt parsing" into camera-kernel.lnx.5.0 2021-01-25 14:13:35 -08:00
Haritha Chintalapati
6caeb08d26 Merge "msm: camera: isp: Reinit completion struct for CSID reset" into camera-kernel.lnx.5.0 2021-01-25 14:13:20 -08:00
Haritha Chintalapati
e22c0e60b4 Merge "msm: camera: req_mgr: Update V4L2 enum names for Waipio" into camera-kernel.lnx.5.0 2021-01-25 14:12:57 -08:00
Haritha Chintalapati
36765f7683 Merge "msm: camera: icp: Add support for non secure FW load" into camera-kernel.lnx.5.0 2021-01-25 14:12:14 -08:00
Haritha Chintalapati
4ef14756d8 Merge "msm: camera: isp: Deinitialize VFE Bus resources correctly" into camera-kernel.lnx.5.0 2021-01-25 14:11:57 -08:00
Haritha Chintalapati
04b33280a7 Merge "msm: camera: isp: Add per frame support for scratch buffers" into camera-kernel.lnx.5.0 2021-01-25 14:10:39 -08:00
Karthik Jayakumar
bc04b3a8ef msm: camera: smmu: IOMMU fault id's API update
Need to update API's provided by memory team for retreiving fault id's when an
SMMU translation fault occurs for the new kernel version.

CRs-Fixed: 2835738
Change-Id: I061914ce01196fd1271c8a466f6a4ef8e6dce28f
Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>
2021-01-25 12:18:36 -08:00
Gaurav Jindal
bdad5088ed msm: camera: isp: Change halt reset sequence for dual ife
Reset Done irq for slave CSID is not received. Change the programming
sequence for dual ife halt reset.

Change-Id: If1d559c434e76ff9a9a6b1d1bc4c63f2e472a8aa
CRs-Fixed: 2830502
Signed-off-by: Gaurav Jindal <gjindal@codeaurora.org>
2021-01-23 04:22:44 -08:00
Mukund Madhusudan Atre
4a7b5e3a9b msm: camera: common: Add HW version checks for v680 hardware
Add support for v680 HW.

CRs-Fixed: 2841729
Change-Id: I8348cc43eb0a6b0b6a7b1ee2a88cf26a7791e625
Signed-off-by: Mukund Madhusudan Atre <matre@codeaurora.org>
2021-01-22 17:41:29 -08:00