Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137185
b: refs/heads/master
c: 51c6298
h: refs/heads/master
i:
  137183: 9f98e49
v: v3
  • Loading branch information
Eric Miao committed Mar 9, 2009
1 parent ed09a95 commit 6d015bf
Show file tree
Hide file tree
Showing 64 changed files with 121 additions and 160 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5b079b5ab4cfc6d23312b3bb0203f527bb1f79d0
refs/heads/master: 51c62982a33d9086fd8876293411d28a5f97247a
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-pxa/am200epd.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
#include <linux/irq.h>
#include <linux/gpio.h>

#include <mach/pxa25x.h>
#include <mach/gumstix.h>
#include <mach/mfp-pxa25x.h>
#include <mach/pxafb.h>

#include "generic.h"
Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/arm/mach-pxa/cm-x255.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@
#include <asm/mach-types.h>
#include <asm/mach/map.h>

#include <mach/pxa2xx-regs.h>
#include <mach/mfp-pxa25x.h>
#include <mach/pxa25x.h>
#include <mach/pxa2xx_spi.h>
#include <mach/bitfield.h>

#include "generic.h"

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-pxa/cm-x270.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <linux/rtc-v3020.h>
#include <video/mbxfb.h>

#include <mach/mfp-pxa27x.h>
#include <mach/pxa27x.h>
#include <mach/ohci.h>
#include <mach/mmc.h>

Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/arm/mach-pxa/cm-x2xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
#include <asm/mach/map.h>

#include <mach/pxa2xx-regs.h>
#include <mach/mfp-pxa27x.h>
#include <mach/pxa-regs.h>
#include <mach/audio.h>
#include <mach/pxafb.h>

Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/arm/mach-pxa/cm-x300.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@
#include <asm/mach-types.h>
#include <asm/mach/arch.h>

#include <mach/mfp-pxa300.h>

#include <mach/hardware.h>
#include <mach/pxa300.h>
#include <mach/pxafb.h>
#include <mach/mmc.h>
#include <mach/ohci.h>
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/arm/mach-pxa/colibri.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
#include <asm/mach/map.h>
#include <asm/mach/irq.h>
#include <asm/mach/flash.h>
#include <mach/pxa-regs.h>
#include <mach/mfp-pxa27x.h>

#include <mach/pxa27x.h>
#include <mach/colibri.h>

#include "generic.h"
Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/arm/mach-pxa/corgi.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@
#include <asm/mach/map.h>
#include <asm/mach/irq.h>

#include <mach/pxa-regs.h>
#include <mach/pxa2xx-regs.h>
#include <mach/mfp-pxa25x.h>
#include <mach/pxa25x.h>
#include <mach/i2c.h>
#include <mach/irda.h>
#include <mach/mmc.h>
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/mach-pxa/corgi_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

#include <mach/sharpsl.h>
#include <mach/corgi.h>
#include <mach/pxa-regs.h>
#include <mach/pxa2xx-regs.h>
#include <mach/pxa2xx-gpio.h>
#include "sharpsl.h"
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/arm/mach-pxa/cpufreq-pxa2xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@
#include <linux/init.h>
#include <linux/cpufreq.h>

#include <mach/hardware.h>
#include <mach/pxa-regs.h>
#include <mach/pxa2xx-regs.h>

#ifdef DEBUG
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/arm/mach-pxa/cpufreq-pxa3xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
#include <linux/init.h>
#include <linux/cpufreq.h>

#include <mach/hardware.h>
#include <mach/pxa-regs.h>
#include <mach/pxa3xx-regs.h>

#include "generic.h"
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/mach-pxa/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>

#include <mach/pxa-regs.h>
#include <mach/udc.h>
#include <mach/pxafb.h>
#include <mach/mmc.h>
Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/arm/mach-pxa/e330.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@
#include <asm/mach/arch.h>
#include <asm/mach-types.h>

#include <mach/mfp-pxa25x.h>
#include <mach/hardware.h>
#include <mach/pxa-regs.h>
#include <mach/pxa25x.h>
#include <mach/eseries-gpio.h>
#include <mach/udc.h>

Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/arm/mach-pxa/e350.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@
#include <asm/mach-types.h>

#include <mach/irqs.h>
#include <mach/mfp-pxa25x.h>
#include <mach/pxa-regs.h>
#include <mach/hardware.h>
#include <mach/pxa25x.h>
#include <mach/eseries-gpio.h>
#include <mach/udc.h>

Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/arm/mach-pxa/e400.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@
#include <asm/mach/arch.h>
#include <asm/mach-types.h>

#include <mach/mfp-pxa25x.h>
#include <mach/pxa-regs.h>
#include <mach/hardware.h>
#include <mach/pxa25x.h>
#include <mach/eseries-gpio.h>
#include <mach/pxafb.h>
#include <mach/udc.h>
Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/arm/mach-pxa/e740.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@
#include <asm/mach/arch.h>
#include <asm/mach-types.h>

