blob: a27cc52e4d25ae17622fa2817a4ed1cc85b0920e [file] [log] [blame]
Werner Zehc42a6132015-02-12 12:40:15 +01001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2014 Siemens AG
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
Werner Zehc42a6132015-02-12 12:40:15 +010014 */
15
16#ifndef _LCD_PANEL_H_
17#define _LCD_PANEL_H_
18
19/* This GPIOs are used for LCD panel type encoding */
20#define LCD_TYPE_GPIO_BIT0 40
21#define LCD_TYPE_GPIO_BIT1 41
22#define LCD_TYPE_GPIO_BIT2 42
23#define LCD_TYPE_GPIO_BIT3 43
24
25#define LCD_PANEL_TYPE_10_INCH 4
26#define LCD_PANEL_TYPE_12_INCH 7
27#define LCD_PANEL_TYPE_15_INCH 6
28#define LCD_PANEL_TYPE_19_INCH 1
29#define LCD_PANEL_TYPE_EDID 15
30
31u8 get_lcd_panel_type(void);
32int setup_lcd_panel(void);
33
34
35#endif /* _LCD_PANEL_H_ */