forked from Minki/linux
4508f77517
In order to have a unique .c file for all pxa variants device-tree definitions, all the initialization functions for MACHINE_START and DT_MACHINE_START have been put together into generic.h. The alternative would have been one pxaXXX-dt.c file per variant. The move is necessary because each include/mach/pxaXXX.h includes the variant register descriptions which intersects and conflicts one with each other. The change is a preparation for pxa-dt.c to support multiple pxa, ie. pxa3xx and pxa27x. The machine files including mach/pxaXXX.h all include generic.h, which guarantees no regression should be introduced. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Acked-by: Arnd Bergmann <arnd@arndb.de>
26 lines
1.1 KiB
C
26 lines
1.1 KiB
C
#ifndef __MACH_PXA27x_H
|
|
#define __MACH_PXA27x_H
|
|
|
|
#include <linux/suspend.h>
|
|
#include <mach/hardware.h>
|
|
#include <mach/pxa2xx-regs.h>
|
|
#include <mach/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 __init pxa27x_set_pwrmode(unsigned int mode);
|
|
extern void pxa27x_cpu_pm_enter(suspend_state_t state);
|
|
|
|
#endif /* __MACH_PXA27x_H */
|