diff options
author | Eric Miao <eric.miao@marvell.com> | 2009-01-19 22:04:16 -0500 |
---|---|---|
committer | Eric Miao <eric.miao@marvell.com> | 2009-03-09 09:22:40 -0400 |
commit | 5bf3df3f00f507119a26ba0780aa8799e741615c (patch) | |
tree | 3abb57be183566f7da8b8f718c6fdbbdcf9f993d | |
parent | b74d1969083a8869659ad2b23138fc8a5ca97c53 (diff) |
[ARM] pxa: separate definitions from pxa-regs.h and remove it finally
The remaining registers are separated into:
- <mach/regs-ost.h>
- <mach/regs-rtc.h>
- <mach/regs-intc.h>
and then we can remove pxa-regs.h completely. Instead of #include this
file, let's:
1. include the specific <mach/regs-*.h> with care (if that's absolutely
necessary)
2. define the registers in the driver, make cleanly defined API to expose
the register access to external with sufficient reason
Signed-off-by: Eric Miao <eric.miao@marvell.com>
-rw-r--r-- | arch/arm/common/sharpsl_pm.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-pxa/corgi_lcd.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-pxa/corgi_ssp.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-pxa/include/mach/mtd-xip.h | 4 | ||||
-rw-r--r-- | arch/arm/mach-pxa/include/mach/pxa-regs.h | 82 | ||||
-rw-r--r-- | arch/arm/mach-pxa/include/mach/pxa2xx-regs.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-pxa/include/mach/regs-intc.h | 23 | ||||
-rw-r--r-- | arch/arm/mach-pxa/include/mach/regs-ost.h | 34 | ||||
-rw-r--r-- | arch/arm/mach-pxa/include/mach/regs-rtc.h | 23 | ||||
-rw-r--r-- | arch/arm/mach-pxa/include/mach/system.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-pxa/irq.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-pxa/mioa701.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-pxa/reset.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-pxa/sharpsl_pm.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-pxa/sleep.S | 1 | ||||
-rw-r--r-- | arch/arm/mach-pxa/spitz_pm.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-pxa/standby.S | 1 | ||||
-rw-r--r-- | arch/arm/mach-pxa/time.c | 3 | ||||
-rw-r--r-- | drivers/input/touchscreen/corgi_ts.c | 1 | ||||
-rw-r--r-- | drivers/net/irda/pxaficp_ir.c | 3 | ||||
-rw-r--r-- | drivers/rtc/rtc-sa1100.c | 3 | ||||
-rw-r--r-- | drivers/watchdog/sa1100_wdt.c | 2 |
22 files changed, 92 insertions, 102 deletions
diff --git a/arch/arm/common/sharpsl_pm.c b/arch/arm/common/sharpsl_pm.c index 780bbf7cb26f..140f1d721d50 100644 --- a/arch/arm/common/sharpsl_pm.c +++ b/arch/arm/common/sharpsl_pm.c | |||
@@ -29,8 +29,8 @@ | |||
29 | #include <mach/hardware.h> | 29 | #include <mach/hardware.h> |
30 | #include <asm/irq.h> | 30 | #include <asm/irq.h> |
31 | #include <mach/pm.h> | 31 | #include <mach/pm.h> |
32 | #include <mach/pxa-regs.h> | ||
33 | #include <mach/pxa2xx-regs.h> | 32 | #include <mach/pxa2xx-regs.h> |
33 | #include <mach/regs-rtc.h> | ||
34 | #include <mach/sharpsl.h> | 34 | #include <mach/sharpsl.h> |
35 | #include <asm/hardware/sharpsl_pm.h> | 35 | #include <asm/hardware/sharpsl_pm.h> |
36 | 36 | ||
diff --git a/arch/arm/mach-pxa/corgi_lcd.c b/arch/arm/mach-pxa/corgi_lcd.c index 411607bc1fc2..d9b96319d498 100644 --- a/arch/arm/mach-pxa/corgi_lcd.c +++ b/arch/arm/mach-pxa/corgi_lcd.c | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <linux/string.h> | 22 | #include <linux/string.h> |
23 | #include <mach/corgi.h> | 23 | #include <mach/corgi.h> |
24 | #include <mach/hardware.h> | 24 | #include <mach/hardware.h> |
25 | #include <mach/pxa-regs.h> | ||
26 | #include <mach/sharpsl.h> | 25 | #include <mach/sharpsl.h> |
27 | #include <mach/spitz.h> | 26 | #include <mach/spitz.h> |
28 | #include <asm/hardware/scoop.h> | 27 | #include <asm/hardware/scoop.h> |
diff --git a/arch/arm/mach-pxa/corgi_ssp.c b/arch/arm/mach-pxa/corgi_ssp.c index 8e2f2215c4ba..a5ee70735e04 100644 --- a/arch/arm/mach-pxa/corgi_ssp.c +++ b/arch/arm/mach-pxa/corgi_ssp.c | |||
@@ -20,7 +20,6 @@ | |||
20 | #include <asm/mach-types.h> | 20 | #include <asm/mach-types.h> |
21 | 21 | ||
22 | #include <mach/ssp.h> | 22 | #include <mach/ssp.h> |
23 | #include <mach/pxa-regs.h> | ||
24 | #include <mach/pxa2xx-gpio.h> | 23 | #include <mach/pxa2xx-gpio.h> |
25 | #include <mach/regs-ssp.h> | 24 | #include <mach/regs-ssp.h> |
26 | #include "sharpsl.h" | 25 | #include "sharpsl.h" |
diff --git a/arch/arm/mach-pxa/include/mach/mtd-xip.h b/arch/arm/mach-pxa/include/mach/mtd-xip.h index cfca8155be72..297387ec3618 100644 --- a/arch/arm/mach-pxa/include/mach/mtd-xip.h +++ b/arch/arm/mach-pxa/include/mach/mtd-xip.h | |||
@@ -15,8 +15,8 @@ | |||
15 | #ifndef __ARCH_PXA_MTD_XIP_H__ | 15 | #ifndef __ARCH_PXA_MTD_XIP_H__ |
16 | #define __ARCH_PXA_MTD_XIP_H__ | 16 | #define __ARCH_PXA_MTD_XIP_H__ |
17 | 17 | ||
18 | #include <mach/hardware.h> | 18 | #include <mach/regs-ost.h> |
19 | #include <mach/pxa-regs.h> | 19 | #include <mach/regs-intc.h> |
20 | 20 | ||
21 | #define xip_irqpending() (ICIP & ICMR) | 21 | #define xip_irqpending() (ICIP & ICMR) |
22 | 22 | ||
diff --git a/arch/arm/mach-pxa/include/mach/pxa-regs.h b/arch/arm/mach-pxa/include/mach/pxa-regs.h deleted file mode 100644 index 7e1e33a41b81..000000000000 --- a/arch/arm/mach-pxa/include/mach/pxa-regs.h +++ /dev/null | |||
@@ -1,82 +0,0 @@ | |||
1 | /* | ||
2 | * arch/arm/mach-pxa/include/mach/pxa-regs.h | ||
3 | * | ||
4 | * Author: Nicolas Pitre | ||
5 | * Created: Jun 15, 2001 | ||
6 | * Copyright: MontaVista Software Inc. | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | ||
12 | |||
13 | #ifndef __PXA_REGS_H | ||
14 | #define __PXA_REGS_H | ||
15 | |||
16 | #include <mach/hardware.h> | ||
17 | |||
18 | /* | ||
19 | * Real Time Clock | ||
20 | */ | ||
21 | |||
22 | #define RCNR __REG(0x40900000) /* RTC Count Register */ | ||
23 | #define RTAR __REG(0x40900004) /* RTC Alarm Register */ | ||
24 | #define RTSR __REG(0x40900008) /* RTC Status Register */ | ||
25 | #define RTTR __REG(0x4090000C) /* RTC Timer Trim Register */ | ||
26 | #define PIAR __REG(0x40900038) /* Periodic Interrupt Alarm Register */ | ||
27 | |||
28 | #define RTSR_PICE (1 << 15) /* Periodic interrupt count enable */ | ||
29 | #define RTSR_PIALE (1 << 14) /* Periodic interrupt Alarm enable */ | ||
30 | #define RTSR_HZE (1 << 3) /* HZ interrupt enable */ | ||
31 | #define RTSR_ALE (1 << 2) /* RTC alarm interrupt enable */ | ||
32 | #define RTSR_HZ (1 << 1) /* HZ rising-edge detected */ | ||
33 | #define RTSR_AL (1 << 0) /* RTC alarm detected */ | ||
34 | |||
35 | |||
36 | /* | ||
37 | * OS Timer & Match Registers | ||
38 | */ | ||
39 | |||
40 | #define OSMR0 __REG(0x40A00000) /* */ | ||
41 | #define OSMR1 __REG(0x40A00004) /* */ | ||
42 | #define OSMR2 __REG(0x40A00008) /* */ | ||
43 | #define OSMR3 __REG(0x40A0000C) /* */ | ||
44 | #define OSMR4 __REG(0x40A00080) /* */ | ||
45 | #define OSCR __REG(0x40A00010) /* OS Timer Counter Register */ | ||
46 | #define OSCR4 __REG(0x40A00040) /* OS Timer Counter Register */ | ||
47 | #define OMCR4 __REG(0x40A000C0) /* */ | ||
48 | #define OSSR __REG(0x40A00014) /* OS Timer Status Register */ | ||
49 | #define OWER __REG(0x40A00018) /* OS Timer Watchdog Enable Register */ | ||
50 | #define OIER __REG(0x40A0001C) /* OS Timer Interrupt Enable Register */ | ||
51 | |||
52 | #define OSSR_M3 (1 << 3) /* Match status channel 3 */ | ||
53 | #define OSSR_M2 (1 << 2) /* Match status channel 2 */ | ||
54 | #define OSSR_M1 (1 << 1) /* Match status channel 1 */ | ||
55 | #define OSSR_M0 (1 << 0) /* Match status channel 0 */ | ||
56 | |||
57 | #define OWER_WME (1 << 0) /* Watchdog Match Enable */ | ||
58 | |||
59 | #define OIER_E3 (1 << 3) /* Interrupt enable channel 3 */ | ||
60 | #define OIER_E2 (1 << 2) /* Interrupt enable channel 2 */ | ||
61 | #define OIER_E1 (1 << 1) /* Interrupt enable channel 1 */ | ||
62 | #define OIER_E0 (1 << 0) /* Interrupt enable channel 0 */ | ||
63 | |||
64 | |||
65 | /* | ||
66 | * Interrupt Controller | ||
67 | */ | ||
68 | |||
69 | #define ICIP __REG(0x40D00000) /* Interrupt Controller IRQ Pending Register */ | ||
70 | #define ICMR __REG(0x40D00004) /* Interrupt Controller Mask Register */ | ||
71 | #define ICLR __REG(0x40D00008) /* Interrupt Controller Level Register */ | ||
72 | #define ICFP __REG(0x40D0000C) /* Interrupt Controller FIQ Pending Register */ | ||
73 | #define ICPR __REG(0x40D00010) /* Interrupt Controller Pending Register */ | ||
74 | #define ICCR __REG(0x40D00014) /* Interrupt Controller Control Register */ | ||
75 | |||
76 | #define ICIP2 __REG(0x40D0009C) /* Interrupt Controller IRQ Pending Register 2 */ | ||
77 | #define ICMR2 __REG(0x40D000A0) /* Interrupt Controller Mask Register 2 */ | ||
78 | #define ICLR2 __REG(0x40D000A4) /* Interrupt Controller Level Register 2 */ | ||
79 | #define ICFP2 __REG(0x40D000A8) /* Interrupt Controller FIQ Pending Register 2 */ | ||
80 | #define ICPR2 __REG(0x40D000AC) /* Interrupt Controller Pending Register 2 */ | ||
81 | |||
82 | #endif | ||
diff --git a/arch/arm/mach-pxa/include/mach/pxa2xx-regs.h b/arch/arm/mach-pxa/include/mach/pxa2xx-regs.h index 2f834de5b748..4fcddd9cab76 100644 --- a/arch/arm/mach-pxa/include/mach/pxa2xx-regs.h +++ b/arch/arm/mach-pxa/include/mach/pxa2xx-regs.h | |||
@@ -14,7 +14,7 @@ | |||
14 | #ifndef __PXA2XX_REGS_H | 14 | #ifndef __PXA2XX_REGS_H |
15 | #define __PXA2XX_REGS_H | 15 | #define __PXA2XX_REGS_H |
16 | 16 | ||
17 | #include <mach/pxa-regs.h> | 17 | #include <mach/hardware.h> |
18 | 18 | ||
19 | /* | 19 | /* |
20 | * PXA Chip selects | 20 | * PXA Chip selects |
diff --git a/arch/arm/mach-pxa/include/mach/regs-intc.h b/arch/arm/mach-pxa/include/mach/regs-intc.h new file mode 100644 index 000000000000..ad23e74b762f --- /dev/null +++ b/arch/arm/mach-pxa/include/mach/regs-intc.h | |||
@@ -0,0 +1,23 @@ | |||
1 | #ifndef __ASM_MACH_REGS_INTC_H | ||
2 | #define __ASM_MACH_REGS_INTC_H | ||
3 | |||
4 | #include <mach/hardware.h> | ||
5 | |||
6 | /* | ||
7 | * Interrupt Controller | ||
8 | */ | ||
9 | |||
10 | #define ICIP __REG(0x40D00000) /* Interrupt Controller IRQ Pending Register */ | ||
11 | #define ICMR __REG(0x40D00004) /* Interrupt Controller Mask Register */ | ||
12 | #define ICLR __REG(0x40D00008) /* Interrupt Controller Level Register */ | ||
13 | #define ICFP __REG(0x40D0000C) /* Interrupt Controller FIQ Pending Register */ | ||
14 | #define ICPR __REG(0x40D00010) /* Interrupt Controller Pending Register */ | ||
15 | #define ICCR __REG(0x40D00014) /* Interrupt Controller Control Register */ | ||
16 | |||
17 | #define ICIP2 __REG(0x40D0009C) /* Interrupt Controller IRQ Pending Register 2 */ | ||
18 | #define ICMR2 __REG(0x40D000A0) /* Interrupt Controller Mask Register 2 */ | ||
19 | #define ICLR2 __REG(0x40D000A4) /* Interrupt Controller Level Register 2 */ | ||
20 | #define ICFP2 __REG(0x40D000A8) /* Interrupt Controller FIQ Pending Register 2 */ | ||
21 | #define ICPR2 __REG(0x40D000AC) /* Interrupt Controller Pending Register 2 */ | ||
22 | |||
23 | #endif /* __ASM_MACH_REGS_INTC_H */ | ||
diff --git a/arch/arm/mach-pxa/include/mach/regs-ost.h b/arch/arm/mach-pxa/include/mach/regs-ost.h new file mode 100644 index 000000000000..a3e5f86ef67e --- /dev/null +++ b/arch/arm/mach-pxa/include/mach/regs-ost.h | |||
@@ -0,0 +1,34 @@ | |||
1 | #ifndef __ASM_MACH_REGS_OST_H | ||
2 | #define __ASM_MACH_REGS_OST_H | ||
3 | |||
4 | #include <mach/hardware.h> | ||
5 | |||
6 | /* | ||
7 | * OS Timer & Match Registers | ||
8 | */ | ||
9 | |||
10 | #define OSMR0 __REG(0x40A00000) /* */ | ||
11 | #define OSMR1 __REG(0x40A00004) /* */ | ||
12 | #define OSMR2 __REG(0x40A00008) /* */ | ||
13 | #define OSMR3 __REG(0x40A0000C) /* */ | ||
14 | #define OSMR4 __REG(0x40A00080) /* */ | ||
15 | #define OSCR __REG(0x40A00010) /* OS Timer Counter Register */ | ||
16 | #define OSCR4 __REG(0x40A00040) /* OS Timer Counter Register */ | ||
17 | #define OMCR4 __REG(0x40A000C0) /* */ | ||
18 | #define OSSR __REG(0x40A00014) /* OS Timer Status Register */ | ||
19 | #define OWER __REG(0x40A00018) /* OS Timer Watchdog Enable Register */ | ||
20 | #define OIER __REG(0x40A0001C) /* OS Timer Interrupt Enable Register */ | ||
21 | |||
22 | #define OSSR_M3 (1 << 3) /* Match status channel 3 */ | ||
23 | #define OSSR_M2 (1 << 2) /* Match status channel 2 */ | ||
24 | #define OSSR_M1 (1 << 1) /* Match status channel 1 */ | ||
25 | #define OSSR_M0 (1 << 0) /* Match status channel 0 */ | ||
26 | |||
27 | #define OWER_WME (1 << 0) /* Watchdog Match Enable */ | ||
28 | |||
29 | #define OIER_E3 (1 << 3) /* Interrupt enable channel 3 */ | ||
30 | #define OIER_E2 (1 << 2) /* Interrupt enable channel 2 */ | ||
31 | #define OIER_E1 (1 << 1) /* Interrupt enable channel 1 */ | ||
32 | #define OIER_E0 (1 << 0) /* Interrupt enable channel 0 */ | ||
33 | |||
34 | #endif /* __ASM_MACH_REGS_OST_H */ | ||
diff --git a/arch/arm/mach-pxa/include/mach/regs-rtc.h b/arch/arm/mach-pxa/include/mach/regs-rtc.h new file mode 100644 index 000000000000..f0e4a589bbe1 --- /dev/null +++ b/arch/arm/mach-pxa/include/mach/regs-rtc.h | |||
@@ -0,0 +1,23 @@ | |||
1 | #ifndef __ASM_MACH_REGS_RTC_H | ||
2 | #define __ASM_MACH_REGS_RTC_H | ||
3 | |||
4 | #include <mach/hardware.h> | ||
5 | |||
6 | /* | ||
7 | * Real Time Clock | ||
8 | */ | ||
9 | |||
10 | #define RCNR __REG(0x40900000) /* RTC Count Register */ | ||
11 | #define RTAR __REG(0x40900004) /* RTC Alarm Register */ | ||
12 | #define RTSR __REG(0x40900008) /* RTC Status Register */ | ||
13 | #define RTTR __REG(0x4090000C) /* RTC Timer Trim Register */ | ||
14 | #define PIAR __REG(0x40900038) /* Periodic Interrupt Alarm Register */ | ||
15 | |||
16 | #define RTSR_PICE (1 << 15) /* Periodic interrupt count enable */ | ||
17 | #define RTSR_PIALE (1 << 14) /* Periodic interrupt Alarm enable */ | ||
18 | #define RTSR_HZE (1 << 3) /* HZ interrupt enable */ | ||
19 | #define RTSR_ALE (1 << 2) /* RTC alarm interrupt enable */ | ||
20 | #define RTSR_HZ (1 << 1) /* HZ rising-edge detected */ | ||
21 | #define RTSR_AL (1 << 0) /* RTC alarm detected */ | ||
22 | |||
23 | #endif /* __ASM_MACH_REGS_RTC_H */ | ||
diff --git a/arch/arm/mach-pxa/include/mach/system.h b/arch/arm/mach-pxa/include/mach/system.h index 0f381e692999..0a587c4ec709 100644 --- a/arch/arm/mach-pxa/include/mach/system.h +++ b/arch/arm/mach-pxa/include/mach/system.h | |||
@@ -13,7 +13,6 @@ | |||
13 | #include <asm/proc-fns.h> | 13 | #include <asm/proc-fns.h> |
14 | #include "hardware.h" | 14 | #include "hardware.h" |
15 | #include "pxa2xx-regs.h" | 15 | #include "pxa2xx-regs.h" |
16 | #include "pxa-regs.h" | ||
17 | 16 | ||
18 | static inline void arch_idle(void) | 17 | static inline void arch_idle(void) |
19 | { | 18 | { |
diff --git a/arch/arm/mach-pxa/irq.c b/arch/arm/mach-pxa/irq.c index d3d40a31f9da..f6e0300e4f64 100644 --- a/arch/arm/mach-pxa/irq.c +++ b/arch/arm/mach-pxa/irq.c | |||
@@ -20,8 +20,8 @@ | |||
20 | #include <mach/hardware.h> | 20 | #include <mach/hardware.h> |
21 | #include <asm/irq.h> | 21 | #include <asm/irq.h> |
22 | #include <asm/mach/irq.h> | 22 | #include <asm/mach/irq.h> |
23 | #include <mach/pxa-regs.h> | ||
24 | #include <mach/gpio.h> | 23 | #include <mach/gpio.h> |
24 | #include <mach/regs-intc.h> | ||
25 | 25 | ||
26 | #include "generic.h" | 26 | #include "generic.h" |
27 | 27 | ||
diff --git a/arch/arm/mach-pxa/mioa701.c b/arch/arm/mach-pxa/mioa701.c index dbda65f0e048..e77c95ca67f0 100644 --- a/arch/arm/mach-pxa/mioa701.c +++ b/arch/arm/mach-pxa/mioa701.c | |||
@@ -41,6 +41,7 @@ | |||
41 | #include <asm/mach/arch.h> | 41 | #include <asm/mach/arch.h> |
42 | 42 | ||
43 | #include <mach/pxa27x.h> | 43 | #include <mach/pxa27x.h> |
44 | #include <mach/regs-rtc.h> | ||
44 | #include <mach/pxa27x_keypad.h> | 45 | #include <mach/pxa27x_keypad.h> |
45 | #include <mach/pxafb.h> | 46 | #include <mach/pxafb.h> |
46 | #include <mach/mmc.h> | 47 | #include <mach/mmc.h> |
diff --git a/arch/arm/mach-pxa/reset.c b/arch/arm/mach-pxa/reset.c index 00b2dc2a1074..867c95c09618 100644 --- a/arch/arm/mach-pxa/reset.c +++ b/arch/arm/mach-pxa/reset.c | |||
@@ -10,7 +10,7 @@ | |||
10 | #include <linux/io.h> | 10 | #include <linux/io.h> |
11 | #include <asm/proc-fns.h> | 11 | #include <asm/proc-fns.h> |
12 | 12 | ||
13 | #include <mach/pxa-regs.h> | 13 | #include <mach/regs-ost.h> |
14 | #include <mach/reset.h> | 14 | #include <mach/reset.h> |
15 | 15 | ||
16 | unsigned int reset_status; | 16 | unsigned int reset_status; |
diff --git a/arch/arm/mach-pxa/sharpsl_pm.c b/arch/arm/mach-pxa/sharpsl_pm.c index f0845c1b001c..16b4ec67e3b6 100644 --- a/arch/arm/mach-pxa/sharpsl_pm.c +++ b/arch/arm/mach-pxa/sharpsl_pm.c | |||
@@ -25,7 +25,6 @@ | |||
25 | #include <mach/hardware.h> | 25 | #include <mach/hardware.h> |
26 | #include <asm/mach-types.h> | 26 | #include <asm/mach-types.h> |
27 | #include <mach/pm.h> | 27 | #include <mach/pm.h> |
28 | #include <mach/pxa-regs.h> | ||
29 | #include <mach/pxa2xx-gpio.h> | 28 | #include <mach/pxa2xx-gpio.h> |
30 | #include <mach/sharpsl.h> | 29 | #include <mach/sharpsl.h> |
31 | #include "sharpsl.h" | 30 | #include "sharpsl.h" |
diff --git a/arch/arm/mach-pxa/sleep.S b/arch/arm/mach-pxa/sleep.S index a62c8375eb53..2ed95f369cfc 100644 --- a/arch/arm/mach-pxa/sleep.S +++ b/arch/arm/mach-pxa/sleep.S | |||
@@ -15,7 +15,6 @@ | |||
15 | #include <asm/assembler.h> | 15 | #include <asm/assembler.h> |
16 | #include <mach/hardware.h> | 16 | #include <mach/hardware.h> |
17 | 17 | ||
18 | #include <mach/pxa-regs.h> | ||
19 | #include <mach/pxa2xx-regs.h> | 18 | #include <mach/pxa2xx-regs.h> |
20 | 19 | ||
21 | #define MDREFR_KDIV 0x200a4000 // all banks | 20 | #define MDREFR_KDIV 0x200a4000 // all banks |
diff --git a/arch/arm/mach-pxa/spitz_pm.c b/arch/arm/mach-pxa/spitz_pm.c index 072e77cfe5a3..2e4490562c9e 100644 --- a/arch/arm/mach-pxa/spitz_pm.c +++ b/arch/arm/mach-pxa/spitz_pm.c | |||
@@ -24,7 +24,6 @@ | |||
24 | 24 | ||
25 | #include <mach/sharpsl.h> | 25 | #include <mach/sharpsl.h> |
26 | #include <mach/spitz.h> | 26 | #include <mach/spitz.h> |
27 | #include <mach/pxa-regs.h> | ||
28 | #include <mach/pxa2xx-regs.h> | 27 | #include <mach/pxa2xx-regs.h> |
29 | #include <mach/pxa2xx-gpio.h> | 28 | #include <mach/pxa2xx-gpio.h> |
30 | #include "sharpsl.h" | 29 | #include "sharpsl.h" |
diff --git a/arch/arm/mach-pxa/standby.S b/arch/arm/mach-pxa/standby.S index f3821cfda72f..29f5f5c180b7 100644 --- a/arch/arm/mach-pxa/standby.S +++ b/arch/arm/mach-pxa/standby.S | |||
@@ -13,7 +13,6 @@ | |||
13 | #include <asm/assembler.h> | 13 | #include <asm/assembler.h> |
14 | #include <mach/hardware.h> | 14 | #include <mach/hardware.h> |
15 | 15 | ||
16 | #include <mach/pxa-regs.h> | ||
17 | #include <mach/pxa2xx-regs.h> | 16 | #include <mach/pxa2xx-regs.h> |
18 | 17 | ||
19 | .text | 18 | .text |
diff --git a/arch/arm/mach-pxa/time.c b/arch/arm/mach-pxa/time.c index 95656a72268d..8eb3830fbb0b 100644 --- a/arch/arm/mach-pxa/time.c +++ b/arch/arm/mach-pxa/time.c | |||
@@ -22,8 +22,7 @@ | |||
22 | #include <asm/div64.h> | 22 | #include <asm/div64.h> |
23 | #include <asm/mach/irq.h> | 23 | #include <asm/mach/irq.h> |
24 | #include <asm/mach/time.h> | 24 | #include <asm/mach/time.h> |
25 | #include <mach/hardware.h> | 25 | #include <mach/regs-ost.h> |
26 | #include <mach/pxa-regs.h> | ||
27 | 26 | ||
28 | /* | 27 | /* |
29 | * This is PXA's sched_clock implementation. This has a resolution | 28 | * This is PXA's sched_clock implementation. This has a resolution |
diff --git a/drivers/input/touchscreen/corgi_ts.c b/drivers/input/touchscreen/corgi_ts.c index 65202c9f63ff..e7292853d2bf 100644 --- a/drivers/input/touchscreen/corgi_ts.c +++ b/drivers/input/touchscreen/corgi_ts.c | |||
@@ -21,7 +21,6 @@ | |||
21 | 21 | ||
22 | #include <mach/sharpsl.h> | 22 | #include <mach/sharpsl.h> |
23 | #include <mach/hardware.h> | 23 | #include <mach/hardware.h> |
24 | #include <mach/pxa-regs.h> | ||
25 | #include <mach/pxa2xx-gpio.h> | 24 | #include <mach/pxa2xx-gpio.h> |
26 | 25 | ||
27 | 26 | ||
diff --git a/drivers/net/irda/pxaficp_ir.c b/drivers/net/irda/pxaficp_ir.c index 31794c2363ec..e775338b525f 100644 --- a/drivers/net/irda/pxaficp_ir.c +++ b/drivers/net/irda/pxaficp_ir.c | |||
@@ -24,9 +24,8 @@ | |||
24 | 24 | ||
25 | #include <mach/dma.h> | 25 | #include <mach/dma.h> |
26 | #include <mach/irda.h> | 26 | #include <mach/irda.h> |
27 | #include <mach/hardware.h> | ||
28 | #include <mach/pxa-regs.h> | ||
29 | #include <mach/regs-uart.h> | 27 | #include <mach/regs-uart.h> |
28 | #include <mach/regs-ost.h> | ||
30 | 29 | ||
31 | #define FICP __REG(0x40800000) /* Start of FICP area */ | 30 | #define FICP __REG(0x40800000) /* Start of FICP area */ |
32 | #define ICCR0 __REG(0x40800000) /* ICP Control Register 0 */ | 31 | #define ICCR0 __REG(0x40800000) /* ICP Control Register 0 */ |
diff --git a/drivers/rtc/rtc-sa1100.c b/drivers/rtc/rtc-sa1100.c index d26a5f82aaba..4f247e4dd3f9 100644 --- a/drivers/rtc/rtc-sa1100.c +++ b/drivers/rtc/rtc-sa1100.c | |||
@@ -35,7 +35,8 @@ | |||
35 | #include <asm/irq.h> | 35 | #include <asm/irq.h> |
36 | 36 | ||
37 | #ifdef CONFIG_ARCH_PXA | 37 | #ifdef CONFIG_ARCH_PXA |
38 | #include <mach/pxa-regs.h> | 38 | #include <mach/regs-rtc.h> |
39 | #include <mach/regs-ost.h> | ||
39 | #endif | 40 | #endif |
40 | 41 | ||
41 | #define RTC_DEF_DIVIDER 32768 - 1 | 42 | #define RTC_DEF_DIVIDER 32768 - 1 |
diff --git a/drivers/watchdog/sa1100_wdt.c b/drivers/watchdog/sa1100_wdt.c index e19b45794717..4b84f296d30c 100644 --- a/drivers/watchdog/sa1100_wdt.c +++ b/drivers/watchdog/sa1100_wdt.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <linux/timex.h> | 30 | #include <linux/timex.h> |
31 | 31 | ||
32 | #ifdef CONFIG_ARCH_PXA | 32 | #ifdef CONFIG_ARCH_PXA |
33 | #include <mach/pxa-regs.h> | 33 | #include <mach/regs-ost.h> |
34 | #endif | 34 | #endif |
35 | 35 | ||
36 | #include <mach/reset.h> | 36 | #include <mach/reset.h> |