2011-02-14 07:33:10 +00:00
|
|
|
/* linux/arch/arm/mach-exynos4/include/mach/sysmmu.h
|
2011-01-13 04:35:31 +00:00
|
|
|
*
|
2011-02-14 07:33:10 +00:00
|
|
|
* Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
|
|
|
|
* http://www.samsung.com
|
2011-01-13 04:35:31 +00:00
|
|
|
*
|
2011-02-14 07:33:10 +00:00
|
|
|
* Samsung sysmmu driver for EXYNOS4
|
2011-01-13 04:35:31 +00:00
|
|
|
*
|
|
|
|
* 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_ARM_ARCH_SYSMMU_H
|
|
|
|
#define __ASM_ARM_ARCH_SYSMMU_H __FILE__
|
|
|
|
|
2011-02-14 07:33:10 +00:00
|
|
|
enum exynos4_sysmmu_ips {
|
2011-01-13 04:35:31 +00:00
|
|
|
SYSMMU_MDMA,
|
|
|
|
SYSMMU_SSS,
|
|
|
|
SYSMMU_FIMC0,
|
|
|
|
SYSMMU_FIMC1,
|
|
|
|
SYSMMU_FIMC2,
|
|
|
|
SYSMMU_FIMC3,
|
|
|
|
SYSMMU_JPEG,
|
|
|
|
SYSMMU_FIMD0,
|
|
|
|
SYSMMU_FIMD1,
|
|
|
|
SYSMMU_PCIe,
|
|
|
|
SYSMMU_G2D,
|
|
|
|
SYSMMU_ROTATOR,
|
|
|
|
SYSMMU_MDMA2,
|
|
|
|
SYSMMU_TV,
|
|
|
|
SYSMMU_MFC_L,
|
|
|
|
SYSMMU_MFC_R,
|
2011-03-06 23:56:48 +00:00
|
|
|
EXYNOS4_SYSMMU_TOTAL_IPNUM,
|
2011-01-13 04:35:31 +00:00
|
|
|
};
|
|
|
|
|
2011-03-06 23:56:48 +00:00
|
|
|
#define S5P_SYSMMU_TOTAL_IPNUM EXYNOS4_SYSMMU_TOTAL_IPNUM
|
2011-01-13 04:35:31 +00:00
|
|
|
|
2011-03-06 23:56:48 +00:00
|
|
|
extern const char *sysmmu_ips_name[EXYNOS4_SYSMMU_TOTAL_IPNUM];
|
2011-01-13 04:35:31 +00:00
|
|
|
|
2011-03-06 23:56:48 +00:00
|
|
|
typedef enum exynos4_sysmmu_ips sysmmu_ips;
|
2011-01-13 04:35:31 +00:00
|
|
|
|
2011-03-07 00:10:24 +00:00
|
|
|
void sysmmu_clk_init(struct device *dev, sysmmu_ips ips);
|
|
|
|
void sysmmu_clk_enable(sysmmu_ips ips);
|
|
|
|
void sysmmu_clk_disable(sysmmu_ips ips);
|
|
|
|
|
2011-01-13 04:35:31 +00:00
|
|
|
#endif /* __ASM_ARM_ARCH_SYSMMU_H */
|