diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-21 18:40:55 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-21 18:40:55 -0400 |
commit | 85b375a613085b78531ec86369a51c2f3b922f95 (patch) | |
tree | 716437d598de92bbd7acaf24622e9a7d74fc209a /include/asm-arm/hardware | |
parent | ec965350bb98bd291eb34f6ecddfdcfc36da1e6e (diff) | |
parent | cf816ecb533ab96b883dfdc0db174598b5b5c4d2 (diff) |
Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm
* 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (212 commits)
[ARM] pxa: Phycore pcm-990-specific code for the PXA270 Quick Capture driver
[ARM] pxa: V4L2 soc_camera driver for PXA270
[ARM] pxa: restrict availability of pxa2xx PCMCIA drivers
[ARM] 5005/1: BAST: Fix kset_name initialiser
[ARM] 4967/1: Adds functions to set clkout rate for Samsung S3C2410
[ARM] 4988/1: Add GPIO lib support to the EP93xx
[ARM] Add initial sparsemem support
[ARM] pxa: initialise PXA devices before platform init code
[ARM] 5002/1: tosa: add two more leds
[ARM] 5004/1: Tosa: make several unreferenced structures static.
[ARM] 5003/1: Shut up sparse warnings
[ARM] 4977/2: soc - pxa2xx-ac97 - Add missing clk_enable()
[ARM] 4976/1: zylonite: Configure GPIO for WM9713 IRQ line
[ARM] 4974/1: Drop unused leds-tosa.
[ARM] 4973/1: Tosa: use leds-gpio driver.
[ARM] 4972/1: Tosa: convert scoop GPIOs usage to generic gpio code
[ARM] 4971/1: pxaficp_ir: provide startup and shutdown hooks
[ARM] pxa: lubbock: move mis-placed SPI info
[ARM] 4970/1: tosa: correct gpio used for wake up.
[ARM] 4966/1: magician: add MFP pin configuration
...
Diffstat (limited to 'include/asm-arm/hardware')
-rw-r--r-- | include/asm-arm/hardware/arm_scu.h | 15 | ||||
-rw-r--r-- | include/asm-arm/hardware/iop3xx.h | 9 | ||||
-rw-r--r-- | include/asm-arm/hardware/scoop.h | 5 |
3 files changed, 4 insertions, 25 deletions
diff --git a/include/asm-arm/hardware/arm_scu.h b/include/asm-arm/hardware/arm_scu.h deleted file mode 100644 index 7d28eb5a1758..000000000000 --- a/include/asm-arm/hardware/arm_scu.h +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | #ifndef ASMARM_HARDWARE_ARM_SCU_H | ||
2 | #define ASMARM_HARDWARE_ARM_SCU_H | ||
3 | |||
4 | #include <asm/arch/scu.h> | ||
5 | |||
6 | /* | ||
7 | * SCU registers | ||
8 | */ | ||
9 | #define SCU_CTRL 0x00 | ||
10 | #define SCU_CONFIG 0x04 | ||
11 | #define SCU_CPU_STATUS 0x08 | ||
12 | #define SCU_INVALIDATE 0x0c | ||
13 | #define SCU_FPGA_REVISION 0x10 | ||
14 | |||
15 | #endif | ||
diff --git a/include/asm-arm/hardware/iop3xx.h b/include/asm-arm/hardware/iop3xx.h index ede377ec9147..18f6937f5010 100644 --- a/include/asm-arm/hardware/iop3xx.h +++ b/include/asm-arm/hardware/iop3xx.h | |||
@@ -29,6 +29,7 @@ extern void gpio_line_config(int line, int direction); | |||
29 | extern int gpio_line_get(int line); | 29 | extern int gpio_line_get(int line); |
30 | extern void gpio_line_set(int line, int value); | 30 | extern void gpio_line_set(int line, int value); |
31 | extern int init_atu; | 31 | extern int init_atu; |
32 | extern int iop3xx_get_init_atu(void); | ||
32 | #endif | 33 | #endif |
33 | 34 | ||
34 | 35 | ||
@@ -112,14 +113,6 @@ extern int init_atu; | |||
112 | #define IOP3XX_INIT_ATU_DISABLE -1 | 113 | #define IOP3XX_INIT_ATU_DISABLE -1 |
113 | #define IOP3XX_INIT_ATU_ENABLE 1 | 114 | #define IOP3XX_INIT_ATU_ENABLE 1 |
114 | 115 | ||
115 | #ifdef CONFIG_IOP3XX_ATU | ||
116 | #define iop3xx_get_init_atu(x) (init_atu == IOP3XX_INIT_ATU_DEFAULT ?\ | ||
117 | IOP3XX_INIT_ATU_ENABLE : init_atu) | ||
118 | #else | ||
119 | #define iop3xx_get_init_atu(x) (init_atu == IOP3XX_INIT_ATU_DEFAULT ?\ | ||
120 | IOP3XX_INIT_ATU_DISABLE : init_atu) | ||
121 | #endif | ||
122 | |||
123 | /* Messaging Unit */ | 116 | /* Messaging Unit */ |
124 | #define IOP3XX_IMR0 (volatile u32 *)IOP3XX_REG_ADDR(0x0310) | 117 | #define IOP3XX_IMR0 (volatile u32 *)IOP3XX_REG_ADDR(0x0310) |
125 | #define IOP3XX_IMR1 (volatile u32 *)IOP3XX_REG_ADDR(0x0314) | 118 | #define IOP3XX_IMR1 (volatile u32 *)IOP3XX_REG_ADDR(0x0314) |
diff --git a/include/asm-arm/hardware/scoop.h b/include/asm-arm/hardware/scoop.h index d37bf7443264..dfb8330599f9 100644 --- a/include/asm-arm/hardware/scoop.h +++ b/include/asm-arm/hardware/scoop.h | |||
@@ -40,6 +40,7 @@ struct scoop_config { | |||
40 | unsigned short io_dir; | 40 | unsigned short io_dir; |
41 | unsigned short suspend_clr; | 41 | unsigned short suspend_clr; |
42 | unsigned short suspend_set; | 42 | unsigned short suspend_set; |
43 | int gpio_base; | ||
43 | }; | 44 | }; |
44 | 45 | ||
45 | /* Structure for linking scoop devices to PCMCIA sockets */ | 46 | /* Structure for linking scoop devices to PCMCIA sockets */ |
@@ -62,7 +63,7 @@ struct scoop_pcmcia_config { | |||
62 | extern struct scoop_pcmcia_config *platform_scoop_config; | 63 | extern struct scoop_pcmcia_config *platform_scoop_config; |
63 | 64 | ||
64 | void reset_scoop(struct device *dev); | 65 | void reset_scoop(struct device *dev); |
65 | unsigned short set_scoop_gpio(struct device *dev, unsigned short bit); | 66 | unsigned short __deprecated set_scoop_gpio(struct device *dev, unsigned short bit); |
66 | unsigned short reset_scoop_gpio(struct device *dev, unsigned short bit); | 67 | unsigned short __deprecated reset_scoop_gpio(struct device *dev, unsigned short bit); |
67 | unsigned short read_scoop_reg(struct device *dev, unsigned short reg); | 68 | unsigned short read_scoop_reg(struct device *dev, unsigned short reg); |
68 | void write_scoop_reg(struct device *dev, unsigned short reg, unsigned short data); | 69 | void write_scoop_reg(struct device *dev, unsigned short reg, unsigned short data); |