[PATCH v5 4/7] ARM: S5P: Virtual Addresses for DMCx registers.
MyungJoo Ham
myungjoo.ham at samsung.com
Thu Jul 29 06:25:42 EDT 2010
The CPUFREQ driver requires an access to DMCx registers. We
define virtual addresses of DMCx registers.
Signed-off-by: MyungJoo Ham <myungjoo.ham at samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
---
arch/arm/plat-s5p/include/plat/map-s5p.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/arm/plat-s5p/include/plat/map-s5p.h b/arch/arm/plat-s5p/include/plat/map-s5p.h
index 1482852..bd803f1 100644
--- a/arch/arm/plat-s5p/include/plat/map-s5p.h
+++ b/arch/arm/plat-s5p/include/plat/map-s5p.h
@@ -31,4 +31,7 @@
#define VA_VIC2 VA_VIC(2)
#define VA_VIC3 VA_VIC(3)
+#define S5P_VA_DMC0 S3C_ADDR(0x00a00000)
+#define S5P_VA_DMC1 S3C_ADDR(0x00b00000)
+
#endif /* __ASM_PLAT_MAP_S5P_H */
--
1.6.3.3
More information about the linux-arm-kernel
mailing list