File tree 1 file changed +34
-0
lines changed
1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -179,6 +179,40 @@ vidinfo_t panel_info = {
179
179
};
180
180
#endif /* CONFIG_HITACHI_SX14 */
181
181
182
+ /*----------------------------------------------------------------------*/
183
+ #ifdef CONFIG_LMS283GF05
184
+
185
+ # define LCD_BPP LCD_COLOR8
186
+ //# define LCD_INVERT_COLORS
187
+
188
+ /* you have to set lccr0 and lccr3 (including pcd) */
189
+ # define REG_LCCR0 0x043008f8
190
+ # define REG_LCCR3 0x03b00009
191
+
192
+ vidinfo_t panel_info = {
193
+ vl_col : 240 ,
194
+ vl_row : 320 ,
195
+ vl_width : 240 ,
196
+ vl_height : 320 ,
197
+ vl_clkp : CONFIG_SYS_HIGH ,
198
+ vl_oep : CONFIG_SYS_LOW ,
199
+ vl_hsp : CONFIG_SYS_LOW ,
200
+ vl_vsp : CONFIG_SYS_LOW ,
201
+ vl_dp : CONFIG_SYS_HIGH ,
202
+ vl_bpix : LCD_BPP ,
203
+ vl_lbw : 0 ,
204
+ vl_splt : 1 ,
205
+ vl_clor : 1 ,
206
+ vl_tft : 1 ,
207
+ vl_hpw : 4 ,
208
+ vl_blw : 4 ,
209
+ vl_elw : 8 ,
210
+ vl_vpw : 4 ,
211
+ vl_bfw : 4 ,
212
+ vl_efw : 8 ,
213
+ };
214
+ #endif /* CONFIG_LMS283GF05 */
215
+
182
216
/*----------------------------------------------------------------------*/
183
217
184
218
#if LCD_BPP == LCD_COLOR8
You can’t perform that action at this time.
0 commit comments