blob: 00cf60c45fe9eb6959eb85bb3f0892b34c2ad808 [file] [log] [blame]
Donghwa Lee6d4339f2012-04-05 19:36:17 +00001/*
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 Denk1a459662013-07-08 09:37:19 +02007 * SPDX-License-Identifier: GPL-2.0+
Donghwa Lee6d4339f2012-04-05 19:36:17 +00008 */
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 Lee6d4339f2012-04-05 19:36:17 +000017enum 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
36void exynos_fimd_lcd_init_mem(unsigned long screen_base, unsigned long fb_size,
37 unsigned long palette_size);
38void exynos_fimd_lcd_init(vidinfo_t *vid);
39unsigned long exynos_fimd_calc_fbsize(void);
40
41#endif