Donghwa Lee | 6d4339f | 2012-04-05 19:36:17 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012 Samsung Electronics |
| 3 | * |
| 4 | * Author: InKi Dae <inki.dae@samsung.com> |
| 5 | * Author: Donghwa Lee <dh09.lee@samsung.com> |
| 6 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 7 | * SPDX-License-Identifier: GPL-2.0+ |
Donghwa Lee | 6d4339f | 2012-04-05 19:36:17 +0000 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | #ifndef _EXYNOS_FB_H_ |
| 11 | #define _EXYNOS_FB_H_ |
| 12 | |
| 13 | #include <asm/arch/fb.h> |
| 14 | |
| 15 | #define MAX_CLOCK (86 * 1000000) |
| 16 | |
Donghwa Lee | 6d4339f | 2012-04-05 19:36:17 +0000 | [diff] [blame] | 17 | enum exynos_cpu_auto_cmd_rate { |
| 18 | DISABLE_AUTO_FRM, |
| 19 | PER_TWO_FRM, |
| 20 | PER_FOUR_FRM, |
| 21 | PER_SIX_FRM, |
| 22 | PER_EIGHT_FRM, |
| 23 | PER_TEN_FRM, |
| 24 | PER_TWELVE_FRM, |
| 25 | PER_FOURTEEN_FRM, |
| 26 | PER_SIXTEEN_FRM, |
| 27 | PER_EIGHTEEN_FRM, |
| 28 | PER_TWENTY_FRM, |
| 29 | PER_TWENTY_TWO_FRM, |
| 30 | PER_TWENTY_FOUR_FRM, |
| 31 | PER_TWENTY_SIX_FRM, |
| 32 | PER_TWENTY_EIGHT_FRM, |
| 33 | PER_THIRTY_FRM, |
| 34 | }; |
| 35 | |
| 36 | void exynos_fimd_lcd_init_mem(unsigned long screen_base, unsigned long fb_size, |
| 37 | unsigned long palette_size); |
| 38 | void exynos_fimd_lcd_init(vidinfo_t *vid); |
| 39 | unsigned long exynos_fimd_calc_fbsize(void); |
| 40 | |
| 41 | #endif |