From 9ca8dbcc65cfc63d6f5ef3312a33184e1d726e00 Mon Sep 17 00:00:00 2001 From: Yunhong Jiang Date: Tue, 4 Aug 2015 12:17:53 -0700 Subject: Add the rt linux 4.1.3-rt3 as base Import the rt linux 4.1.3-rt3 as OPNFV kvm base. It's from git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-4.1.y-rt and the base is: commit 0917f823c59692d751951bf5ea699a2d1e2f26a2 Author: Sebastian Andrzej Siewior Date: Sat Jul 25 12:13:34 2015 +0200 Prepare v4.1.3-rt3 Signed-off-by: Sebastian Andrzej Siewior We lose all the git history this way and it's not good. We should apply another opnfv project repo in future. Change-Id: I87543d81c9df70d99c5001fbdf646b202c19f423 Signed-off-by: Yunhong Jiang --- kernel/drivers/video/fbdev/s3c2410fb.h | 48 ++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 kernel/drivers/video/fbdev/s3c2410fb.h (limited to 'kernel/drivers/video/fbdev/s3c2410fb.h') diff --git a/kernel/drivers/video/fbdev/s3c2410fb.h b/kernel/drivers/video/fbdev/s3c2410fb.h new file mode 100644 index 000000000..47a17bd23 --- /dev/null +++ b/kernel/drivers/video/fbdev/s3c2410fb.h @@ -0,0 +1,48 @@ +/* + * linux/drivers/video/s3c2410fb.h + * Copyright (c) 2004 Arnaud Patard + * + * S3C2410 LCD Framebuffer Driver + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file COPYING in the main directory of this archive for + * more details. + * +*/ + +#ifndef __S3C2410FB_H +#define __S3C2410FB_H + +enum s3c_drv_type { + DRV_S3C2410, + DRV_S3C2412, +}; + +struct s3c2410fb_info { + struct device *dev; + struct clk *clk; + + struct resource *mem; + void __iomem *io; + void __iomem *irq_base; + + enum s3c_drv_type drv_type; + struct s3c2410fb_hw regs; + + unsigned long clk_rate; + unsigned int palette_ready; + +#ifdef CONFIG_CPU_FREQ + struct notifier_block freq_transition; +#endif + + /* keep these registers in case we need to re-write palette */ + u32 palette_buffer[256]; + u32 pseudo_pal[16]; +}; + +#define PALETTE_BUFF_CLEAR (0x80000000) /* entry is clear/invalid */ + +int s3c2410fb_init(void); + +#endif -- cgit 1.2.3-korg