Commit Graph

2670 Commits

Author SHA1 Message Date
Depeng Shao
f0879f2506 msm: camera: isp: Use correct resource count to release resource
SFE resource count isn't fixed, it is less than the max
supported resource, we need to use actual resource count
to release the resource.

CRs-Fixed: 3234791
Change-Id: I7cb16f3d8120451cac1bfc226f6849268f3b5c46
Signed-off-by: Depeng Shao <quic_depengs@quicinc.com>
2022-07-11 15:36:10 -07:00
Haritha Chintalapati
58c30d7fe5 CAMX: Snap for drop 07/08/2022 mainline 799 LA.VENDOR.13.2.0.AU274
camera-kernel:
7c6eb65 Merge "msm: camera: cci: Burst method to write word data fail" into camera-kernel.lnx.dev.

Change-Id: I580cf5ecad3f813102c9db7745572d20aad236d6
Signed-off-by: Haritha Chintalapati <quic_hchintal@quicinc.com>
2022-07-08 14:06:11 -07:00
chengxue
6b98488ff5 msm: camera: cci: Burst method to write word data fail
If we set burst write method to write sensor word data type
register data, some 32 bits data queue cannot be filled full,
and invalid data will be injected into data queue, then cci
burst write will fail.

CRs-Fixed: 3221426
Change-Id: I20ff1e7f508e4bbc79826db7faa13fcc80eaaf96
Signed-off-by: chengxue <quic_chengxue@quicinc.com>
2022-07-07 19:36:11 -07:00
Savita Patted
8cc0fa2e84 Snap for drop 07/05/2022 mainline 797 LA.VENDOR.13.2.0.AU267
5d46ed4 Merge "msm: camera: common: Add logs in wait for completion wrapper" into camera-kernel.lnx.dev
10e9403 Merge "msm: camera: icp: Compute and log FW avg response time per ctx" into camera-kernel.lnx.dev
947caff Merge "msm: camera: memmgr: suppress set mapped dmabuf name failed log" into camera-kernel.lnx.dev.

Change-Id: I08a21963557700bf859ffffc0629d510f751b560
Signed-off-by: Savita Patted <quic_spatted@quicinc.com>
2022-07-05 23:06:17 -07:00
Sokchetra Eung
0d74d403bc msm: camera: icp: Compute and log FW avg response time per ctx
Compute and log average firmware response time per context to
measure firmware latency.

CRs-Fixed: 3223208
Change-Id: Iaf27a43259fc2a558fdd59165f8afdd4f8e5f6e7
Signed-off-by: Sokchetra Eung <quic_eung@quicinc.com>
2022-07-05 20:36:40 -07:00
Sokchetra Eung
a8f7ac604f msm: camera: common: Add logs in wait for completion wrapper
Create a Macro to wrap around wait_for_completion_timeout to
log start and done wait time, and caller's customary error log
if timeout happens.
Modify all wait_for_completion_timeout in ICP hw mgr to use
this wrapper.

CRs-Fixed: 3227018
Change-Id: Ief2c52e69954c653d9cbced8acd823b436bab086
Signed-off-by: Sokchetra Eung <quic_eung@quicinc.com>
2022-07-05 20:36:26 -07:00
Fengjie Chen
5d72a370be msm: camera: memmgr: suppress set mapped dmabuf name failed log
we can't set dma buffer name when it has been attached to hardware.
As usually UMD allocate one buffer then map it at KMD side. So most of time,
set mapped dma buffer name failed. But it's not a fault error. So
we move log to debug level.

CRs-Fixed: 3219506
Change-Id: If635f9fbeb26b96f45c83b1d03cbba97576c92b2
Signed-off-by: Fengjie Chen <quic_fengjiec@quicinc.com>
2022-07-05 20:36:12 -07:00
Savita Patted
9d049f1e78 Snap for drop 06/30/2022 mainline 795 LA.VENDOR.13.2.0.AU267
camera-kernel:
67ba767 Merge "msm: camera: isp: Handle delayed buf dones" into camera-kernel.lnx.dev.

