1 /* linux/arch/arm/plat-samsung/include/plat/pd.h
3 * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
4 * http://www.samsung.com
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.
11 #ifndef __ASM_PLAT_SAMSUNG_PD_H
12 #define __ASM_PLAT_SAMSUNG_PD_H __FILE__
14 enum exynos_pd_block {
30 struct samsung_pd_info {
31 int (*init)(struct device *dev);
32 int (*enable)(struct device *dev);
33 int (*disable)(struct device *dev);
34 int (*save)(struct device *dev);
35 int (*restore)(struct device *dev);
38 enum exynos_pd_block id;
41 struct exynos_pd_data {
42 void __iomem *clk_base;
43 void __iomem *clksrc_base;
44 void __iomem *read_base;
45 unsigned long read_phy_addr;
48 int exynos_pd_init(struct device *dev);
49 int exynos_pd_enable(struct device *dev);
50 int exynos_pd_disable(struct device *dev);
51 #endif /* __ASM_PLAT_SAMSUNG_PD_H */