Commit Graph

18 Commits

Author SHA1 Message Date
Alok Chauhan
168e1b1d62 msm: camera: common: Added support for multiple project configuration
multiple targets can have same kernel config which can break
existing camera bezel compilation. Added support for multiple
project compilation for camera.

CRs-Fixed: 3740838
Change-Id: I6d0a6ccdbf0bdd4b090e45a0464d96c06b7bc4af
Signed-off-by: Alok Chauhan <quic_alokc@quicinc.com>
2024-03-01 23:33:48 +05:30
Alok Chauhan
5af9459694 msm: camera: common: update msm-mmrm dependency for volcono
Updates board list of supported msm-mmrm boards to include volcono.

CRs-Fixed: 3671077
Signed-off-by: Alok Chauhan <quic_alokc@quicinc.com>
Change-Id: Ia5c26af59e029506d961052a4a4f9f8b3f0fef18
2023-12-05 11:08:56 +05:30
Alok Chauhan
c269eb35cf msm: camera: common: update msm-mmrm dependency to camera-kernel
Updates board list of supported msm-mmrm boards to include crow.

CRs-Fixed: 3387396
Change-Id: I16d53737b8bf981d86dddd13deadde01987c44d5
Signed-off-by: Alok Chauhan <quic_alokc@quicinc.com>
2023-11-14 19:50:04 +05:30
Soumen Ghosh
8d62831c1b msm: camera: common: enabling DDK bazel build for camera
This change will help to enable DDK bazel build frameworks.

CRs-Fixed: 3535645
Change-Id: I2ac421b0b25474d20d856e1508d0f85a07396159
Signed-off-by: Soumen Ghosh <quic_soumeng@quicinc.com>
2023-08-03 16:50:02 -07:00
Vijay Kumar Tumati
6dc4887fd9 msm: camera: smmu: Add support for Camera Security Framework 2.5
Query the CSF version in use from SMMU proxy driver and
use noncontiguous system heap in case of  CSF 2.5
instead of the contiguous secure display heap.
In addition, do not lend the buffer in CSF 2.5.

CRs-Fixed: 3424427
Change-Id: I3d5f2402034dd455c304d5726eb9aa8ee2080dcc
Signed-off-by: Vijay Kumar Tumati <quic_vtumati@quicinc.com>
2023-04-04 17:06:19 -07:00
Li Sha Lim
d0db8bb415 msm: camera: csiphy: Integrate mink call for secure camera
Adds support for new mink call to configure secure
camera sessions. This new mink call takes in additional
parameters to support the new domain-id based
security scheme. The additional parameters are in the
form of csid_hw_idx_mask, cdm_hw_idx_mask and
vc_mask. These are in addition to the existing PHY idx
and CPHY/DPHY lanes info.
The introduction of this new mink call deprecates the
existing SCM call used to service secure camera sessions.
What this means is that on all subsequent versions of this
driver, all secure camera sessions will be serviced by this
mink call, which is able to accommodate older and newer targets,
and their programming of different register sets.
This design enables the cam_csiphy_notify_secure_mode
wrapper to remain the same, with the underlying mink call
made in the cam_compat layer, depending on camera driver
version.

CRs-Fixed: 3317248
Change-Id: I05511f4380ce5467b104675c07c9c8faa5318af8
Signed-off-by: Li Sha Lim <quic_lishlim@quicinc.com>
2023-01-30 15:06:09 -08:00
Li Sha Lim
aabbfaffeb Revert "msm: camera: csiphy: Integrate mink call for secure camera"
External dependency has been reverted, change not ready.
This reverts commit b76d66be06cb035886ddebbf7671e02c93fdd1af.

