diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-01-30 12:45:33 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2015-12-01 23:52:50 +0300 |
commit | 4c25c5d2985c1db482cfe59ed9b3a07829a60ba9 (patch) | |
tree | 9804ecba1c366ca70050d3261423705d5a600ad9 /arch/arm/mach-pxa/pxa27x.h | |
parent | 31ade3b83e1821da5fbb2f11b5b3d4ab2ec39db8 (diff) | |
download | linux-4c25c5d2985c1db482cfe59ed9b3a07829a60ba9.tar.xz |
ARM: pxa: make more mach/*.h files local
Lots of header files are never included outside of a mach-pxa
directory and do not need to be made visible in include/mach,
so let's just move them all down one level.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-pxa/pxa27x.h')
-rw-r--r-- | arch/arm/mach-pxa/pxa27x.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/pxa27x.h b/arch/arm/mach-pxa/pxa27x.h new file mode 100644 index 000000000000..075131d83eab --- /dev/null +++ b/arch/arm/mach-pxa/pxa27x.h @@ -0,0 +1,25 @@ +#ifndef __MACH_PXA27x_H +#define __MACH_PXA27x_H + +#include <linux/suspend.h> +#include <mach/hardware.h> +#include <mach/pxa2xx-regs.h> +#include "mfp-pxa27x.h" +#include <mach/irqs.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 */ + +extern int pxa27x_set_pwrmode(unsigned int mode); +extern void pxa27x_cpu_pm_enter(suspend_state_t state); + +#endif /* __MACH_PXA27x_H */ |