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 <rpampana@codeaurora.org>
This commit is contained in:
Ravikishore Pampana 2020-02-21 14:57:35 +05:30
parent acb82b4c55
commit a3ef577205

View file

@ -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