#include <mach/mfp-pxa25x.h>
#include <mach/pxa-regs.h>
#include <mach/hardware.h>
#include <mach/pxa25x.h>
#include <mach/eseries-gpio.h>
#include <mach/udc.h>
#include <mach/irda.h>
Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/arm/mach-pxa/e750.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@
#include <asm/mach/arch.h>
#include <asm/mach-types.h>

#include <mach/mfp-pxa25x.h>
#include <mach/pxa-regs.h>
#include <mach/hardware.h>
#include <mach/pxa25x.h>
#include <mach/eseries-gpio.h>
#include <mach/udc.h>
#include <mach/irda.h>
Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/arm/mach-pxa/e800.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@
#include <asm/mach/arch.h>
#include <asm/mach-types.h>

#include <mach/mfp-pxa25x.h>
#include <mach/pxa-regs.h>
#include <mach/hardware.h>
#include <mach/pxa25x.h>
#include <mach/eseries-gpio.h>
#include <mach/udc.h>
#include <mach/irqs.h>
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/arm/mach-pxa/em-x270.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
#include <asm/mach-types.h>
#include <asm/mach/arch.h>

#include <mach/mfp-pxa27x.h>
#include <mach/pxa-regs.h>
#include <mach/pxa27x.h>
#include <mach/pxa27x-udc.h>
#include <mach/audio.h>
#include <mach/pxafb.h>
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/arm/mach-pxa/eseries.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
#include <asm/mach/arch.h>
#include <asm/mach-types.h>

#include <mach/mfp-pxa25x.h>
#include <mach/hardware.h>
#include <mach/pxa25x.h>
#include <mach/eseries-gpio.h>
#include <mach/udc.h>
#include <mach/irda.h>
Expand Down
10 changes: 4 additions & 6 deletions trunk/arch/arm/mach-pxa/ezx.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,16 @@
#include <linux/input.h>

#include <asm/setup.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>

#include <mach/pxa27x.h>
#include <mach/pxafb.h>
#include <mach/ohci.h>
#include <mach/i2c.h>
#include <mach/hardware.h>
#include <mach/pxa27x_keypad.h>

#include <mach/mfp-pxa27x.h>
#include <mach/pxa-regs.h>
#include <mach/pxa2xx-regs.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>

#include "devices.h"
#include "generic.h"

Expand Down
6 changes: 2 additions & 4 deletions trunk/arch/arm/mach-pxa/gumstix.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,12 @@
#include <asm/mach/map.h>
#include <asm/mach/irq.h>
#include <asm/mach/flash.h>

#include <mach/pxa25x.h>
#include <mach/mmc.h>
#include <mach/udc.h>
#include <mach/gumstix.h>

#include <mach/pxa-regs.h>
#include <mach/pxa2xx-regs.h>
#include <mach/mfp-pxa25x.h>

#include "generic.h"

