From 733e9d7265d8be87e46aea911bb690c3a80d7b96 Mon Sep 17 00:00:00 2001 From: Philipp Zabel Date: Thu, 28 May 2009 07:05:18 +0200 Subject: [PATCH] --- yaml --- r: 149341 b: refs/heads/master c: d3ca1952e63ffbebab6f2f1c9551df7b3cb731f5 h: refs/heads/master i: 149339: c06e47d88a4d02991f9b269a98d12b0ec89e7b36 v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-pxa/Kconfig | 8 + trunk/arch/arm/mach-pxa/Makefile | 1 + trunk/arch/arm/mach-pxa/hx4700.c | 851 ++++++++++++++++++ trunk/arch/arm/mach-pxa/include/mach/hx4700.h | 131 +++ trunk/arch/arm/mach-pxa/include/mach/irqs.h | 4 +- 6 files changed, 995 insertions(+), 2 deletions(-) create mode 100644 trunk/arch/arm/mach-pxa/hx4700.c create mode 100644 trunk/arch/arm/mach-pxa/include/mach/hx4700.h diff --git a/[refs] b/[refs] index 60d1c366081b..a2a291de8580 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2f1a5bf707a39153d93d04858f69f2d43563d08c +refs/heads/master: d3ca1952e63ffbebab6f2f1c9551df7b3cb731f5 diff --git a/trunk/arch/arm/mach-pxa/Kconfig b/trunk/arch/arm/mach-pxa/Kconfig index 3b34f34db204..a911bc961dea 100644 --- a/trunk/arch/arm/mach-pxa/Kconfig +++ b/trunk/arch/arm/mach-pxa/Kconfig @@ -309,6 +309,14 @@ config MACH_CM_X300 select PXA3xx select CPU_PXA300 +config MACH_H4700 + bool "HP iPAQ hx4700" + select PXA27x + select IWMMXT + select PXA_SSP + select HAVE_PWM + select PXA_HAVE_BOARD_IRQS + config MACH_MAGICIAN bool "Enable HTC Magician Support" select PXA27x diff --git a/trunk/arch/arm/mach-pxa/Makefile b/trunk/arch/arm/mach-pxa/Makefile index 47d01572a04d..e950c40b316e 100644 --- a/trunk/arch/arm/mach-pxa/Makefile +++ b/trunk/arch/arm/mach-pxa/Makefile @@ -46,6 +46,7 @@ obj-$(CONFIG_MACH_PCM027) += pcm027.o obj-$(CONFIG_MACH_PCM990_BASEBOARD) += pcm990-baseboard.o obj-$(CONFIG_MACH_TOSA) += tosa.o obj-$(CONFIG_MACH_EM_X270) += em-x270.o +obj-$(CONFIG_MACH_H4700) += hx4700.o obj-$(CONFIG_MACH_MAGICIAN) += magician.o obj-$(CONFIG_MACH_HIMALAYA) += himalaya.o obj-$(CONFIG_MACH_MIOA701) += mioa701.o mioa701_bootresume.o diff --git a/trunk/arch/arm/mach-pxa/hx4700.c b/trunk/arch/arm/mach-pxa/hx4700.c new file mode 100644 index 000000000000..0f6568005e16 --- /dev/null +++ b/trunk/arch/arm/mach-pxa/hx4700.c @@ -0,0 +1,851 @@ +/* + * Support for HP iPAQ hx4700 PDAs. + * + * Copyright (c) 2008-2009 Philipp Zabel + * + * Based on code: + * Copyright (c) 2004 Hewlett-Packard Company. + * Copyright (c) 2005 SDG Systems, LLC + * Copyright (c) 2006 Anton Vorontsov + * + * 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 +#include +#include +#include +#include + +#include +#include +#include + +#include +#include +#include +#include +#include + +#include