summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/apbio.h
diff options
context:
space:
mode:
authorJon Mayo <jmayo@nvidia.com>2010-12-21 15:09:33 -0800
committerYu-Huan Hsu <yhsu@nvidia.com>2011-01-05 13:14:57 -0800
commitfe849ad8b1c6657b0b7820e82ef4d9cbb4352d57 (patch)
treea9412f6d3f7c7100747dccb033324f9251e26aca /arch/arm/mach-tegra/apbio.h
parent53baae0673cf441281dafd55dc2307b268eb7184 (diff)
[ARM] tegra: use APB DMA for accessing APB devices
Change-Id: I165411a14342666cbac02fb8cb171580ab0826aa Reviewed-on: http://git-master/r/14464 Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Tested-by: Jonathan Mayo <jmayo@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/apbio.h')
-rw-r--r--arch/arm/mach-tegra/apbio.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/apbio.h b/arch/arm/mach-tegra/apbio.h
new file mode 100644
index 000000000000..a8b8250c891a
--- /dev/null
+++ b/arch/arm/mach-tegra/apbio.h
@@ -0,0 +1,20 @@
+/*
+ * arch/arm/mach-tegra/apbio.h
+ *
+ * Copyright (C) 2010 NVIDIA Corporation.
+ * Copyright (C) 2010 Google, Inc.
+ *
+ * This software is licensed under the terms of the GNU General Public
+ * License version 2, as published by the Free Software Foundation, and
+ * may be copied, distributed, and modified under those terms.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ */
+
+u32 tegra_apb_readl(unsigned long offset);
+void tegra_apb_writel(u32 value, unsigned long offset);
+void tegra_init_apb_dma(void);