static struct resource flash_resource = {
Expand Down
7 changes: 4 additions & 3 deletions trunk/arch/arm/mach-pxa/h5000.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,15 @@
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include <linux/mtd/physmap.h>

#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>

#include <mach/pxa25x.h>
#include <mach/h5000.h>
#include <mach/pxa-regs.h>
#include <mach/pxa2xx-regs.h>
#include <mach/mfp-pxa25x.h>
#include <mach/udc.h>

#include "generic.h"

/*
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/arm/mach-pxa/idp.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@
#include <asm/mach/arch.h>
#include <asm/mach/map.h>

#include <mach/pxa-regs.h>
#include <mach/mfp-pxa25x.h>
#include <mach/pxa25x.h>
#include <mach/idp.h>
#include <mach/pxafb.h>
#include <mach/bitfield.h>
Expand Down
5 changes: 1 addition & 4 deletions trunk/arch/arm/mach-pxa/imote2.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,8 @@
#include <asm/mach/map.h>
#include <asm/mach/flash.h>

#include <mach/pxa27x.h>
#include <mach/i2c.h>
#include <mach/pxa-regs.h>
#include <mach/pxa2xx-regs.h>
#include <mach/mfp-pxa27x.h>
#include <mach/regs-ssp.h>
#include <mach/udc.h>
#include <mach/mmc.h>
#include <mach/pxa2xx_spi.h>
Expand Down
8 changes: 8 additions & 0 deletions trunk/arch/arm/mach-pxa/include/mach/pxa25x.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#ifndef __MACH_PXA25x_H
#define __MACH_PXA25x_H

#include <mach/hardware.h>
#include <mach/pxa2xx-regs.h>
#include <mach/mfp-pxa25x.h>

#endif /* __MACH_PXA25x_H */
19 changes: 19 additions & 0 deletions trunk/arch/arm/mach-pxa/include/mach/pxa27x.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#ifndef __MACH_PXA27x_H
#define __MACH_PXA27x_H

#include <mach/hardware.h>
#include <mach/pxa2xx-regs.h>
#include <mach/mfp-pxa27x.h>

#define ARB_CNTRL __REG(0x48000048) /* Arbiter Control Register */

#define ARB_DMA_SLV_PARK (1<<31) /* Be parked with DMA slave when idle */
#define ARB_CI_PARK (1<<30) /* Be parked with Camera Interface when idle */
#define ARB_EX_MEM_PARK (1<<29) /* Be parked with external MEMC when idle */
#define ARB_INT_MEM_PARK (1<<28) /* Be parked with internal MEMC when idle */
#define ARB_USB_PARK (1<<27) /* Be parked with USB when idle */
#define ARB_LCD_PARK (1<<26) /* Be parked with LCD when idle */
#define ARB_DMA_PARK (1<<25) /* Be parked with DMA when idle */
#define ARB_CORE_PARK (1<<24) /* Be parked with core when idle */
#define ARB_LOCK_FLAG (1<<23) /* Only Locking masters gain access to the bus */
#endif /* __MACH_PXA27x_H */
20 changes: 2 additions & 18 deletions trunk/arch/arm/mach-pxa/include/mach/pxa2xx-regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
#ifndef __PXA2XX_REGS_H
#define __PXA2XX_REGS_H

#include <mach/pxa-regs.h>

/*
* Memory controller
*/
Expand Down Expand Up @@ -69,24 +71,6 @@
#define MDREFR_K0RUN (1 << 13) /* SDCLK0 Run Control/Status */
#define MDREFR_E0PIN (1 << 12) /* SDCKE0 Level Control/Status */


#ifdef CONFIG_PXA27x

#define ARB_CNTRL __REG(0x48000048) /* Arbiter Control Register */

#define ARB_DMA_SLV_PARK (1<<31) /* Be parked with DMA slave when idle */
#define ARB_CI_PARK (1<<30) /* Be parked with Camera Interface when idle */
#define ARB_EX_MEM_PARK (1<<29) /* Be parked with external MEMC when idle */
#define ARB_INT_MEM_PARK (1<<28) /* Be parked with internal MEMC when idle */
#define ARB_USB_PARK (1<<27) /* Be parked with USB when idle */
#define ARB_LCD_PARK (1<<26) /* Be parked with LCD when idle */
#define ARB_DMA_PARK (1<<25) /* Be parked with DMA when idle */
#define ARB_CORE_PARK (1<<24) /* Be parked with core when idle */
#define ARB_LOCK_FLAG (1<<23) /* Only Locking masters gain access to the bus */

#endif


/*
* Power Manager
*/
Expand Down
8 changes: 8 additions & 0 deletions trunk/arch/arm/mach-pxa/include/mach/pxa300.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#ifndef __MACH_PXA300_H
#define __MACH_PXA300_H

#include <mach/hardware.h>
#include <mach/pxa3xx-regs.h>
#include <mach/mfp-pxa300.h>

#endif /* __MACH_PXA300_H */
9 changes: 9 additions & 0 deletions trunk/arch/arm/mach-pxa/include/mach/pxa320.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#ifndef __MACH_PXA320_H
#define __MACH_PXA320_H

#include <mach/hardware.h>
#include <mach/pxa3xx-regs.h>
#include <mach/mfp-pxa320.h>

#endif /* __MACH_PXA320_H */

2 changes: 2 additions & 0 deletions trunk/arch/arm/mach-pxa/include/mach/pxa3xx-regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
#ifndef __ASM_ARCH_PXA3XX_REGS_H
#define __ASM_ARCH_PXA3XX_REGS_H

#include <mach/hardware.h>

/*
* Oscillator Configuration Register (OSCC)
*/
Expand Down
8 changes: 8 additions & 0 deletions trunk/arch/arm/mach-pxa/include/mach/pxa930.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#ifndef __MACH_PXA930_H
#define __MACH_PXA930_H

#include <mach/hardware.h>
#include <mach/pxa3xx-regs.h>
#include <mach/mfp-pxa930.h>

#endif /* __MACH_PXA930_H */
1 change: 0 additions & 1 deletion trunk/arch/arm/mach-pxa/include/mach/regs-ssp.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
#if defined(CONFIG_PXA25x)
#define SSCR0_SCR (0x0000ff00) /* Serial Clock Rate (mask) */
#define SSCR0_SerClkDiv(x) ((((x) - 2)/2) << 8) /* Divisor [2..512] */

#elif defined(CONFIG_PXA27x) || defined(CONFIG_PXA3xx)
#define SSCR0_SCR (0x000fff00) /* Serial Clock Rate (mask) */
#define SSCR0_SerClkDiv(x) (((x) - 1) << 8) /* Divisor [1..4096] */
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-pxa/leds-idp.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <asm/leds.h>
#include <asm/system.h>

#include <mach/pxa-regs.h>
#include <mach/pxa25x.h>
#include <mach/idp.h>

#include "leds.h"
Expand Down
Loading

0 comments on commit 6d015bf

Please sign in to comment.