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/arch/sh/boards/mach-migor/Kconfig | 15 + kernel/arch/sh/boards/mach-migor/Makefile | 2 + kernel/arch/sh/boards/mach-migor/lcd_qvga.c | 166 +++++++ kernel/arch/sh/boards/mach-migor/sdram.S | 69 +++ kernel/arch/sh/boards/mach-migor/setup.c | 675 ++++++++++++++++++++++++++++ 5 files changed, 927 insertions(+) create mode 100644 kernel/arch/sh/boards/mach-migor/Kconfig create mode 100644 kernel/arch/sh/boards/mach-migor/Makefile create mode 100644 kernel/arch/sh/boards/mach-migor/lcd_qvga.c create mode 100644 kernel/arch/sh/boards/mach-migor/sdram.S create mode 100644 kernel/arch/sh/boards/mach-migor/setup.c (limited to 'kernel/arch/sh/boards/mach-migor') diff --git a/kernel/arch/sh/boards/mach-migor/Kconfig b/kernel/arch/sh/boards/mach-migor/Kconfig new file mode 100644 index 000000000..a7b3b728e --- /dev/null +++ b/kernel/arch/sh/boards/mach-migor/Kconfig @@ -0,0 +1,15 @@ +if SH_MIGOR + +choice + prompt "Migo-R LCD Panel Board Selection" + default SH_MIGOR_QVGA + +config SH_MIGOR_QVGA + bool "QVGA (320x240)" + +config SH_MIGOR_RTA_WVGA + bool "RTA WVGA (800x480)" + +endchoice + +endif diff --git a/kernel/arch/sh/boards/mach-migor/Makefile b/kernel/arch/sh/boards/mach-migor/Makefile new file mode 100644 index 000000000..4601a89e5 --- /dev/null +++ b/kernel/arch/sh/boards/mach-migor/Makefile @@ -0,0 +1,2 @@ +obj-y := setup.o sdram.o +obj-$(CONFIG_SH_MIGOR_QVGA) += lcd_qvga.o diff --git a/kernel/arch/sh/boards/mach-migor/lcd_qvga.c b/kernel/arch/sh/boards/mach-migor/lcd_qvga.c new file mode 100644 index 000000000..8bccd345b --- /dev/null +++ b/kernel/arch/sh/boards/mach-migor/lcd_qvga.c @@ -0,0 +1,166 @@ +/* + * Support for SuperH MigoR Quarter VGA LCD Panel + * + * Copyright (C) 2008 Magnus Damm + * + * Based on lcd_powertip.c from Kenati Technologies Pvt Ltd. + * Copyright (c) 2007 Ujjwal Pande , + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#include +#include +#include +#include +#include +#include +#include +#include