Prechádzať zdrojové kódy

Camera: uapi: Add uapi support for QCFA CSID binning

Add uapi support to configure CSID binning for QCFA.

Change-Id: Ic992c11d04319b6e8329963c032501b07002b484
Signed-off-by: Tejas Prajapati <[email protected]>
Signed-off-by: Trishansh Bhardwaj <[email protected]>
Signed-off-by: Jigarkumar Zala <[email protected]>
Tejas Prajapati 6 rokov pred
rodič
commit
d31033b31f
1 zmenil súbory, kde vykonal 10 pridanie a 0 odobranie
  1. 10 0
      include/uapi/media/cam_isp.h

+ 10 - 0
include/uapi/media/cam_isp.h

@@ -99,6 +99,7 @@
 #define CAM_ISP_GENERIC_BLOB_TYPE_IFE_CORE_CONFIG     7
 #define CAM_ISP_GENERIC_BLOB_TYPE_VFE_OUT_CONFIG      8
 #define CAM_ISP_GENERIC_BLOB_TYPE_BW_CONFIG_V2        9
+#define CAM_ISP_GENERIC_BLOB_TYPE_CSID_QCFA_CONFIG    12
 
 #define CAM_ISP_VC_DT_CFG    4
 
@@ -491,6 +492,15 @@ struct cam_isp_csid_clock_config {
 	uint64_t                       csid_clock;
 } __attribute__((packed));
 
+/**
+ * struct cam_isp_csid_qcfa_config - CSID qcfa binning support configuration
+ *
+ * @csid_binning                CSID binning
+ */
+struct cam_isp_csid_qcfa_config {
+	uint32_t                       csid_binning;
+} __attribute__((packed));
+
 /**
  * struct cam_isp_bw_vote - Bandwidth vote information
  *