blob: 86dff32a073755f46c40c379d27a29f9aab5b829 [file] [log] [blame]
Catalin Marinas4b172442007-02-14 19:20:28 +01001#ifndef __ASMARM_ARCH_SCU_H
2#define __ASMARM_ARCH_SCU_H
3
Russell King292ec422011-02-04 10:36:39 +00004#define SCU_PM_NORMAL 0
5#define SCU_PM_DORMANT 2
6#define SCU_PM_POWEROFF 3
7
8#ifndef __ASSEMBLER__
Russell Kinga8cbcd92009-05-16 11:51:14 +01009unsigned int scu_get_core_count(void __iomem *);
Russell King292ec422011-02-04 10:36:39 +000010int scu_power_mode(void __iomem *, unsigned int);
Rob Herringeed88122013-01-31 09:26:06 -060011
12#ifdef CONFIG_SMP
13void scu_enable(void __iomem *scu_base);
14#else
15static inline void scu_enable(void __iomem *scu_base) {}
16#endif
17
Russell King292ec422011-02-04 10:36:39 +000018#endif
Catalin Marinas4b172442007-02-14 19:20:28 +010019
20#endif