d930596a3c
This patch implements Power Domain control based on Runtime PM framework. Each Power Domain is represented by a Power Domain device and the devices belong to these Power Domains should be set as a child device of the Power Domain devices. The corresponding drivers of the devices should implement Runtime PM to control the Power Domains. Signed-off-by: Changhwan Youn <chaos.youn at samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
30 lines
650 B
C
30 lines
650 B
C
/* linux/arch/arm/plat-samsung/include/plat/pd.h
|
|
*
|
|
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
|
|
* http://www.samsung.com
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __ASM_PLAT_SAMSUNG_PD_H
|
|
#define __ASM_PLAT_SAMSUNG_PD_H __FILE__
|
|
|
|
struct samsung_pd_info {
|
|
int (*enable)(struct device *dev);
|
|
int (*disable)(struct device *dev);
|
|
void __iomem *base;
|
|
};
|
|
|
|
enum s5pv310_pd_block {
|
|
PD_MFC,
|
|
PD_G3D,
|
|
PD_LCD0,
|
|
PD_LCD1,
|
|
PD_TV,
|
|
PD_CAM,
|
|
PD_GPS
|
|
};
|
|
|
|
#endif /* __ASM_PLAT_SAMSUNG_PD_H */
|