regs-pmu.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /* linux/arch/arm/mach-exynos4/include/mach/regs-pmu.h
  2. *
  3. * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
  4. * http://www.samsung.com
  5. *
  6. * EXYNOS4 - Power management unit definition
  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_REGS_PMU_H
  13. #define __ASM_ARCH_REGS_PMU_H __FILE__
  14. #include <mach/map.h>
  15. #define S5P_PMUREG(x) (S5P_VA_PMU + (x))
  16. #define S5P_MIPI_DPHY_CONTROL(n) S5P_PMUREG(0x0710 + (n) * 4)
  17. #define S5P_MIPI_DPHY_ENABLE (1 << 0)
  18. #define S5P_MIPI_DPHY_SRESETN (1 << 1)
  19. #define S5P_MIPI_DPHY_MRESETN (1 << 2)
  20. #define S5P_PMU_CAM_CONF S5P_PMUREG(0x3C00)
  21. #define S5P_PMU_TV_CONF S5P_PMUREG(0x3C20)
  22. #define S5P_PMU_MFC_CONF S5P_PMUREG(0x3C40)
  23. #define S5P_PMU_G3D_CONF S5P_PMUREG(0x3C60)
  24. #define S5P_PMU_LCD0_CONF S5P_PMUREG(0x3C80)
  25. #define S5P_PMU_LCD1_CONF S5P_PMUREG(0x3CA0)
  26. #define S5P_PMU_GPS_CONF S5P_PMUREG(0x3CE0)
  27. #define S5P_INT_LOCAL_PWR_EN 0x7
  28. #endif /* __ASM_ARCH_REGS_PMU_H */