فهرست منبع

dt-bindings: camera: Add camera DRV definitions

Add camera DRV feature enable mask definition. Add
definitions to communicate the DRV voting index from
device tree, which can be used to get the applicable
mnoc index for a client in cpas driver. The mnoc index
would eventually be used to vote the DRV bandwidth at
correct bus ID.

CRs-Fixed: 3065551
Change-Id: Ic429a3a7d40f9004818ea5f3e65469b40a92b438
Signed-off-by: Mukund Madhusudan Atre <[email protected]>
Mukund Madhusudan Atre 3 سال پیش
والد
کامیت
c8a2b3a9a8
1فایلهای تغییر یافته به همراه10 افزوده شده و 0 حذف شده
  1. 10 0
      dt-bindings/msm-camera.h

+ 10 - 0
dt-bindings/msm-camera.h

@@ -112,4 +112,14 @@
 #define MAX_AON_CAM          2
 #define NOT_AON_CAM          255
 
+/* Camera DRV enable masks */
+#define CAM_DDR_DRV    0x1
+
+/* Port index for BW voting */
+#define CAM_CPAS_PORT_HLOS_DRV    0
+#define CAM_CPAS_PORT_DRV_0       1
+#define CAM_CPAS_PORT_DRV_1       2
+#define CAM_CPAS_PORT_DRV_2       3
+#define CAM_CPAS_PORT_DRV_DYN     32
+
 #endif