Change-Id: Ic8351e673eda73d0cdc0612cae172060b78226bc
Signed-off-by: Savita Patted <quic_spatted@quicinc.com>
2022-07-01 16:36:09 -07:00
Karthik Anantha Ram
4a79a917f3 msm: camera: isp: Handle delayed buf dones
The change handles tasklet scheduling delays in buf done handling.
If there is a scenario where in we have a request N in active list,
and N+1 is applied on the output frame for N. It's possible
that after applying N+1, the buf done tasklet for N is not scheduled
in time, and if it so happens that the tasklet is scheduled
out beyond the next frame, HW would have consumed N+1, and we
end up reading the last consumed addr for N+1 in the buf done bh for N.
The read last consumed address from N+1, will never match with N
ultimately stalling N. We could read the last consumed
addr registers in top half, but that would lead to increased
register reads in ISR, delaying top half processing therefore the change
handle such delays within the ISP state machine.

The underlying understanding here is if HW has generated buf
done for client X on request N+1, it's bound to have processed the
buffer for client X on request N.

CRs-Fixed: 3223063
Change-Id: I1e96f5b51b6fc388f3c189f882f8ae543a6ccb06
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
2022-06-30 14:06:27 -07:00
Savita Patted
930473d3d8 Snap for drop 06/29/2022 mainline 794 & 793 LA.VENDOR.13.2.0.AU267
camera-kernel:
62e51b8 Merge "msm: camera: sensor: Return from component bind for i3c-i2c nodes" into camera-kernel.lnx.dev
62ee0bd Merge "msm: camera: isp: Skip drv and bw blobs in sfe blob handler" into camera-kernel.lnx.dev
f5ac025 Merge "msm: camera: csiphy: Remove dynamic memory alloc for csiphy reg info" into camera-kernel.lnx.dev
ac918d3 Merge "msm: camera: sensor: return error when i3c device table empty" into camera-kernel.lnx.dev
81a7e95 Merge "msm: camera: isp: Fix SFE bus deinit calls" into camera-kernel.lnx.dev.

Change-Id: I39f2b536765a706a28a905f9c6dcee8d6b4a5032
Signed-off-by: Savita Patted <quic_spatted@quicinc.com>
2022-06-29 23:36:22 -07:00
Mukund Madhusudan Atre
2f85dbf423 msm: camera: sensor: Return from component bind for i3c-i2c nodes
To achieve sync state, platform probe needs to happen for i3c-i2c
nodes since platform devices are created for them due to topology.
Return success in component bind for i3c-i2c based sensor nodes.

CRs-Fixed: 3227008
Change-Id: I6604fac1ef605f7d3cef69954238ac62bee77dae
Signed-off-by: Mukund Madhusudan Atre <quic_matre@quicinc.com>
2022-06-29 20:06:55 -07:00
Ridhi Shah
c1d7ceaba0 msm: camera: sensor: return error when i3c device table empty
Do not call register with owner when device id table is empty.

CRs-Fixed: 3227008
Change-Id: Ibb86154c4c4f0b0e3d81867eb1ed049eefbc1a85
Signed-off-by: ridhshah <quic_ridhshah@quicinc.com>
2022-06-29 20:06:48 -07:00
Karthik Anantha Ram
6051056605 msm: camera: isp: Fix SFE bus deinit calls
Fix the argument order for SFE bus deinit calls.

CRs-Fixed: 3218412
Change-Id: I7ecda25aae455e0d9302b7f379ec019053a34e92
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
2022-06-29 20:06:39 -07:00
Mukund Madhusudan Atre
71ac0073a9 msm: camera: isp: Skip drv and bw blobs in sfe blob handler
The drv and bw voting blobs are handled by isp generic blob
handler, so need to skip for sfe blob handler.

