2009-01-02 22:17:22 +07:00
|
|
|
#ifndef __MACH_PXA27x_H
|
|
|
|
#define __MACH_PXA27x_H
|
|
|
|
|
2011-09-11 16:19:11 +07:00
|
|
|
#include <linux/suspend.h>
|
2009-01-02 22:17:22 +07:00
|
|
|
#include <mach/hardware.h>
|
|
|
|
#include <mach/pxa2xx-regs.h>
|
2015-01-30 16:45:33 +07:00
|
|
|
#include "mfp-pxa27x.h"
|
2011-05-18 20:19:04 +07:00
|
|
|
#include <mach/irqs.h>
|
2009-01-02 22:17:22 +07:00
|
|
|
|
|
|
|
#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 */
|
2009-05-26 13:10:18 +07:00
|
|
|
|
2015-10-12 20:46:08 +07:00
|
|
|
extern int pxa27x_set_pwrmode(unsigned int mode);
|
2011-09-11 16:19:11 +07:00
|
|
|
extern void pxa27x_cpu_pm_enter(suspend_state_t state);
|
2009-05-26 13:10:18 +07:00
|
|
|
|
2009-01-02 22:17:22 +07:00
|
|
|
#endif /* __MACH_PXA27x_H */
|