diff options
Diffstat (limited to 'arch/arm/mach-pxa/include')
| -rw-r--r-- | arch/arm/mach-pxa/include/mach/balloon3.h | 2 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/include/mach/corgi.h | 1 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/include/mach/csb726.h | 2 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/include/mach/gpio.h | 32 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/include/mach/gumstix.h | 1 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/include/mach/hx4700.h | 1 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/include/mach/idp.h | 1 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/include/mach/lubbock.h | 2 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/include/mach/palmld.h | 2 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/include/mach/palmt5.h | 2 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/include/mach/palmtc.h | 2 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/include/mach/palmtx.h | 2 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/include/mach/pcm027.h | 2 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/include/mach/pcm990_baseboard.h | 1 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/include/mach/poodle.h | 2 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/include/mach/spitz.h | 2 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/include/mach/timex.h | 34 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/include/mach/tosa.h | 2 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/include/mach/trizeps4.h | 2 | 
19 files changed, 28 insertions, 67 deletions
diff --git a/arch/arm/mach-pxa/include/mach/balloon3.h b/arch/arm/mach-pxa/include/mach/balloon3.h index 954641e6c8b..1b0825911e6 100644 --- a/arch/arm/mach-pxa/include/mach/balloon3.h +++ b/arch/arm/mach-pxa/include/mach/balloon3.h @@ -14,6 +14,8 @@  #ifndef ASM_ARCH_BALLOON3_H  #define ASM_ARCH_BALLOON3_H +#include "irqs.h" /* PXA_NR_BUILTIN_GPIO */ +  enum balloon3_features {  	BALLOON3_FEATURE_OHCI,  	BALLOON3_FEATURE_MMC, diff --git a/arch/arm/mach-pxa/include/mach/corgi.h b/arch/arm/mach-pxa/include/mach/corgi.h index f3c3493b468..c030d955bbd 100644 --- a/arch/arm/mach-pxa/include/mach/corgi.h +++ b/arch/arm/mach-pxa/include/mach/corgi.h @@ -13,6 +13,7 @@  #ifndef __ASM_ARCH_CORGI_H  #define __ASM_ARCH_CORGI_H  1 +#include "irqs.h" /* PXA_NR_BUILTIN_GPIO */  /*   * Corgi (Non Standard) GPIO Definitions diff --git a/arch/arm/mach-pxa/include/mach/csb726.h b/arch/arm/mach-pxa/include/mach/csb726.h index 2628e7b7211..00cfbbbf73f 100644 --- a/arch/arm/mach-pxa/include/mach/csb726.h +++ b/arch/arm/mach-pxa/include/mach/csb726.h @@ -11,6 +11,8 @@  #ifndef CSB726_H  #define CSB726_H +#include "irqs.h" /* PXA_GPIO_TO_IRQ */ +  #define CSB726_GPIO_IRQ_LAN	52  #define CSB726_GPIO_IRQ_SM501	53  #define CSB726_GPIO_MMC_DETECT	100 diff --git a/arch/arm/mach-pxa/include/mach/gpio.h b/arch/arm/mach-pxa/include/mach/gpio.h deleted file mode 100644 index 0248e433bc9..00000000000 --- a/arch/arm/mach-pxa/include/mach/gpio.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - * arch/arm/mach-pxa/include/mach/gpio.h - * - * PXA GPIO wrappers for arch-neutral GPIO calls - * - * Written by Philipp Zabel <philipp.zabel@gmail.com> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - */ - -#ifndef __ASM_ARCH_PXA_GPIO_H -#define __ASM_ARCH_PXA_GPIO_H - -#include <asm-generic/gpio.h> - -#include <mach/irqs.h> -#include <mach/hardware.h> - -#endif diff --git a/arch/arm/mach-pxa/include/mach/gumstix.h b/arch/arm/mach-pxa/include/mach/gumstix.h index dba14b6503a..f7df27bbb42 100644 --- a/arch/arm/mach-pxa/include/mach/gumstix.h +++ b/arch/arm/mach-pxa/include/mach/gumstix.h @@ -6,6 +6,7 @@   * published by the Free Software Foundation.   */ +#include "irqs.h" /* PXA_GPIO_TO_IRQ */  /* BTRESET - Reset line to Bluetooth module, active low signal. */  #define GPIO_GUMSTIX_BTRESET          7 diff --git a/arch/arm/mach-pxa/include/mach/hx4700.h b/arch/arm/mach-pxa/include/mach/hx4700.h index 8bc02913517..0e1bb46264f 100644 --- a/arch/arm/mach-pxa/include/mach/hx4700.h +++ b/arch/arm/mach-pxa/include/mach/hx4700.h @@ -14,6 +14,7 @@  #include <linux/gpio.h>  #include <linux/mfd/asic3.h> +#include "irqs.h" /* PXA_NR_BUILTIN_GPIO */  #define HX4700_ASIC3_GPIO_BASE	PXA_NR_BUILTIN_GPIO  #define HX4700_EGPIO_BASE	(HX4700_ASIC3_GPIO_BASE + ASIC3_NUM_GPIOS) diff --git a/arch/arm/mach-pxa/include/mach/idp.h b/arch/arm/mach-pxa/include/mach/idp.h index 22a96f87232..7e63f468027 100644 --- a/arch/arm/mach-pxa/include/mach/idp.h +++ b/arch/arm/mach-pxa/include/mach/idp.h @@ -23,6 +23,7 @@   * IDP hardware.   */ +#include "irqs.h" /* PXA_GPIO_TO_IRQ */  #define IDP_FLASH_PHYS		(PXA_CS0_PHYS)  #define IDP_ALT_FLASH_PHYS	(PXA_CS1_PHYS) diff --git a/arch/arm/mach-pxa/include/mach/lubbock.h b/arch/arm/mach-pxa/include/mach/lubbock.h index 2a086e8373e..958cd6af938 100644 --- a/arch/arm/mach-pxa/include/mach/lubbock.h +++ b/arch/arm/mach-pxa/include/mach/lubbock.h @@ -10,6 +10,8 @@   * published by the Free Software Foundation.   */ +#include <mach/irqs.h> +  #define LUBBOCK_ETH_PHYS	PXA_CS3_PHYS  #define LUBBOCK_FPGA_PHYS	PXA_CS2_PHYS diff --git a/arch/arm/mach-pxa/include/mach/palmld.h b/arch/arm/mach-pxa/include/mach/palmld.h index 2c447133657..b184f296023 100644 --- a/arch/arm/mach-pxa/include/mach/palmld.h +++ b/arch/arm/mach-pxa/include/mach/palmld.h @@ -13,6 +13,8 @@  #ifndef _INCLUDE_PALMLD_H_  #define _INCLUDE_PALMLD_H_ +#include "irqs.h" /* PXA_GPIO_TO_IRQ */ +  /** HERE ARE GPIOs **/  /* GPIOs */ diff --git a/arch/arm/mach-pxa/include/mach/palmt5.h b/arch/arm/mach-pxa/include/mach/palmt5.h index 0bd4f036c72..e342c592140 100644 --- a/arch/arm/mach-pxa/include/mach/palmt5.h +++ b/arch/arm/mach-pxa/include/mach/palmt5.h @@ -15,6 +15,8 @@  #ifndef _INCLUDE_PALMT5_H_  #define _INCLUDE_PALMT5_H_ +#include "irqs.h" /* PXA_GPIO_TO_IRQ */ +  /** HERE ARE GPIOs **/  /* GPIOs */ diff --git a/arch/arm/mach-pxa/include/mach/palmtc.h b/arch/arm/mach-pxa/include/mach/palmtc.h index c383a21680b..81c727b3cfd 100644 --- a/arch/arm/mach-pxa/include/mach/palmtc.h +++ b/arch/arm/mach-pxa/include/mach/palmtc.h @@ -16,6 +16,8 @@  #ifndef _INCLUDE_PALMTC_H_  #define _INCLUDE_PALMTC_H_ +#include "irqs.h" /* PXA_GPIO_TO_IRQ */ +  /** HERE ARE GPIOs **/  /* GPIOs */ diff --git a/arch/arm/mach-pxa/include/mach/palmtx.h b/arch/arm/mach-pxa/include/mach/palmtx.h index f2e53038025..92bc1f05300 100644 --- a/arch/arm/mach-pxa/include/mach/palmtx.h +++ b/arch/arm/mach-pxa/include/mach/palmtx.h @@ -16,6 +16,8 @@  #ifndef _INCLUDE_PALMTX_H_  #define _INCLUDE_PALMTX_H_ +#include "irqs.h" /* PXA_GPIO_TO_IRQ */ +  /** HERE ARE GPIOs **/  /* GPIOs */ diff --git a/arch/arm/mach-pxa/include/mach/pcm027.h b/arch/arm/mach-pxa/include/mach/pcm027.h index 6bf28de228b..86ebd7b6c96 100644 --- a/arch/arm/mach-pxa/include/mach/pcm027.h +++ b/arch/arm/mach-pxa/include/mach/pcm027.h @@ -23,6 +23,8 @@   * Definitions of CPU card resources only   */ +#include "irqs.h" /* PXA_GPIO_TO_IRQ */ +  /* phyCORE-PXA270 (PCM027) Interrupts */  #define PCM027_IRQ(x)          (IRQ_BOARD_START + (x))  #define PCM027_BTDET_IRQ       PCM027_IRQ(0) diff --git a/arch/arm/mach-pxa/include/mach/pcm990_baseboard.h b/arch/arm/mach-pxa/include/mach/pcm990_baseboard.h index 0260aaa2fc1..7e544c14967 100644 --- a/arch/arm/mach-pxa/include/mach/pcm990_baseboard.h +++ b/arch/arm/mach-pxa/include/mach/pcm990_baseboard.h @@ -20,6 +20,7 @@   */  #include <mach/pcm027.h> +#include "irqs.h" /* PXA_GPIO_TO_IRQ */  /*   * definitions relevant only when the PCM-990 diff --git a/arch/arm/mach-pxa/include/mach/poodle.h b/arch/arm/mach-pxa/include/mach/poodle.h index f32ff75dcca..b56b19351a0 100644 --- a/arch/arm/mach-pxa/include/mach/poodle.h +++ b/arch/arm/mach-pxa/include/mach/poodle.h @@ -15,6 +15,8 @@  #ifndef __ASM_ARCH_POODLE_H  #define __ASM_ARCH_POODLE_H  1 +#include "irqs.h" /* PXA_GPIO_TO_IRQ */ +  /*   * GPIOs   */ diff --git a/arch/arm/mach-pxa/include/mach/spitz.h b/arch/arm/mach-pxa/include/mach/spitz.h index 0bfe6507c95..25c9f62e46a 100644 --- a/arch/arm/mach-pxa/include/mach/spitz.h +++ b/arch/arm/mach-pxa/include/mach/spitz.h @@ -15,8 +15,8 @@  #define __ASM_ARCH_SPITZ_H  1  #endif +#include "irqs.h" /* PXA_NR_BUILTIN_GPIO, PXA_GPIO_TO_IRQ */  #include <linux/fb.h> -#include <linux/gpio.h>  /* Spitz/Akita GPIOs */ diff --git a/arch/arm/mach-pxa/include/mach/timex.h b/arch/arm/mach-pxa/include/mach/timex.h deleted file mode 100644 index af6760a50e1..00000000000 --- a/arch/arm/mach-pxa/include/mach/timex.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * arch/arm/mach-pxa/include/mach/timex.h - * - * Author:	Nicolas Pitre - * Created:	Jun 15, 2001 - * Copyright:	MontaVista Software Inc. - * - * 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. - */ - -/* Various drivers are still using the constant of CLOCK_TICK_RATE, for - * those drivers to at least work, the definition is provided here. - * - * NOTE: this is no longer accurate when multiple processors and boards - * are selected, newer drivers should not depend on this any more.  Use - * either the clocksource/clockevent or get this at run-time by calling - * get_clock_tick_rate() (as defined in generic.c). - */ - -#if defined(CONFIG_PXA25x) -/* PXA250/210 timer base */ -#define CLOCK_TICK_RATE 3686400 -#elif defined(CONFIG_PXA27x) -/* PXA27x timer base */ -#ifdef CONFIG_MACH_MAINSTONE -#define CLOCK_TICK_RATE 3249600 -#else -#define CLOCK_TICK_RATE 3250000 -#endif -#else -#define CLOCK_TICK_RATE 3250000 -#endif diff --git a/arch/arm/mach-pxa/include/mach/tosa.h b/arch/arm/mach-pxa/include/mach/tosa.h index 2bb0e862598..0497d95cef2 100644 --- a/arch/arm/mach-pxa/include/mach/tosa.h +++ b/arch/arm/mach-pxa/include/mach/tosa.h @@ -13,6 +13,8 @@  #ifndef _ASM_ARCH_TOSA_H_  #define _ASM_ARCH_TOSA_H_ 1 +#include "irqs.h" /* PXA_NR_BUILTIN_GPIO */ +  /*  TOSA Chip selects  */  #define TOSA_LCDC_PHYS		PXA_CS4_PHYS  /* Internel Scoop */ diff --git a/arch/arm/mach-pxa/include/mach/trizeps4.h b/arch/arm/mach-pxa/include/mach/trizeps4.h index d2ca01053f6..ae3ca013afa 100644 --- a/arch/arm/mach-pxa/include/mach/trizeps4.h +++ b/arch/arm/mach-pxa/include/mach/trizeps4.h @@ -10,6 +10,8 @@  #ifndef _TRIPEPS4_H_  #define _TRIPEPS4_H_ +#include "irqs.h" /* PXA_GPIO_TO_IRQ */ +  /* physical memory regions */  #define TRIZEPS4_FLASH_PHYS	(PXA_CS0_PHYS)  /* Flash region */  #define TRIZEPS4_DISK_PHYS	(PXA_CS1_PHYS)  /* Disk On Chip region */  | 
