msm: camera: cpas: Add support to turn on optional clks
This change is needed for domain id feature support. When a PHY and its lanes for a particular CSID are protected in a secure session, the same for other unused CSIDs are to be protected as well. This is to prevent other CSIDs from tapping the data streaming onto those lanes if they share the same PHY. For this, the clocks for other CSIDs (eg CSID-Lite) need to be turned on. Given that the existing driver turns on the clocks for the CSID in use, and that this clock information is embedded within the CSID hw blocks, these clocks are now exposed as optional clocks to CPAS to enable the PHY driver to turn them on during streamon for secure session. CRs-Fixed: 3304650 Change-Id: I1415e78467208b6b4a74223521d964a199288857 Signed-off-by: Li Sha Lim <quic_lishlim@quicinc.com>
This commit is contained in:

committed by
Camera Software Integration

parent
afaad38b36
commit
28ed69bb34
@@ -43,7 +43,7 @@
|
||||
#define CAM_SOC_MAX_CLK 32
|
||||
|
||||
/* maximum number of optional device clock */
|
||||
#define CAM_SOC_MAX_OPT_CLK 2
|
||||
#define CAM_SOC_MAX_OPT_CLK 7
|
||||
|
||||
/* maximum number of pinctrl mapping */
|
||||
#define CAM_SOC_MAX_PINCTRL_MAP 2
|
||||
|
Reference in New Issue
Block a user