huang lin | 82ba4d0 | 2014-08-16 10:49:32 +0800 | [diff] [blame^] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright 2014 Rockchip Inc. |
| 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. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program; if not, write to the Free Software |
| 17 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | */ |
| 19 | |
| 20 | #ifndef __SOC_ROCKCHIP_RK3288_CHIP_H__ |
| 21 | #define __SOC_ROCKCHIP_RK3288_CHIP_H__ |
| 22 | |
| 23 | struct soc_rockchip_rk3288_config { |
| 24 | int screen_type; |
| 25 | int lvds_format; |
| 26 | int out_face; |
| 27 | int clock_frequency; |
| 28 | int hactive; |
| 29 | int vactive; |
| 30 | int hback_porch; |
| 31 | int hfront_porch; |
| 32 | int vback_porch; |
| 33 | int vfront_porch; |
| 34 | int hsync_len; |
| 35 | int vsync_len; |
| 36 | int hsync_active; |
| 37 | int vsync_active; |
| 38 | int de_active; |
| 39 | int pixelclk_active; |
| 40 | int swap_rb; |
| 41 | int swap_rg; |
| 42 | int swap_gb; |
| 43 | int lcd_en_gpio; |
| 44 | int lcd_cs_gpio; |
| 45 | }; |
| 46 | |
| 47 | #endif /* __SOC_ROCKCHIP_RK3288_CHIP_H__ */ |