From a3ef577205885e9ef3a1fbb3af9e563e25b6a3b8 Mon Sep 17 00:00:00 2001 From: Ravikishore Pampana Date: Fri, 21 Feb 2020 14:57:35 +0530 Subject: [PATCH] dt-bindings: msm: Add bindings isp and pxl path feature ids Define isp hw and isp hw pix path feature ids. This feature information used for some target skus to check the particular isp hw instance supported or not during the probe time. Define feature type disable or enable. Some features are enable type, If bit is set in the fuse register means feature is enabled. Some features are disabled type, If bit is set in the fuse register means feature is disabled. Change-Id: Ib1c4df6326859ba9b5c8700337a9b9a24b300fb1 Signed-off-by: Ravikishore Pampana --- include/dt-bindings/msm/msm-camera.h | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/include/dt-bindings/msm/msm-camera.h b/include/dt-bindings/msm/msm-camera.h index 07817a7f5b1d..84c8e4ccb012 100644 --- a/include/dt-bindings/msm/msm-camera.h +++ b/include/dt-bindings/msm/msm-camera.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* - * Copyright (c) 2019, The Linux Foundation. All rights reserved. + * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved. */ #ifndef __MSM_CAMERA_H @@ -62,10 +62,14 @@ #define CAM_CPAS_TRAFFIC_MERGE_SUM 0 #define CAM_CPAS_TRAFFIC_MERGE_SUM_INTERLEAVE 1 +#define CAM_CPAS_FEATURE_TYPE_DISABLE 0 +#define CAM_CPAS_FEATURE_TYPE_ENABLE 1 -/* Feature support bit positions in feature fuse register*/ -#define CAM_CPAS_QCFA_BINNING_ENABLE 0 -#define CAM_CPAS_SECURE_CAMERA_ENABLE 1 -#define CAM_CPAS_FUSE_FEATURE_MAX 2 +/* Fuse Feature support ids */ +#define CAM_CPAS_QCFA_BINNING_ENABLE 0 +#define CAM_CPAS_SECURE_CAMERA_ENABLE 1 +#define CAM_CPAS_ISP_FUSE_ID 2 +#define CAM_CPAS_ISP_PIX_FUSE_ID 3 +#define CAM_CPAS_FUSE_FEATURE_MAX 4 #endif