pmu.h 802 B

12345678910111213141516171819202122232425262728293031323334
  1. /* linux/arch/arm/mach-exynos4/include/mach/pmu.h
  2. *
  3. * Copyright (c) 2011 Samsung Electronics Co., Ltd.
  4. * http://www.samsung.com/
  5. *
  6. * EXYNOS4210 - PMU(Power Management Unit) support
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2 as
  10. * published by the Free Software Foundation.
  11. */
  12. #ifndef __ASM_ARCH_PMU_H
  13. #define __ASM_ARCH_PMU_H __FILE__
  14. #define PMU_TABLE_END NULL
  15. enum sys_powerdown {
  16. SYS_AFTR,
  17. SYS_LPA,
  18. SYS_SLEEP,
  19. NUM_SYS_POWERDOWN,
  20. };
  21. extern unsigned long l2x0_regs_phys;
  22. struct exynos4_pmu_conf {
  23. void __iomem *reg;
  24. unsigned int val[NUM_SYS_POWERDOWN];
  25. };
  26. extern void exynos4_sys_powerdown_conf(enum sys_powerdown mode);
  27. extern void s3c_cpu_resume(void);
  28. #endif /* __ASM_ARCH_PMU_H */