CRs-Fixed: 3065551
Change-Id: I467d16818d2807194e3c7b62bd6b2b1eb06b4759
Signed-off-by: Mukund Madhusudan Atre <quic_matre@quicinc.com>
2022-06-29 20:06:30 -07:00
Mukund Madhusudan Atre
9a3a7dae7a msm: camera: csiphy: Remove dynamic memory alloc for csiphy reg info
Currently during csiphy component bind, we are allocating memory for
csiphy register info structure, which is not required, since the
structure in statically defined in headers. This causes panic during
unbind calls, since we are supplying address to statically allocated
memory that we previously pointed to, during bind. Remove dynamic
memory alloc and free to fix this issue.

CRs-Fixed: 3223335
Change-Id: If5d029dae4660b4a57b007c895956baceac9e4b5
Signed-off-by: Mukund Madhusudan Atre <quic_matre@quicinc.com>
2022-06-29 20:06:16 -07:00
Savita Patted
ef99dc72c8 Snap for drop 06/27/2022 mainline 792 LA.VENDOR.13.2.0.AU255
camera-kernel:
9c6e600 Merge "msm: camera: isp: Fix address for ISP active request dump for LDAR" into camera-kernel.lnx.dev
6971eab Merge "msm: camera: csiphy: Update csiphy2.1.2 header" into camera-kernel.lnx.dev
83ad588 Merge "msm: camera: isp: Update fs sync shift for SFE fetch" into camera-kernel.lnx.dev.

Change-Id: I9c18122df02f33868df77dff4a96a1162a84b09f
Signed-off-by: Savita Patted <quic_spatted@quicinc.com>
2022-06-27 18:36:13 -07:00
Karthik Anantha Ram
07afb4f7a7 msm: camera: isp: Update fs sync shift for SFE fetch
Get the shift mask from the corresponding chipset header.

CRs-Fixed: 3226910
Change-Id: I45f439e7b7ec23096ecb31f2b94cf76189669e7f
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
2022-06-27 16:06:33 -07:00
Karthik Anantha Ram
fc43157463 msm: camera: csiphy: Update csiphy2.1.2 header
Move CSI_3PHASE_CTRL registers from common to data rate
specific config.

CRs-Fixed: 3226880
Change-Id: Id39c2f4fe436cdbed99cfc407c79ae3cd7fccdbe
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
2022-06-27 16:06:26 -07:00
Joshua Florez
7243cf0920 msm: camera: isp: Fix address for ISP active request dump for LDAR
Fixes LDAR dump for ISP active requests by passing in the correct
address to dump helper function.

CRs-Fixed: 3215380
Change-Id: I1b4ad1c041cc3c965e7f95f9ef8129e26dce5344
Signed-off-by: Joshua Florez <quic_jflorez@quicinc.com>
2022-06-27 16:06:17 -07:00
Savita Patted
758b33c07e Snap for drop 06/24/2022 mainline 791 LA.VENDOR.13.2.0.AU255
camera-kernel:
c753ddb Merge "msm: camera: isp: Update per frame reg dump check" into camera-kernel.lnx.dev.

Change-Id: Ifb3bafa9183f56bebd91ecbb957e51139f9487f5
Signed-off-by: Savita Patted <quic_spatted@quicinc.com>
2022-06-24 15:06:19 -07:00
Karthik Anantha Ram
6f94cc3f59 msm: camera: isp: Update per frame reg dump check
Update check to ensure reg dump is triggered for INIT packets.

CRs-Fixed: 3218412
Change-Id: I6a72838d2f1cfd6854faf4b6dcde68f2dc8adffb
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
2022-06-24 15:06:10 -07:00
Savita Patted
35d81ec3dc Snap for drop 06/21/2022 mainline 788 LA.VENDOR.13.2.0.AU255
camera-kernel:
3f04ee0 Merge "msm: camera: isp: Reorder the stream on sequence in LCR use case" into camera-kernel.lnx.dev
f7b2922 Merge "msm: camera: common: Use CAMERA DLK override for compilation" into camera-kernel.lnx.dev
5dbda18 Merge "msm: camera: req_mgr: Handle bubble case in tasklet context" into camera-kernel.lnx.dev.

