Gigabeat S/i.MX31: Sort files in the /target tree into things that are SoC-generic...
[kugel-rb.git] / firmware / target / arm / s3c2440 / mini2440 / lcd-target.h
blobb2882e2390621ed1d0fefaf7c55f5b1b619c18e1
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2009 by Bob Cousins, Lyre Project
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
22 extern void lcd_enable(bool state);
24 /* Setup for Mini2440, 3.5" TFT LCD Touchscreen */
26 /* Config values for LCDCON1 */
27 #define LCD_CLKVAL 4
28 #define LCD_MMODE 0
29 #define LCD_PNRMODE 3
30 #define LCD_BPPMODE 12
31 #define LCD_ENVID 1
33 /* Config values for LCDCON2 */
34 #define LCD_UPPER_MARGIN 1
35 #define LCD_LOWER_MARGIN 4
36 #define LCD_VSYNC_LEN 1
38 /* Config values for LCDCON3 */
39 #define LCD_RIGHT_MARGIN 0
40 #define LCD_LEFT_MARGIN 25
42 /* Config values for LCDCON4 */
43 #define LCD_HSYNC_LEN 4