From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sat, 16 Apr 2005 15:20:36 -0700 Subject: Linux-2.6.12-rc2 Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip! --- arch/arm/mach-pxa/Kconfig | 77 ++++++++ arch/arm/mach-pxa/Makefile | 26 +++ arch/arm/mach-pxa/Makefile.boot | 2 + arch/arm/mach-pxa/corgi.c | 320 ++++++++++++++++++++++++++++++++ arch/arm/mach-pxa/corgi_ssp.c | 248 +++++++++++++++++++++++++ arch/arm/mach-pxa/dma.c | 133 ++++++++++++++ arch/arm/mach-pxa/generic.c | 237 ++++++++++++++++++++++++ arch/arm/mach-pxa/generic.h | 24 +++ arch/arm/mach-pxa/idp.c | 190 +++++++++++++++++++ arch/arm/mach-pxa/irq.c | 313 ++++++++++++++++++++++++++++++++ arch/arm/mach-pxa/leds-idp.c | 117 ++++++++++++ arch/arm/mach-pxa/leds-lubbock.c | 126 +++++++++++++ arch/arm/mach-pxa/leds-mainstone.c | 121 +++++++++++++ arch/arm/mach-pxa/leds.c | 32 ++++ arch/arm/mach-pxa/leds.h | 12 ++ arch/arm/mach-pxa/lubbock.c | 247 +++++++++++++++++++++++++ arch/arm/mach-pxa/mainstone.c | 316 ++++++++++++++++++++++++++++++++ arch/arm/mach-pxa/pm.c | 227 +++++++++++++++++++++++ arch/arm/mach-pxa/poodle.c | 189 +++++++++++++++++++ arch/arm/mach-pxa/pxa25x.c | 104 +++++++++++ arch/arm/mach-pxa/pxa27x.c | 163 +++++++++++++++++ arch/arm/mach-pxa/sleep.S | 194 ++++++++++++++++++++ arch/arm/mach-pxa/ssp.c | 363 +++++++++++++++++++++++++++++++++++++ arch/arm/mach-pxa/time.c | 164 +++++++++++++++++ 24 files changed, 3945 insertions(+) create mode 100644 arch/arm/mach-pxa/Kconfig create mode 100644 arch/arm/mach-pxa/Makefile create mode 100644 arch/arm/mach-pxa/Makefile.boot create mode 100644 arch/arm/mach-pxa/corgi.c create mode 100644 arch/arm/mach-pxa/corgi_ssp.c create mode 100644 arch/arm/mach-pxa/dma.c create mode 100644 arch/arm/mach-pxa/generic.c create mode 100644 arch/arm/mach-pxa/generic.h create mode 100644 arch/arm/mach-pxa/idp.c create mode 100644 arch/arm/mach-pxa/irq.c create mode 100644 arch/arm/mach-pxa/leds-idp.c create mode 100644 arch/arm/mach-pxa/leds-lubbock.c create mode 100644 arch/arm/mach-pxa/leds-mainstone.c create mode 100644 arch/arm/mach-pxa/leds.c create mode 100644 arch/arm/mach-pxa/leds.h create mode 100644 arch/arm/mach-pxa/lubbock.c create mode 100644 arch/arm/mach-pxa/mainstone.c create mode 100644 arch/arm/mach-pxa/pm.c create mode 100644 arch/arm/mach-pxa/poodle.c create mode 100644 arch/arm/mach-pxa/pxa25x.c create mode 100644 arch/arm/mach-pxa/pxa27x.c create mode 100644 arch/arm/mach-pxa/sleep.S create mode 100644 arch/arm/mach-pxa/ssp.c create mode 100644 arch/arm/mach-pxa/time.c (limited to 'arch/arm/mach-pxa') diff --git a/arch/arm/mach-pxa/Kconfig b/arch/arm/mach-pxa/Kconfig new file mode 100644 index 00000000000..405a55f2287 --- /dev/null +++ b/arch/arm/mach-pxa/Kconfig @@ -0,0 +1,77 @@ +if ARCH_PXA + +menu "Intel PXA2xx Implementations" + +choice + prompt "Select target board" + +config ARCH_LUBBOCK + bool "Intel DBPXA250 Development Platform" + select PXA25x + select SA1111 + +config MACH_MAINSTONE + bool "Intel HCDDBBVA0 Development Platform" + select PXA27x + select IWMMXT + +config ARCH_PXA_IDP + bool "Accelent Xscale IDP" + select PXA25x + +config PXA_SHARPSL + bool "SHARP SL-5600 and SL-C7xx Models" + select PXA25x + select SHARP_SCOOP + select SHARP_PARAM + help + Say Y here if you intend to run this kernel on a + Sharp SL-5600 (Poodle), Sharp SL-C700 (Corgi), + SL-C750 (Shepherd) or a Sharp SL-C760 (Husky) + handheld computer. + +endchoice + +endmenu + +config MACH_POODLE + bool "Enable Sharp SL-5600 (Poodle) Support" + depends PXA_SHARPSL + select SHARP_LOCOMO + +config MACH_CORGI + bool "Enable Sharp SL-C700 (Corgi) Support" + depends PXA_SHARPSL + select PXA_SHARP_C7xx + +config MACH_SHEPHERD + bool "Enable Sharp SL-C750 (Shepherd) Support" + depends PXA_SHARPSL + select PXA_SHARP_C7xx + +config MACH_HUSKY + bool "Enable Sharp SL-C760 (Husky) Support" + depends PXA_SHARPSL + select PXA_SHARP_C7xx + +config PXA25x + bool + help + Select code specific to PXA21x/25x/26x variants + +config PXA27x + bool + help + Select code specific to PXA27x variants + +config IWMMXT + bool + help + Enable support for iWMMXt + +config PXA_SHARP_C7xx + bool + help + Enable support for all Sharp C7xx models + +endif diff --git a/arch/arm/mach-pxa/Makefile b/arch/arm/mach-pxa/Makefile new file mode 100644 index 00000000000..c4e6d252358 --- /dev/null +++ b/arch/arm/mach-pxa/Makefile @@ -0,0 +1,26 @@ +# +# Makefile for the linux kernel. +# + +# Common support (must be linked before board specific support) +obj-y += generic.o irq.o dma.o time.o +obj-$(CONFIG_PXA25x) += pxa25x.o +obj-$(CONFIG_PXA27x) += pxa27x.o + +# Specific board support +obj-$(CONFIG_ARCH_LUBBOCK) += lubbock.o +obj-$(CONFIG_MACH_MAINSTONE) += mainstone.o +obj-$(CONFIG_ARCH_PXA_IDP) += idp.o +obj-$(CONFIG_PXA_SHARP_C7xx) += corgi.o corgi_ssp.o ssp.o +obj-$(CONFIG_MACH_POODLE) += poodle.o + +# Support for blinky lights +led-y := leds.o +led-$(CONFIG_ARCH_LUBBOCK) += leds-lubbock.o +led-$(CONFIG_MACH_MAINSTONE) += leds-mainstone.o +led-$(CONFIG_ARCH_PXA_IDP) += leds-idp.o + +obj-$(CONFIG_LEDS) += $(led-y) + +# Misc features +obj-$(CONFIG_PM) += pm.o sleep.o diff --git a/arch/arm/mach-pxa/Makefile.boot b/arch/arm/mach-pxa/Makefile.boot new file mode 100644 index 00000000000..1ead67178ec --- /dev/null +++ b/arch/arm/mach-pxa/Makefile.boot @@ -0,0 +1,2 @@ + zreladdr-y := 0xa0008000 + diff --git a/arch/arm/mach-pxa/corgi.c b/arch/arm/mach-pxa/corgi.c new file mode 100644 index 00000000000..f691cf77d39 --- /dev/null +++ b/arch/arm/mach-pxa/corgi.c @@ -0,0 +1,320 @@ +/* + * Support for Sharp SL-C7xx PDAs + * Models: SL-C700 (Corgi), SL-C750 (Shepherd), SL-C760 (Husky) + * + * Copyright (c) 2004-2005 Richard Purdie + * + * Based on Sharp's 2.4 kernel patches/lubbock.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 +#include + +#include +#include +#include +#include +#include + +#include +#include +#include