1 /*
2  * Support for Intel Camera Imaging ISP subsystem.
3  * Copyright (c) 2015, Intel Corporation.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms and conditions of the GNU General Public License,
7  * version 2, as published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
12  * more details.
13  */
14 
15 #include "system_global.h"
16 
17 const u32 N_SHORT_PACKET_LUT_ENTRIES[N_CSI_RX_BACKEND_ID] = {
18 	4,	/* 4 entries at CSI_RX_BACKEND0_ID*/
19 	4,	/* 4 entries at CSI_RX_BACKEND1_ID*/
20 	4	/* 4 entries at CSI_RX_BACKEND2_ID*/
21 };
22 
23 const u32 N_LONG_PACKET_LUT_ENTRIES[N_CSI_RX_BACKEND_ID] = {
24 	8,	/* 8 entries at CSI_RX_BACKEND0_ID*/
25 	4,	/* 4 entries at CSI_RX_BACKEND1_ID*/
26 	4	/* 4 entries at CSI_RX_BACKEND2_ID*/
27 };
28 
29 const u32 N_CSI_RX_FE_CTRL_DLANES[N_CSI_RX_FRONTEND_ID] = {
30 	N_CSI_RX_DLANE_ID,	/* 4 dlanes for CSI_RX_FR0NTEND0_ID */
31 	N_CSI_RX_DLANE_ID,	/* 4 dlanes for CSI_RX_FR0NTEND1_ID */
32 	N_CSI_RX_DLANE_ID	/* 4 dlanes for CSI_RX_FR0NTEND2_ID */
33 };
34 
35 /* sid_width for CSI_RX_BACKEND<N>_ID */
36 const u32 N_CSI_RX_BE_SID_WIDTH[N_CSI_RX_BACKEND_ID] = {
37 	3,
38 	2,
39 	2
40 };
41