Skip to content

Commit 39b945a

Browse files
committed
Merge master.kernel.org:/home/rmk/linux-2.6-arm
* master.kernel.org:/home/rmk/linux-2.6-arm: [ARM] pxa: fix tosa.c build error [ARM] 5067/1: _raw_write_can_lock macro bugfix [ARM] 5070/1: pxa: add GPIO104_PSKTSEL to pxa27x MFP configuration [ARM] 5068/1: PXA2xx Additional gpio definitions [ARM] 5066/2: EM-X270: Fix DM9000 IRQ flags initialisation [ARM] 5065/2: CM-X270: Fix DM9000 IRQ flags initialisation [ARM] 5062/1: pxa: remove unused definition of CONFIG_ARCH_COTULLA_IDP [ARM] 5060/1: remove unnecessary include of asm/io.h [ARM] fix AT91 include loops
2 parents 203c801 + 0ef2cfc commit 39b945a

File tree

9 files changed

+15
-12
lines changed

9 files changed

+15
-12
lines changed

arch/arm/boot/compressed/head-xscale.S

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ __XScale_start:
3333
bic r0, r0, #0x1000 @ clear Icache
3434
mcr p15, 0, r0, c1, c0, 0
3535

36-
#ifdef CONFIG_ARCH_COTULLA_IDP
37-
mov r7, #MACH_TYPE_COTULLA_IDP
38-
#endif
39-
4036
#ifdef CONFIG_ARCH_IXP2000
4137
mov r1, #-1
4238
mov r0, #0xd6000000

arch/arm/mach-pxa/cm-x270.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ static struct resource cmx270_dm9k_resource[] = {
5959
[2] = {
6060
.start = CMX270_ETHIRQ,
6161
.end = CMX270_ETHIRQ,
62-
.flags = IORESOURCE_IRQ,
62+
.flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE,
6363
}
6464
};
6565

arch/arm/mach-pxa/em-x270.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ static struct resource em_x270_dm9k_resource[] = {
5050
[2] = {
5151
.start = EM_X270_ETHIRQ,
5252
.end = EM_X270_ETHIRQ,
53-
.flags = IORESOURCE_IRQ,
53+
.flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE,
5454
}
5555
};
5656

