Changhwan Youn | d930596 | 2010-12-03 17:14:57 +0900 | [diff] [blame] | 1 | /* linux/arch/arm/plat-samsung/include/plat/pd.h |
| 2 | * |
Kukjin Kim | 3db3ae5 | 2011-02-14 16:22:36 +0900 | [diff] [blame] | 3 | * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. |
Changhwan Youn | d930596 | 2010-12-03 17:14:57 +0900 | [diff] [blame] | 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 | |
| 11 | #ifndef __ASM_PLAT_SAMSUNG_PD_H |
| 12 | #define __ASM_PLAT_SAMSUNG_PD_H __FILE__ |
| 13 | |
| 14 | struct samsung_pd_info { |
| 15 | int (*enable)(struct device *dev); |
| 16 | int (*disable)(struct device *dev); |
| 17 | void __iomem *base; |
| 18 | }; |
| 19 | |
Kukjin Kim | 3db3ae5 | 2011-02-14 16:22:36 +0900 | [diff] [blame] | 20 | enum exynos4_pd_block { |
Changhwan Youn | d930596 | 2010-12-03 17:14:57 +0900 | [diff] [blame] | 21 | PD_MFC, |
| 22 | PD_G3D, |
| 23 | PD_LCD0, |
| 24 | PD_LCD1, |
| 25 | PD_TV, |
| 26 | PD_CAM, |
| 27 | PD_GPS |
| 28 | }; |
| 29 | |
| 30 | #endif /* __ASM_PLAT_SAMSUNG_PD_H */ |