Change-Id: If94d294a291108fb14e0d2e49824a8e85df8e51c
Signed-off-by: Savita Patted <quic_spatted@quicinc.com>
2022-06-21 19:06:13 -07:00
Pavan Kumar Chilamkurthi
10668ff0e6 msm: camera: common: Use CAMERA DLK override for compilation
To be able to disable camera compilation on newer targets,
use DLKM_CAMERA_OVERRIDE in camera makefiles to control
compilation.

CRs-Fixed: 3219745
Change-Id: Iaf9518457a690554aca21fc1c6ebb3324d0dac46
Signed-off-by: Pavan Kumar Chilamkurthi <quic_pchilamk@quicinc.com>
2022-06-21 18:06:37 -07:00
Gaurav Jindal
0aba35317b msm: camera: isp: Reorder the stream on sequence in LCR use case
Due to timing protocol constraints between LCR and PD resources and
sof retiminig disabled, PPP resource should be enabled after RDI0
whenever LCR is enabled.
This commit changes the order during the CSID start to enable PPP
after RDI0.

CRs-Fixed: 3222469
Change-Id: I11371ea4602ff4bd72e690453103bd6a18ba836a
Signed-off-by: Gaurav Jindal <quic_gjindal@quicinc.com>
2022-06-21 18:06:28 -07:00
Chandan Kumar Jha
c2aaa6a660 msm: camera: req_mgr: Handle bubble case in tasklet context
Mark bubble flagged slot as applied state in tasklet
context.

Due to scheduling delay, CRM bubble process error
work-queue is taking more than 60ms for scheduling.
We had received back-to-back epochs due to tasklet
scheduling delay which invoked process requests for
applying further requests.

We reset the Nth-3rd slot during the process request.
We had done slot reset for bubble requests during
process request call as process error work-queue yet
to schedule which had to mark the slot as the
applied state.

CRs-Fixed: 3191903
Change-Id: If8154b7de8b3981fc9de64be2cd400c7b432c571
Signed-off-by: Chandan Kumar Jha <quic_cjha@quicinc.com>
2022-06-21 18:06:18 -07:00
Savita Patted
b433701f37 CAMX: Snap for drop 06/20/2022 mainline 787 LA.VENDOR.13.2.0.AU252
camera-kernel:
d255c7a Merge "msm: camera: cpas: Domain-id mapping based on DT" into camera-kernel.lnx.dev

Change-Id: I350f505a9bb00718fff09dcdb1068fe7d86b2a9e
Signed-off-by: Savita Patted <quic_spatted@quicinc.com>
2022-06-20 20:06:17 -07:00
Li Sha Lim
96c42c1a2b msm: camera: cpas: Domain-id mapping based on DT
This change involves the parsing of domain-id mapping
from DT and storage of this information in struct
cam_cpas_private_soc. This information will be relayed
to userspace in an ioctl call, and also exposed to the
IFE driver within the kernel.

CRs-Fixed: 3215167
Change-Id: I68d914fd4b84bc029edccd5cd1d2e2733fa32fcd
Signed-off-by: Li Sha Lim <quic_lishlim@quicinc.com>
2022-06-20 18:36:21 -07:00
Savita Patted
f0bb6bd5aa Snap for drop 06/15/2022 mainline 786 & 785 LA.VENDOR.13.2.0.AU252
camera-kernel:
8ced416 Merge "msm: camera: cpas: Disable cpas dump logging" into camera-kernel.lnx.dev
7d0bd30 Merge "msm: camera: isp: Update secure compat client list" into camera-kernel.lnx.dev
0cde0c3 Merge "msm: camera: sensor: Add CCI support for 32 bits register Address" into camera-kernel.lnx.dev
bdf118f Merge "msm: camera: memmgr: Add support to allocate from ubwcp heap" into camera-kernel.lnx.dev
edd2f3c Merge "msm: camera: memmgr: Add interface to support cpu access operation" into camera-kernel.lnx.dev

