summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/io.c
diff options
context:
space:
mode:
authorStepan Moskovchenko2010-12-02 04:05:49 +0100
committerDavid Brown2011-01-22 00:27:51 +0100
commit5d0afd74b7f5202cad2d26b5bcd1fc1bdf44858f (patch)
tree1182389adea21d71fc4f4d01e0407b5e3841af5b /arch/arm/mach-msm/io.c
parentmsm: Generalize QGIC registers (diff)
downloadkernel-qcow2-linux-5d0afd74b7f5202cad2d26b5bcd1fc1bdf44858f.tar.gz
kernel-qcow2-linux-5d0afd74b7f5202cad2d26b5bcd1fc1bdf44858f.tar.xz
kernel-qcow2-linux-5d0afd74b7f5202cad2d26b5bcd1fc1bdf44858f.zip
msm: io: I/O register definitions for MSM8960
Add the register address definitions for the basic hardware blocks on the Qualcomm MSM8960 chip. Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org> Signed-off-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/io.c')
-rw-r--r--arch/arm/mach-msm/io.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/io.c b/arch/arm/mach-msm/io.c
index 49692bb375a2..d8d9be5d821b 100644
--- a/arch/arm/mach-msm/io.c
+++ b/arch/arm/mach-msm/io.c
@@ -117,6 +117,20 @@ void __init msm_map_msm8x60_io(void)
}
#endif /* CONFIG_ARCH_MSM8X60 */
+#ifdef CONFIG_ARCH_MSM8960
+static struct map_desc msm8960_io_desc[] __initdata = {
+ MSM_CHIP_DEVICE(QGIC_DIST, MSM8960),
+ MSM_CHIP_DEVICE(QGIC_CPU, MSM8960),
+ MSM_CHIP_DEVICE(TMR, MSM8960),
+ MSM_CHIP_DEVICE(TMR0, MSM8960),
+};
+
+void __init msm_map_msm8960_io(void)
+{
+ iotable_init(msm8960_io_desc, ARRAY_SIZE(msm8960_io_desc));
+}
+#endif /* CONFIG_ARCH_MSM8960 */
+
#ifdef CONFIG_ARCH_MSM7X30
static struct map_desc msm7x30_io_desc[] __initdata = {
MSM_DEVICE(VIC),