msm: camera: isp: Add domain-id support

This change adds domain-id support for new
targets. This change involves adding information
to the SCM call currently in use such that it is
a superset, and the additional fields needed are
the IFE and CDM number being used, and VC mask.
These are in addition to existing PHY mask selection,
and lane/trio mask selection.

All the information above will be sent over from CSID
to the PHY driver, and the PHY driver will pack the
information in a generic format before sending it
over in an SCM call. Where previously, this information
is packed in format that matches the register, this
will be sent generically moving forward.

Given that there are multiple instances per physical
PHY hardware, and that the usual dev_handle used by
userspace to identify them are not accessible CSID
side, the lane_assign/lane_cfg parameter is used to find
the specific PHY instance used in conjunction with the
CSID instance in a session. lane_assign from PHY driver
and lane_cfg from CSID have the same values.

CRs-Fixed: 3259706
Change-Id: Ie050b1b9e742c6a63812eb38db7eca76db24667f
Signed-off-by: Li Sha Lim <quic_lishlim@quicinc.com>
This commit is contained in:
Li Sha Lim
2022-06-16 14:57:09 -07:00
committed by Camera Software Integration
szülő 5f64e7661b
commit e1ec8594f4
14 fájl változott, egészen pontosan 368 új sor hozzáadva és 27 régi sor törölve

Fájl megtekintése

@@ -20,6 +20,7 @@
enum cam_subdev_message_type_t {
CAM_SUBDEV_MESSAGE_REG_DUMP = 0x1,
CAM_SUBDEV_MESSAGE_APPLY_CSIPHY_AUX,
CAM_SUBDEV_MESSAGE_DOMAIN_ID_SECURE_PARAMS,
};
/* Enum for close sequence priority */