Change-Id: I02bcddf780b87bd22e291603d6e2abb3859b4ed1
Signed-off-by: Savita Patted <quic_spatted@quicinc.com>
2022-06-16 16:48:25 -07:00
Mukund Madhusudan Atre
7b4e5435a8 msm: camera: cpas: Disable cpas dump logging
Disable default enable of cpas dump.

CRs-Fixed: 3065551
Change-Id: I4a742875cc7c8d3ee4537157fbfb79cab6276ad0
Signed-off-by: Mukund Madhusudan Atre <quic_matre@quicinc.com>
2022-06-16 16:48:25 -07:00
Karthik Anantha Ram
9a8e275d77 msm: camera: isp: Update secure compat client list
Other than stat WMs, all other clients can run in secure mode.

CRs-Fixed: 3208187
Change-Id: I17956a4815a56eacbaa14e08db98fde681a6d9d6
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
2022-06-16 16:48:25 -07:00
Pavan Kumar Chilamkurthi
dce48d5ae2 msm: camera: memmgr: Add support to allocate from ubwcp heap
Add memmgr interface and support to allocate buffers from
ubwcp heap.

CRs-Fixed: 3197463
Change-Id: Ic3368e5ff81710dba795c9625f9a461833f915e3
Signed-off-by: Pavan Kumar Chilamkurthi <quic_pchilamk@quicinc.com>
2022-06-16 16:48:25 -07:00
Pavan Kumar Chilamkurthi
5af17aad2a msm: camera: memmgr: Add interface to support cpu access operation
Add ioctl interfaces to support dma begin and end cpu access
operations for camera buffers.

CRs-Fixed: 3197463
Change-Id: Ibeb31e8f425489abfdd47df6f92271ac40ace407
Signed-off-by: Pavan Kumar Chilamkurthi <quic_pchilamk@quicinc.com>
2022-06-16 16:48:25 -07:00
Jigar Agrawal
909b2ed98e msm: camera: sensor: Add CCI support for 32 bits register Address
Add support for 32 bits wide sensor ID for CCI hw during sensor
match ID operation.

CRs-Fixed: 3210196
Change-Id: Idef7f5cd3d7199198d0c6aa06ce54415a409d147
Signed-off-by: Jigar Agrawal <quic_jigar@quicinc.com>
2022-06-16 16:48:24 -07:00
Savita Patted
ac546a16c5 Snap for drop 06/14/2022 mainline 784 LA.VENDOR.13.2.0.AU252
camera-kernel:
9986600 Merge "msm: camera: isp: Add unhandled buf done to deferred list" into camera-kernel.lnx.dev
df403e5 Merge "msm: camera: isp: Add UAPI changes to support NFI based Switching" into camera-kernel.lnx.dev

Change-Id: I3f7486368a1001ca16e2eb2f7e2f199ea46b12b7
Signed-off-by: Savita Patted <quic_spatted@quicinc.com>
2022-06-16 16:44:25 -07:00
Depeng Shao
61d3d3f5d9 msm: camera: isp: Add unhandled buf done to deferred list
Some unhandled buf dones belong to next req, we need
to add them to deferred buf done list and process it
in future.

CRs-Fixed: 3197114
Change-Id: I5489cb6faacf2b6c9018b3b660a1df2ee6ac9564
Signed-off-by: Depeng Shao <quic_depengs@quicinc.com>
2022-06-16 16:44:25 -07:00
Chandan Kumar Jha
eddb106bb8 msm: camera: isp: Add UAPI changes to support NFI based Switching
Add UAPI changes to support NFI based dynamic Switching.

