pd.h 655 B

12345678910111213141516171819202122232425262728293031
  1. /* linux/arch/arm/plat-samsung/include/plat/pd.h
  2. *
  3. * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
  4. * http://www.samsung.com
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. #ifndef __ASM_PLAT_SAMSUNG_PD_H
  11. #define __ASM_PLAT_SAMSUNG_PD_H __FILE__
  12. struct samsung_pd_info {
  13. int (*enable)(struct device *dev);
  14. int (*disable)(struct device *dev);
  15. void __iomem *base;
  16. };
  17. enum exynos4_pd_block {
  18. PD_MFC,
  19. PD_G3D,
  20. PD_LCD0,
  21. PD_LCD1,
  22. PD_TV,
  23. PD_CAM,
  24. PD_GPS
  25. };
  26. #endif /* __ASM_PLAT_SAMSUNG_PD_H */