Werner Zeh | c42a613 | 2015-02-12 12:40:15 +0100 | [diff] [blame] | 1 | /* |
| 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 Zeh | c42a613 | 2015-02-12 12:40:15 +0100 | [diff] [blame] | 14 | */ |
| 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 | |
| 31 | u8 get_lcd_panel_type(void); |
| 32 | int setup_lcd_panel(void); |
| 33 | |
| 34 | |
| 35 | #endif /* _LCD_PANEL_H_ */ |