.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C) 2016 Texas Instruments, Inc. |
---|
3 | | - * |
---|
4 | | - * This program is free software; you can redistribute it and/or modify |
---|
5 | | - * it under the terms of the GNU General Public License as published by |
---|
6 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
7 | | - * (at your option) any later version. |
---|
8 | 4 | */ |
---|
9 | 5 | |
---|
10 | 6 | #ifndef __OMAPFB_DSS_H |
---|
.. | .. |
---|
118 | 114 | OMAP_DSS_COLOR_KEY_VID_SRC = 1, |
---|
119 | 115 | }; |
---|
120 | 116 | |
---|
121 | | -enum omap_rfbi_te_mode { |
---|
122 | | - OMAP_DSS_RFBI_TE_MODE_1 = 1, |
---|
123 | | - OMAP_DSS_RFBI_TE_MODE_2 = 2, |
---|
124 | | -}; |
---|
125 | | - |
---|
126 | 117 | enum omap_dss_signal_level { |
---|
127 | 118 | OMAPDSS_SIG_ACTIVE_LOW, |
---|
128 | 119 | OMAPDSS_SIG_ACTIVE_HIGH, |
---|
.. | .. |
---|
191 | 182 | OMAP_DSS_OUTPUT_DSI2 = 1 << 4, |
---|
192 | 183 | OMAP_DSS_OUTPUT_VENC = 1 << 5, |
---|
193 | 184 | OMAP_DSS_OUTPUT_HDMI = 1 << 6, |
---|
194 | | -}; |
---|
195 | | - |
---|
196 | | -/* RFBI */ |
---|
197 | | - |
---|
198 | | -struct rfbi_timings { |
---|
199 | | - int cs_on_time; |
---|
200 | | - int cs_off_time; |
---|
201 | | - int we_on_time; |
---|
202 | | - int we_off_time; |
---|
203 | | - int re_on_time; |
---|
204 | | - int re_off_time; |
---|
205 | | - int we_cycle_time; |
---|
206 | | - int re_cycle_time; |
---|
207 | | - int cs_pulse_width; |
---|
208 | | - int access_time; |
---|
209 | | - |
---|
210 | | - int clk_div; |
---|
211 | | - |
---|
212 | | - u32 tim[5]; /* set by rfbi_convert_timings() */ |
---|
213 | | - |
---|
214 | | - int converted; |
---|
215 | 185 | }; |
---|
216 | 186 | |
---|
217 | 187 | /* DSI */ |
---|
.. | .. |
---|
645 | 615 | } dpi; |
---|
646 | 616 | |
---|
647 | 617 | struct { |
---|
648 | | - u8 channel; |
---|
649 | | - u8 data_lines; |
---|
650 | | - } rfbi; |
---|
651 | | - |
---|
652 | | - struct { |
---|
653 | 618 | u8 datapairs; |
---|
654 | 619 | } sdi; |
---|
655 | 620 | |
---|
.. | .. |
---|
672 | 637 | |
---|
673 | 638 | struct { |
---|
674 | 639 | u8 pixel_size; |
---|
675 | | - struct rfbi_timings rfbi_timings; |
---|
676 | 640 | } ctrl; |
---|
677 | 641 | |
---|
678 | 642 | const char *name; |
---|