From mboxrd@z Thu Jan 1 00:00:00 1970 From: yanok@emcraft.com (Ilya Yanok) Date: Tue, 27 Dec 2011 00:08:32 +0100 Subject: [PATCH 2/2] mt_ventoux: support for TeeJet Mt.Ventoux board In-Reply-To: <1324940912-18164-1-git-send-email-yanok@emcraft.com> References: <1324940912-18164-1-git-send-email-yanok@emcraft.com> Message-ID: <1324940912-18164-3-git-send-email-yanok@emcraft.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org This patch adds support for TeeJet Mt.Ventoux board based on TAM3517 SOM. Supported devices: - Serial - Ethernet - NAND - USB host - LCD - Touchscreen - CAN controller - ADC128S converter Signed-off-by: Ilya Yanok --- Requires updated machine-type file, recently posted AM35xx-EMAC patch and "Disable PM init on AM35{05,17} patch. arch/arm/mach-omap2/Kconfig | 6 + arch/arm/mach-omap2/Makefile | 1 + arch/arm/mach-omap2/board-am3517_mt_ventoux.c | 708 +++++++++++++++++++++++++ arch/arm/plat-omap/include/plat/uncompress.h | 1 + 4 files changed, 716 insertions(+), 0 deletions(-) create mode 100644 arch/arm/mach-omap2/board-am3517_mt_ventoux.c diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index fd9b8c0..45f5dcb 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig @@ -237,6 +237,12 @@ config MACH_MCX select OMAP_PACKAGE_CBB select REGULATOR_FIXED_VOLTAGE +config MACH_AM3517_MT_VENTOUX + bool "TeeJet MT_VENTOUX (TAM3517 based) board" + depends on ARCH_OMAP3 + select OMAP_PACKAGE_CBB + select REGULATOR_FIXED_VOLTAGE + config MACH_NOKIA_N800 bool diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index 9405dfc..cbc3a36 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile @@ -239,6 +239,7 @@ obj-$(CONFIG_MACH_SBC3530) += board-omap3stalker.o obj-$(CONFIG_MACH_TI8168EVM) += board-ti8168evm.o obj-$(CONFIG_MACH_TI8148EVM) += board-ti8168evm.o obj-$(CONFIG_MACH_MCX) += board-mcx.o +obj-$(CONFIG_MACH_AM3517_MT_VENTOUX) += board-am3517_mt_ventoux.o # Platform specific device init code diff --git a/arch/arm/mach-omap2/board-am3517_mt_ventoux.c b/arch/arm/mach-omap2/board-am3517_mt_ventoux.c new file mode 100644 index 0000000..d4501d9 --- /dev/null +++ b/arch/arm/mach-omap2/board-am3517_mt_ventoux.c @@ -0,0 +1,708 @@ +/* + * Copyright (C) 2011 Ilya Yanok, Emcraft Systems + * + * Modified from mach-omap2/board-mcx.c + * + * 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 +#include +#include + +#include +#include + +#include +#include +#include