CRs-Fixed: 3168727
Change-Id: I3246c9496bea778cac11352d9c90672ce763a59b
Signed-off-by: Chandan Kumar Jha <quic_cjha@quicinc.com>
2022-06-16 16:44:25 -07:00
Abhijit Trivedi
9272dea247 Merge changes I1b568b90,I632469bc,I53326589,I8ac4820b,I65e97c6e,I4e149fc8,I450049ab,Ic06531a5,Ic96d1edc,I311c7cd8 into camera-kernel.lnx.6.0
* changes:
  Snap for drop 06/09/2022 mainline 783 LA.VENDOR.13.2.0.AU237
  msm: camera: common: Enable config for rpmh calls
  msm: camera: common: Add debug infrastructure for camera drv
  msm: camera: common: Add support for DRV config
  msm: camera: common: Add support for bw update blob v3
  msm: camera: isp: Read back and update top debug cfg register
  msm: camera: icp: Log all active requests on enomem from FW
  msm: camera: csiphy: Add support for RF channel based csiphy settings
  msm: camera: common: Add I3C Driver support
  msm: camera: isp: Remove IFE HW mgr reference from ISP ctx
2022-06-14 20:14:09 -07:00
Abhijit Trivedi
770925b0e6 Merge "dt-bindings: camera: Add camera DRV definitions" into camera-kernel.lnx.6.0 2022-06-14 20:13:57 -07:00
Karthik Anantha Ram
07afaf5e79 msm: camera: sync: Remove third party copyright update for 2021
Update sync headers to remove third party update for year 2021.

CRs-Fixed: 3207212
Change-Id: I30d029d5755d4fb129c256f9771b20c115970388
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
2022-06-09 16:39:21 -07:00
Savita Patted
3a8c9e4a08 Snap for drop 06/09/2022 mainline 783 LA.VENDOR.13.2.0.AU237
camera-kernel:
104d40e Merge "msm: camera: isp: Read back and update top debug cfg register" into camera-kernel.lnx.dev
061a006 Merge changes I632469bc,I53326589 into camera-kernel.lnx.dev
a617493 Merge "msm: camera: icp: Log all active requests on enomem from FW" into camera-kernel.lnx.dev
76de8ff Merge "msm: camera: common: Add I3C Driver support" into camera-kernel.lnx.dev
6c88212 Merge "msm: camera: csiphy: Add support for RF channel based csiphy settings" into camera-kernel.lnx.dev
5e07d97 Merge "msm: camera: isp: Remove IFE HW mgr reference from ISP ctx" into camera-kernel.lnx.dev
82f9e1c Merge "msm: camera: common: Add support for DRV config" into camera-kernel.lnx.dev
d010e1e Merge "msm: camera: common: Add support for bw update blob v3" into camera-kernel.lnx.dev
d05f4a4 Merge "dt-bindings: camera: Add camera DRV definitions" into camera-kernel.lnx.dev

Change-Id: I1b568b90293d287f23fde7531d2865f0a66799f1
Signed-off-by: Savita Patted <quic_spatted@quicinc.com>
2022-06-09 14:06:14 -07:00
Mukund Madhusudan Atre
65d27a2b20 msm: camera: common: Enable config for rpmh calls
Enable config for rpmh calls, which is needed to control
state of rsc devices for drv.

CRs-Fixed: 3065551
Change-Id: I632469bc2c91a00345b53c3b3c51e6bd1c8d325a
Signed-off-by: Mukund Madhusudan Atre <quic_matre@quicinc.com>
2022-06-09 12:07:52 -07:00
Mukund Madhusudan Atre
b61b425af9 msm: camera: common: Add debug infrastructure for camera drv
Add error handling and information logging for drv error and
info irqs for drv. Also, add debugfs for vote up and down irqs.
Add ddr and mnoc register value logging in vote up and down
irq bottom half.

