Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa47f77a authored by Wyes Karny's avatar Wyes Karny
Browse files

dt-bindings: msm: Add bindings for MP limit fuse support



Define CPAS MP limit feature ids. This feature
information used for some target SKUs to check the particular
ISP HW is capable of how much max resolution during the probe time.
Define feature type disable, enable or value. 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. Some feature are value type, here
multiple bit together make a value which indicates some feature.

Change-Id: I5a10eee2e42cbc26312968b02bb0f154f2684cb7
Signed-off-by: default avatarWyes Karny <wkarny@codeaurora.org>
parent ae23001f
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -62,11 +62,16 @@
#define CAM_CPAS_TRAFFIC_MERGE_SUM 0
#define CAM_CPAS_TRAFFIC_MERGE_SUM_INTERLEAVE 1

/* Feature bit type */
#define CAM_CPAS_FEATURE_TYPE_DISABLE 0
#define CAM_CPAS_FEATURE_TYPE_ENABLE 1
#define CAM_CPAS_FEATURE_TYPE_VALUE 2

/* 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_MF_HDR_ENABLE 2
#define CAM_CPAS_FUSE_FEATURE_MAX 3
#define CAM_CPAS_MP_LIMIT_FUSE 3
#define CAM_CPAS_FUSE_FEATURE_MAX 4

#endif