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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>