Linux-libre 4.14.68-gnu
[librecmc/linux-libre.git] / drivers / staging / media / atomisp / pci / atomisp2 / css2400 / hive_isp_css_common / host / hive_isp_css_hrt_modified.h
1 /*
2  * Support for Intel Camera Imaging ISP subsystem.
3  * Copyright (c) 2010-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 #ifndef _hive_isp_css_hrt_h
16 #define _hive_isp_css_hrt_h
17
18 #include "system_types.h"
19
20 #include "hive_isp_css_host_ids_hrt.h"
21 #include "hive_isp_css_defs.h"
22
23 #ifdef HRT_ISP_CSS_CUSTOM_HOST
24 #ifndef HRT_USE_VIR_ADDRS
25 #define HRT_USE_VIR_ADDRS
26 #endif
27 /*#include "hive_isp_css_custom_host_hrt.h"*/
28 #endif
29
30 #include <gpio_block.h>
31 #include <gp_regs.h>
32 #include <gp_timer_hrt.h>
33   #include <css_receiver_2400_hrt.h>
34 //  #include <isp2400_mamoiada_params.h>
35 //  #include <isp2400_support.h>
36   /* insert idle signal clearing and setting around hrt_main */
37   #if !defined(HRT_HW) || defined(HRT_ISP_CSS_INSERT_IDLE_SIGNAL)
38     #define hrt_main _hrt_isp_css_main
39   #endif
40   #ifdef _HIVE_ISP_CSS_SPECMAN_SYSTEM
41     #include "hive_isp_css_2400_specman_system.h"
42   #else
43 #if defined(IS_ISP_2400_MAMOIADA_SYSTEM)
44     #include "hive_isp_css_2400_system.h"
45 #elif defined(IS_ISP_2401_MAMOIADA_SYSTEM)
46     #include "hive_isp_css_2401_system.h"
47 #else
48 #error "hive_isp_css_hrt_modified.h: SYSTEM must be one of {2400_MAMOIADA_SYSTEM, 2401_MAMOIADA_SYSTEM}"
49 #endif
50   #endif
51 #include <sp_hrt.h>
52 #include <input_system_hrt.h>
53 #include <input_selector_hrt.h>
54 #include <sig_monitor_hrt.h>
55
56 #include "hive_isp_css_sdram_wakeup_hrt.h"
57 #include "hive_isp_css_idle_signal_hrt.h"
58 #include "hive_isp_css_sp_hrt.h"
59 #include "hive_isp_css_isp_hrt.h"
60 #include "hive_isp_css_streaming_to_mipi_hrt.h"
61 #include "hive_isp_css_testbench_hrt.h"
62 #include "hive_isp_css_streaming_monitors_hrt.h"
63 #include "hive_isp_css_gp_regs_hrt.h"
64 #if defined(IS_ISP_2400_MAMOIADA_SYSTEM)
65 #include "hive_isp_css_irq_hrt.h"
66 #elif defined(IS_ISP_2401_MAMOIADA_SYSTEM)
67 #include "hive_isp_css_2401_irq_hrt.h"
68 #else
69 #error "hive_isp_css_hrt_modified.h: SYSTEM must be one of {2400_MAMOIADA_SYSTEM, 2401_MAMOIADA_SYSTEM}"
70 #endif
71
72 #include "hive_isp_css_stream_switch_hrt.h"
73
74 #include "hive_isp_css_ddr_hrt_modified.h"
75 #include "hive_isp_css_dma_set_hrt.h"
76
77 #define HIVE_ISP_CSS_NO_STREAM_SWITCH 1
78
79 #endif /* _hive_isp_css_hrt_h */