msm: camera: isp: IFE and CSID probe based on fuse

Some ISP hardware id instances are disabled on some target skus.
Cpas driver has fuse information based on the dtsi entries.
ISP hw driver queries the cpas driver whether hw instance is
supported or not. If ISP hardware is supported on the target then
continue the isp hardware probe.

Fix for get HW feature:
When feature is enable or disable type and HW mask is not indicating the
HW index, do not update the supported. By default it is supported.

CRs-Fixed: 2825675
Change-Id: I777e5790060388458562e7a53fea8a7324ffa9d3
Signed-off-by: Wyes Karny <wkarny@codeaurora.org>
This commit is contained in:
Wyes Karny
2021-02-11 14:24:39 +05:30
committad av Gerrit - the friendly Code Review server
förälder 16710c7458
incheckning 5f7956594d
4 ändrade filer med 23 tillägg och 7 borttagningar

Visa fil

@@ -88,7 +88,8 @@
#define CAM_CPAS_MP_LIMIT_FUSE 3
#define CAM_CPAS_ISP_FUSE 4
#define CAM_CPAS_ISP_PIX_FUSE 5
#define CAM_CPAS_FUSE_FEATURE_MAX 6
#define CAM_CPAS_ISP_LITE_FUSE 6
#define CAM_CPAS_FUSE_FEATURE_MAX 7
#define CCI_MASTER_0 0
#define CCI_MASTER_1 1