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>
Cette révision appartient à :
Li Sha Lim
2022-05-29 14:26:06 -07:00
révisé par Camera Software Integration
Parent f0bb6bd5aa
révision 96c42c1a2b
3 fichiers modifiés avec 114 ajouts et 0 suppressions

Voir le fichier

@@ -122,4 +122,8 @@
#define CAM_CPAS_PORT_DRV_2 3
#define CAM_CPAS_PORT_DRV_DYN 32
/* Domain ID types */
#define CAM_CPAS_SECURE_DOMAIN 0
#define CAM_CPAS_NON_SECURE_DOMAIN 1
#endif