This change is to make Bengal camera module dynamic.
CRs-Fixed: 2977410
Change-Id: I447fa17c907c5e1993dbf86ae1347e4e15de6b30
Signed-off-by: Hongwei Ren <hongren@codeaurora.org>
While passing ab and ib value to interconnect
for conversion from BPS to ICC units wrong kernel macro is used.
Therefore use correct macro to get the proper ICC units.
In the same way, update the correct flash on active time (use div_u64
instead of do_div).
CRs-Fixed: 2971025
Change-Id: I4cd0de06bd081ea95cdc76eb74887c4d5815241a
Signed-off-by: Wyes Karny <wkarny@codeaurora.org>
Changes are made to disable stall on pagefault
for all the driver contexts inorder to
support for smmu stall on page fault.
CRs-Fixed: 2936320
Change-Id: Id3d16b4d980349044de1bc1d1bf4bfad5aee79f4
Signed-off-by: Shravya Samala <shravyas@codeaurora.org>
- Add Regulator power up for I2C flash
- Add GPIO support in probe call for I2C flash
- Add flash type in query capability call of flash.
CRs-Fixed: 2938804
Change-Id: I7d5575ecdf4c1c3b329e6bf49586771e37611e5a
Signed-off-by: shiwgupt <shiwgupt@codeaurora.org>
Increase the max supported slot ids to 16 in sensor.
CRs-Fixed: 2871214
Change-Id: I08910f2c34f70333bf25dbb31de5994c3beb7a8f
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
SHDR usecase doesn't report bubble to CRM, but we still
need to know whether it is processing bubble during
applying request, since we may haven't received the
reg update of the previous applied request, then
we have a chance to apply a new req to HW, this may
result in overflow issue. This change masks the
process_bubble for SHDR case during epoch in applied
sub state.
CRs-Fixed: 2948932
Change-Id: I699a2f59ea874693b78a918895db98727b95c634
Signed-off-by: Depeng Shao <depengs@codeaurora.org>
This change is to make Blair camera module dynamic.
CRs-Fixed: 2944976
Change-Id: I1af60fd3e1e607f52285d7abf30321ff6682149e
Signed-off-by: Ayush Kumar <ayushkr@codeaurora.org>
Add camera config support for MONACO target.
CRs-Fixed: 2918290
Change-Id: I98ff2a0d540aa6a4fb5a31a8d26f7abe0750918d
Signed-off-by: Amit Somani <amitsm@codeaurora.org>
ICP driver is not releasing mutex in error scenario
in close sequence and causing deadlock further in open.
Fix the deadlock and avoid prints in other driver
while close in provider crash.
CRs-Fixed: 2938073
Change-Id: I226c9a8e9b2d0c30e90282b11fbd15ea0b085f87
Signed-off-by: Alok Chauhan <alokc@codeaurora.org>
Blair has different version of CPAS version which
requires camnoc interface changes and CPAS version
change. This change adds the same.
CRs-Fixed: 2944976
Change-Id: I700d99e52dacee9badcb2f66a7a295fb18771231
Signed-off-by: Ayush Kumar <ayushkr@codeaurora.org>
Resource state is not proper during csid stop for PHY TPG hence stop
doesn't call for it.
Update the correct resource state during tpg start for PHY TPG.
CRs-Fixed: 2906168
Change-Id: Ib5fd05a380f6e1dbb303af23b7b0017d9f88c125
Signed-off-by: Alok Chauhan <alokc@codeaurora.org>
For RDI only batch mode use case the image address needs to
be programmed only once the consecutive image address is
taken from the frame increament address and image address
we have provided.
CRs-Fixed: 2948881
Change-Id: I94bce9522aaace00b567b023bba1cc3443d849ef
Signed-off-by: Tejas Prajapati <tpraja@codeaurora.org>
Since the SOF timestamp is only updated at SOF,
so we can't do self-correction at EOF. When the
frames already in sync, but the req is a EOF
triggered req, then the req can't be applied at
SOF, but it will fail to pass self-correction
checking at EOF. Then we will loop this progress,
the req can't be applied anymore.
CRs-Fixed: 2930497
Change-Id: I079cbd3cb9ac9541f049c5369baeee831f7444a2
Signed-off-by: Depeng Shao <depengs@codeaurora.org>
The request id is updated to 0 when the substate is
BUBBLE, then the original request id can't be notified
to UMD, since the reported_req_id is already updated to
the original request id. This change updateds the
reported_req_id only when the final request id is
valid.
CRs-Fixed: 2932602
Change-Id: Ib30f849782283c647f784cfb0deb49bee3d04287
Signed-off-by: Depeng Shao <depengs@codeaurora.org>
This change adds validity check for ife out res. If ife out res is
NULL we can run into crash or issues.
CRs-Fixed: 2915741
Change-Id: I8722b2a4e2634bda42f0080e00bf09050bbd6b91
Signed-off-by: Vikram Sharma <vikramsa@codeaurora.org>