^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #ifndef __MACH_PXA27x_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #define __MACH_PXA27x_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) #include <linux/suspend.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) #include <mach/hardware.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) #include <mach/pxa2xx-regs.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) #include "mfp-pxa27x.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) #include <mach/irqs.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #define ARB_CNTRL __REG(0x48000048) /* Arbiter Control Register */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #define ARB_DMA_SLV_PARK (1<<31) /* Be parked with DMA slave when idle */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #define ARB_CI_PARK (1<<30) /* Be parked with Camera Interface when idle */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #define ARB_EX_MEM_PARK (1<<29) /* Be parked with external MEMC when idle */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #define ARB_INT_MEM_PARK (1<<28) /* Be parked with internal MEMC when idle */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) #define ARB_USB_PARK (1<<27) /* Be parked with USB when idle */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) #define ARB_LCD_PARK (1<<26) /* Be parked with LCD when idle */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #define ARB_DMA_PARK (1<<25) /* Be parked with DMA when idle */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) #define ARB_CORE_PARK (1<<24) /* Be parked with core when idle */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #define ARB_LOCK_FLAG (1<<23) /* Only Locking masters gain access to the bus */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) extern int pxa27x_set_pwrmode(unsigned int mode);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) extern void pxa27x_cpu_pm_enter(suspend_state_t state);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) #endif /* __MACH_PXA27x_H */