CRs-Fixed: 3317248
Change-Id: If82504f1eb22b1c908d08d256f3b4c4cbad60bc9
Signed-off-by: Li Sha Lim <quic_lishlim@quicinc.com>
2022-12-28 10:39:24 +05:30
Li Sha Lim
f2360705b1 msm: camera: csiphy: Integrate mink call for secure camera
Adds support for new mink call to configure secure
camera sessions. This new mink call takes in additional
parameters to support the new domain-id based
security scheme. The additional parameters are in the
form of csid_hw_idx_mask, cdm_hw_idx_mask and
vc_mask. These are in addition to the existing PHY idx
and CPHY/DPHY lanes info.

The introduction of this new mink call deprecates the
existing SCM call used to service secure camera sessions.
What this means is that on all subsequent versions of this
driver, all secure camera sessions will be serviced by this
mink call, which is able to accommodate older and newer targets,
and their programming of different register sets.

This design enables the cam_csiphy_notify_secure_mode
wrapper to remain the same, with the underlying mink call
made in the cam_compat layer, depending on camera driver
version.

CRs-Fixed: 3317248
Change-Id: I575f4b85097c81f047f398216d0190b249e6b200
Signed-off-by: Li Sha Lim <quic_lishlim@quicinc.com>
2022-12-16 18:07:20 -08:00
Karthik Anantha Ram
b997fec06f msm: camera: sync: Fix synx compilation issues
Fix synx compilation dependencies for pineapple.

CRs-Fixed: 3343701
Change-Id: Ie7d69b1bd70de4354af12a0cb0a2c44ecaf79135
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
2022-11-29 17:36:49 -08:00
Suraj Dongre
a97e0b887a msm: camera: common: Remove shell commands from android makefiles
Remove direct shell commands from Android makefiles to better make use
of android function definitions.
Also changes mmrm dependency to be based on whether or not the driver
is detected in the build before setting it as a dependency.

CRs-Fixed: 3298147
Change-Id: I0d5f2c9eb34ac635604c515638c9f00e29ae0b2a
Signed-off-by: Suraj Dongre <quic_sdongre@quicinc.com>
2022-09-29 15:06:25 -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
Karthik Jayakumar
c115c89179 msm: camera: common: Add msm-mmrm dependency to camera-kernel
Updates board list of supported msm-mmrm boards to include kalama.

CRs-Fixed: 2980570
Change-Id: I182ef8b56b67c24d1ad9c4b23f475782f93e8aed
Signed-off-by: Karthik Jayakumar <quic_kjayakum@quicinc.com>
2022-01-21 19:36:45 -08:00
Alok Pandey
9dd2955dc9 msm: camera: cpas: Add support for Parrot Camera
Parrot has different version of CPAS which requires
camnoc interface changes and CPAS version change.
This change adds the same.

CRs-Fixed: 3081144
Change-Id: Icf39e12d3af8518471b093c860888df05af279b7
Signed-off-by: Alok Pandey <akumarpa@codeaurora.org>
2021-12-14 08:37:50 -08:00
Karthik Jayakumar
a4ba97982a msm: camera: config: Remove QSSI target check
Removes the QSSI check because TARGET_PRODUCT is deprecated in
Android S makefiles.

CRs-Fixed: 2953113
Change-Id: I85ed2b61ff5871fcb580058034ca5954138b60b8
Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>
2021-05-24 22:07:14 -07:00
Pavan Kumar Chilamkurthi
ba7a561d66 msm: camera: utils: Enable using mmrm API in camera
Enable using mmrm APIs for camera clk set rates.

CRs-Fixed: 2901925
Change-Id: Id80f2d46b62aef9ebcbb238a342925c74aac053a
Signed-off-by: Pavan Kumar Chilamkurthi <pchilamk@codeaurora.org>
2021-05-02 00:00:03 -07: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
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
Karthik Jayakumar
8c2e1cab8f msm: camera: config: Makefile update to support GKI 2.0
Adds support for camera kernel driver source being moved to Vendor SI.

CRs-Fixed: 2835738
Change-Id: Ibb876edb1284bc77c366c3ef9e1ee9a39981c960
Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>
2021-01-11 10:11:37 -08:00