CRs-Fixed: 3065551
Change-Id: I5332658924762a528625e628c3fa5d5dec07da62
Signed-off-by: Mukund Madhusudan Atre <quic_matre@quicinc.com>
2022-06-09 12:07:41 -07:00
Mukund Madhusudan Atre
65878f05bb msm: camera: common: Add support for DRV config
Add DRV config blob handling for programming required
registers per request. Also, add debugfs entry for
disabling DRV feature from ife hw manager. Update
existing BW voting logs to reflect DRV vote level info.
Add support for communicating with rsc device upon update
in MNOC BW. Also, update BW voting logic in cpas to accommodate
DRV voting to interconnect framework.

CRs-Fixed: 3065551
Change-Id: I8ac4820b7af824f5ff46614ae6804001deca9b01
Signed-off-by: Mukund Madhusudan Atre <quic_matre@quicinc.com>
2022-06-09 12:07:29 -07:00
Mukund Madhusudan Atre
c73578236c msm: camera: common: Add support for bw update blob v3
Add support for bw update version 3. Add provision to
maintain cpas per path bw info internally in drivers.

CRs-Fixed: 3065551
Change-Id: I65e97c6e41f933818f1211bbc27651842e93c028
Signed-off-by: Mukund Madhusudan Atre <quic_matre@quicinc.com>
2022-06-09 12:07:17 -07:00
Gaurav Jindal
14dbd64192 msm: camera: isp: Read back and update top debug cfg register
Top debug cfg register is getting reset while starting RDI resources.
This commit adds the register data to RDI resources and reads back
the register before updating the register.

CRs-Fixed: 3207575
Change-Id: I4e149fc81cbfc60adb6d3bb842a1057e8202903f
Signed-off-by: Gaurav Jindal <quic_gjindal@quicinc.com>
2022-06-09 12:07:09 -07:00
Sokchetra Eung
4e26ffa4b6 msm: camera: icp: Log all active requests on enomem from FW
Upon Enomem error received from FW, log all active request ids
from all active streams to understand the request traffic pattern
to FW.

CRs-Fixed: 3204850
Change-Id: I450049ab7faa0871880b6511e65ffaf15c570e4e
Signed-off-by: Sokchetra Eung <quic_eung@quicinc.com>
2022-06-09 12:07:00 -07:00
Jigar Agrawal
342ad3a403 msm: camera: csiphy: Add support for RF channel based csiphy settings
Add support for RF channel based the csiphy 3 phase datarate settings.

CRs-Fixed: 3201451
Change-Id: Ic06531a577c6513d40ccf6cae163a482f2e9c9ae
Signed-off-by: Jigar Agrawal <quic_jigar@quicinc.com>
2022-06-09 12:06:50 -07:00
Jigar Agrawal
57c67da8f3 msm: camera: common: Add I3C Driver support
Add I3C driver Support for eeprom, actuator
and OIS modules.

CRs-Fixed: 3204977
Change-Id: Ic96d1edc787efcf3069935fc53fc799e786a95a7
Signed-off-by: Jigar Agrawal <quic_jigar@quicinc.com>
2022-06-09 12:06:41 -07:00
Joshua Florez
8f297a31ea msm: camera: isp: Remove IFE HW mgr reference from ISP ctx
Removes IFE HW manager reference from ISP context and moves some
LDAR dump functionality for stream info to IFE HW manager.

CRs-Fixed: 3210247
Change-Id: I311c7cd8d8684a68ba0bfbe279ef9ba55cfbbe82
Signed-off-by: Joshua Florez <quic_jflorez@quicinc.com>
2022-06-09 12:06:32 -07:00
Mukund Madhusudan Atre
c8a2b3a9a8 dt-bindings: camera: Add camera DRV definitions
Add camera DRV feature enable mask definition. Add
definitions to communicate the DRV voting index from
device tree, which can be used to get the applicable
mnoc index for a client in cpas driver. The mnoc index
would eventually be used to vote the DRV bandwidth at
correct bus ID.

CRs-Fixed: 3065551
Change-Id: Ic429a3a7d40f9004818ea5f3e65469b40a92b438
Signed-off-by: Mukund Madhusudan Atre <quic_matre@quicinc.com>
2022-06-09 12:06:16 -07:00