arch/arm/mach-pxa/tosa.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,8 +467,8 @@ static struct platform_device *devices[] __initdata = {
467467

468468
static void tosa_poweroff(void)
469469
{
470-
pxa_gpio_mode(TOSA_GPIO_ON_RESET | GPIO_OUT);
471-
GPSR(TOSA_GPIO_ON_RESET) = GPIO_bit(TOSA_GPIO_ON_RESET);
470+
gpio_direction_output(TOSA_GPIO_ON_RESET, 0);
471+
gpio_set_value(TOSA_GPIO_ON_RESET, 1);
472472

473473
mdelay(1000);
474474
arm_machine_restart('h');

include/asm-arm/arch-at91/io.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
#ifndef __ASM_ARCH_IO_H
2222
#define __ASM_ARCH_IO_H
2323

24-
#include <asm/io.h>
25-
2624
#define IO_SPACE_LIMIT 0xFFFFFFFF
2725

2826
#define __io(a) ((void __iomem *)(a))

include/asm-arm/arch-pxa/mfp-pxa27x.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@
112112
#define GPIO57_nIOIS16 MFP_CFG_IN(GPIO57, AF1)
113113
#define GPIO56_nPWAIT MFP_CFG_IN(GPIO56, AF1)
114114
#define GPIO79_PSKTSEL MFP_CFG_OUT(GPIO79, AF1, DRIVE_HIGH)
115+
#define GPIO104_PSKTSEL MFP_CFG_OUT(GPIO104, AF1, DRIVE_HIGH)
115116

116117
/* I2C */
117118
#define GPIO117_I2C_SCL MFP_CFG_IN(GPIO117, AF1)

include/asm-arm/arch-pxa/pxa2xx-gpio.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,11 @@
134134
#define GPIO93_CIF_DD_6 93 /* Camera data pin 6 */
135135
#define GPIO94_CIF_DD_5 94 /* Camera data pin 5 */
136136
#define GPIO95_CIF_DD_4 95 /* Camera data pin 4 */
137+
#define GPIO96_FFRXD 96 /* FFUART recieve */
138+
#define GPIO98_FFRTS 98 /* FFUART request to send */
137139
#define GPIO98_CIF_DD_0 98 /* Camera data pin 0 */
140+
#define GPIO99_FFTXD 99 /* FFUART transmit data */
141+
#define GPIO100_FFCTS 100 /* FFUART Clear to send */
138142
#define GPIO102_nPCE_1 102 /* PCMCIA (PXA27x) */
139143
#define GPIO103_CIF_DD_3 103 /* Camera data pin 3 */
140144
#define GPIO104_CIF_DD_2 104 /* Camera data pin 2 */
@@ -316,6 +320,8 @@
316320
#define GPIO85_nPCE_1_MD (85 | GPIO_ALT_FN_1_OUT)
317321
#define GPIO85_CIF_LV_MD (85 | GPIO_ALT_FN_3_IN)
318322
#define GPIO86_nPCE_1_MD (86 | GPIO_ALT_FN_1_OUT)
323+
#define GPIO88_USBH1_PWR_MD (88 | GPIO_ALT_FN_1_IN)
324+
#define GPIO89_USBH1_PEN_MD (89 | GPIO_ALT_FN_2_OUT)
319325
#define GPIO90_CIF_DD_4_MD (90 | GPIO_ALT_FN_3_IN)
320326
#define GPIO91_CIF_DD_5_MD (91 | GPIO_ALT_FN_3_IN)
321327
#define GPIO92_MMCDAT0_MD (92 | GPIO_ALT_FN_1_OUT)
@@ -324,8 +330,11 @@
324330
#define GPIO95_CIF_DD_4_MD (95 | GPIO_ALT_FN_2_IN)
325331
#define GPIO95_KP_MKIN6_MD (95 | GPIO_ALT_FN_3_IN)
326332
#define GPIO96_KP_DKIN3_MD (96 | GPIO_ALT_FN_1_IN)
333+
#define GPIO96_FFRXD_MD (96 | GPIO_ALT_FN_3_IN)
327334
#define GPIO97_KP_MKIN3_MD (97 | GPIO_ALT_FN_3_IN)
328335
#define GPIO98_CIF_DD_0_MD (98 | GPIO_ALT_FN_2_IN)
336+
#define GPIO98_FFRTS_MD (98 | GPIO_ALT_FN_3_OUT)
337+
#define GPIO99_FFTXD_MD (99 | GPIO_ALT_FN_3_OUT)
329338
#define GPIO100_KP_MKIN0_MD (100 | GPIO_ALT_FN_1_IN)
330339
#define GPIO101_KP_MKIN1_MD (101 | GPIO_ALT_FN_1_IN)
331340
#define GPIO102_nPCE_1_MD (102 | GPIO_ALT_FN_1_OUT)

include/asm-arm/pgtable-nommu.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#include <linux/slab.h>
1717
#include <asm/processor.h>
1818
#include <asm/page.h>
19-
#include <asm/io.h>
2019

2120
/*
2221
* Trivial page table functions.

include/asm-arm/spinlock.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ static inline void __raw_write_unlock(raw_rwlock_t *rw)
142142
}
143143

144144
/* write_can_lock - would write_trylock() succeed? */
145-
#define __raw_write_can_lock(x) ((x)->lock == 0x80000000)
145+
#define __raw_write_can_lock(x) ((x)->lock == 0)
146146

147147
/*
148148
* Read locks are a bit more hairy:

0 commit comments

Comments
 (0)