2 *-----------------------------------------------------------------------------
5 *-----------------------------------------------------------------------------
6 * Copyright (c) 2002-2010, Intel Corporation.
8 * Permission is hereby granted, free of charge, to any person obtaining a copy
9 * of this software and associated documentation files (the "Software"), to deal
10 * in the Software without restriction, including without limitation the rights
11 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 * copies of the Software, and to permit persons to whom the Software is
13 * furnished to do so, subject to the following conditions:
15 * The above copyright notice and this permission notice shall be included in
16 * all copies or substantial portions of the Software.
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
26 *-----------------------------------------------------------------------------
28 * This file contains configurable definitions to statically link port
29 * drivers with display driver.
30 *-----------------------------------------------------------------------------
38 /* Enable Analog (CRT) port driver */
39 #ifdef CONFIG_PD_ANALOG
40 extern int analog_init(void *handle);
41 #define ANALOG_INIT(handle) analog_init(handle)
43 #define ANALOG_INIT(handle) 0
46 /* Enable RGBA port driver */
48 extern int rgba_init(void *handle);
49 #define RGBA_INIT(handle) rgba_init(handle)
51 #define RGBA_INIT(handle) 0
54 /* Enable Silicon Image 154/164 FP port driver */
55 #ifdef CONFIG_PD_SII164
56 extern int sii164_init(void *handle);
57 #define SII164_INIT(handle) sii164_init(handle)
59 #define SII164_INIT(handle) 0
62 /* Enable Texas Instruments 410 FP port driver */
63 #ifdef CONFIG_PD_TI410
64 extern int ti410_init(void *handle);
65 #define TI410_INIT(handle) ti410_init(handle)
67 #define TI410_INIT(handle) 0
70 /* Enable Chrontel 7009 TMDS & TVOut port driver */
71 #ifdef CONFIG_PD_CH7009
72 extern int ch7009_init(void *handle);
73 #define CH7009_INIT(handle) ch7009_init(handle)
75 #define CH7009_INIT(handle) 0
78 /* Enable National Semiconductor 2501 LVDS port driver */
79 #ifdef CONFIG_PD_NS2501
80 extern int ns2501_init(void *handle);
81 #define NS2501_INIT(handle) ns2501_init(handle)
83 #define NS2501_INIT(handle) 0
86 /* Enable TL955 port driver */
87 #ifdef CONFIG_PD_TL955
88 extern int tl955_init(void *handle);
89 #define TL955_INIT(handle) tl955_init(handle)
91 #define TL955_INIT(handle) 0
94 /* Enable Th164 port driver */
95 #ifdef CONFIG_PD_TH164
96 extern int th164_init(void *handle);
97 #define TH164_INIT(handle) th164_init(handle)
99 #define TH164_INIT(handle) 0
102 /* Enable FS454 port driver */
103 #ifdef CONFIG_PD_FS454
104 extern int fs454_init(void *handle);
105 #define FS454_INIT(handle) fs454_init(handle)
107 #define FS454_INIT(handle) 0
110 /* Enable NS387/389 port driver */
111 #ifdef CONFIG_PD_NS387
112 extern int ns387_init(void *handle);
113 #define NS387_INIT(handle) ns387_init(handle)
115 #define NS387_INIT(handle) 0
118 /* Enable connexant port driver */
119 #ifdef CONFIG_PD_CX873
120 extern int cx873_init(void *handle);
121 #define CX873_INIT(handle) cx873_init(handle)
123 #define CX873_INIT(handle) 0
126 /* Enable Internal LVDS port driver */
127 #ifdef CONFIG_PD_LVDS
128 extern int lvds_init(void *handle);
129 #define LVDS_INIT(handle) lvds_init(handle)
131 #define LVDS_INIT(handle) 0
134 /* Enable SDVO port driver */
135 #ifdef CONFIG_PD_SDVO
136 extern int sdvo_init(void *handle);
137 #define SDVO_INIT(handle) sdvo_init(handle)
139 #define SDVO_INIT(handle) 0
142 /* Enable Integrated TV port driver for NAPA*/
144 extern int tv_init(void *handle);
145 #define TV_INIT(handle) tv_init(handle)
147 #define TV_INIT(handle) 0
150 /* Enable FS460 port driver */
151 #ifdef CONFIG_PD_FS460
152 extern int fs460_init(void *handle);
153 #define FS460_INIT(handle) fs460_init(handle)
155 #define FS460_INIT(handle) 0
158 /* Enable FS450 port driver */
159 #ifdef CONFIG_PD_FS450
160 extern int fs450_init(void *handle);
161 #define FS450_INIT(handle) fs450_init(handle)
163 #define FS450_INIT(handle) 0
166 /* Enable Chrontel 7017 LVDS & TVOut port driver */
167 #ifdef CONFIG_PD_CH7017
168 extern int ch7017_init(void *handle);
169 #define CH7017_INIT(handle) ch7017_init(handle)
171 #define CH7017_INIT(handle) 0
174 /* Enable internal HDMI port driver */
175 #ifdef CONFIG_PD_HDMI
176 extern int hdmi_init(void *handle);
177 #define HDMI_INIT(handle) hdmi_init(handle)
179 #define HDMI_INIT(handle) 0
182 /* Enable Dummy Port Driver*/
183 #ifdef CONFIG_PD_PD000
184 extern int pd000_init(void *handle);
185 #define PD000_INIT(handle) pd000_init(handle)
187 #define PD000_INIT(handle) 0