summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv310/include/mach/regs-pmu.h
diff options
context:
space:
mode:
authorChanghwan Youn2010-12-03 09:15:40 +0100
committerKukjin Kim2010-12-30 01:37:02 +0100
commitd6d8b481999507a20012b7ee924bdaf5bfb52a05 (patch)
tree760ceb5112102e565af60c675ae610b9692e86b0 /arch/arm/mach-s5pv310/include/mach/regs-pmu.h
parentARM: S5PV310: Set bit 22 in the PL310 (cache controller) AuxCtlr register (diff)
downloadkernel-qcow2-linux-d6d8b481999507a20012b7ee924bdaf5bfb52a05.tar.gz
kernel-qcow2-linux-d6d8b481999507a20012b7ee924bdaf5bfb52a05.tar.xz
kernel-qcow2-linux-d6d8b481999507a20012b7ee924bdaf5bfb52a05.zip
ARM: S5PV310: Add support Power Domain
This patch adds support Power Domain for S5PV310 and S5PC210. Signed-off-by: Changhwan Youn <chaos.youn at samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv310/include/mach/regs-pmu.h')
-rw-r--r--arch/arm/mach-s5pv310/include/mach/regs-pmu.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv310/include/mach/regs-pmu.h b/arch/arm/mach-s5pv310/include/mach/regs-pmu.h
new file mode 100644
index 000000000000..fb333d0f6073
--- /dev/null
+++ b/arch/arm/mach-s5pv310/include/mach/regs-pmu.h
@@ -0,0 +1,30 @@
+/* linux/arch/arm/mach-s5pv310/include/mach/regs-pmu.h
+ *
+ * Copyright (c) 2010 Samsung Electronics Co., Ltd.
+ * http://www.samsung.com
+ *
+ * S5PV310 - Power management unit definition
+ *
+ * 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_ARCH_REGS_PMU_H
+#define __ASM_ARCH_REGS_PMU_H __FILE__
+
+#include <mach/map.h>
+
+#define S5P_PMUREG(x) (S5P_VA_PMU + (x))
+
+#define S5P_PMU_CAM_CONF S5P_PMUREG(0x3C00)
+#define S5P_PMU_TV_CONF S5P_PMUREG(0x3C20)
+#define S5P_PMU_MFC_CONF S5P_PMUREG(0x3C40)
+#define S5P_PMU_G3D_CONF S5P_PMUREG(0x3C60)
+#define S5P_PMU_LCD0_CONF S5P_PMUREG(0x3C80)
+#define S5P_PMU_LCD1_CONF S5P_PMUREG(0x3CA0)
+#define S5P_PMU_GPS_CONF S5P_PMUREG(0x3CE0)
+
+#define S5P_INT_LOCAL_PWR_EN 0x7
+
+#endif /* __ASM_ARCH_REGS_PMU_H */