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. |
huang lin | 82ba4d0 | 2014-08-16 10:49:32 +0800 | [diff] [blame] | 14 | */ |
| 15 | |
| 16 | #ifndef __SOC_ROCKCHIP_RK3288_CHIP_H__ |
| 17 | #define __SOC_ROCKCHIP_RK3288_CHIP_H__ |
| 18 | |
huang lin | 40f558e | 2014-09-19 14:51:52 +0800 | [diff] [blame] | 19 | #include <soc/gpio.h> |
David Hendricks | af42f06 | 2015-06-17 13:47:28 -0700 | [diff] [blame] | 20 | #include <soc/vop.h> /* for vop_modes enum used in devicetree.cb */ |
huang lin | 40f558e | 2014-09-19 14:51:52 +0800 | [diff] [blame] | 21 | |
huang lin | 82ba4d0 | 2014-08-16 10:49:32 +0800 | [diff] [blame] | 22 | struct soc_rockchip_rk3288_config { |
huang lin | 40f558e | 2014-09-19 14:51:52 +0800 | [diff] [blame] | 23 | u32 vop_id; |
| 24 | gpio_t lcd_bl_pwm_gpio; |
| 25 | gpio_t lcd_bl_en_gpio; |
huang lin | 40f558e | 2014-09-19 14:51:52 +0800 | [diff] [blame] | 26 | u32 bl_power_on_udelay; |
| 27 | u32 bl_pwm_to_enable_udelay; |
| 28 | u32 framebuffer_bits_per_pixel; |
Yakir Yang | 68f42be | 2015-04-29 10:08:12 -0500 | [diff] [blame] | 29 | u32 vop_mode; |
huang lin | 82ba4d0 | 2014-08-16 10:49:32 +0800 | [diff] [blame] | 30 | }; |
| 31 | |
| 32 | #endif /* __SOC_ROCKCHIP_RK3288_CHIP_H__ */ |