diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-05-14 16:53:49 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-05-15 07:30:41 -0400 |
commit | 21b7f153dd0d7366197c37e7a630c7585db0b8ea (patch) | |
tree | 065ad22312b08aca338479a823d60bec23fde120 /arch/arm/mach-tegra | |
parent | 0200c0a66cb727fae13bcd938d44a0841a6530d1 (diff) | |
parent | 89c788bab1f0374ae05aef7560066442ceb55384 (diff) |
Merge branch 'for-3.5/ahb' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra into next/drivers
* tegra/ahb:
ARM: tegra: Add SMMU enabler in AHB
ARM: tegra: Add Tegra AHB driver
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r-- | arch/arm/mach-tegra/Kconfig | 8 | ||||
-rw-r--r-- | arch/arm/mach-tegra/include/mach/tegra-ahb.h | 19 |
2 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig index 204d3d4d7388..6a113a9bb87a 100644 --- a/arch/arm/mach-tegra/Kconfig +++ b/arch/arm/mach-tegra/Kconfig | |||
@@ -50,6 +50,14 @@ config TEGRA_PCI | |||
50 | depends on ARCH_TEGRA_2x_SOC | 50 | depends on ARCH_TEGRA_2x_SOC |
51 | select PCI | 51 | select PCI |
52 | 52 | ||
53 | config TEGRA_AHB | ||
54 | bool "Enable AHB driver for NVIDIA Tegra SoCs" | ||
55 | default y | ||
56 | help | ||
57 | Adds AHB configuration functionality for NVIDIA Tegra SoCs, | ||
58 | which controls AHB bus master arbitration and some | ||
59 | perfomance parameters(priority, prefech size). | ||
60 | |||
53 | comment "Tegra board type" | 61 | comment "Tegra board type" |
54 | 62 | ||
55 | config MACH_HARMONY | 63 | config MACH_HARMONY |
diff --git a/arch/arm/mach-tegra/include/mach/tegra-ahb.h b/arch/arm/mach-tegra/include/mach/tegra-ahb.h new file mode 100644 index 000000000000..e0f8c84b1d8c --- /dev/null +++ b/arch/arm/mach-tegra/include/mach/tegra-ahb.h | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify it | ||
5 | * under the terms and conditions of the GNU General Public License, | ||
6 | * version 2, as published by the Free Software Foundation. | ||
7 | * | ||
8 | * This program is distributed in the hope it will be useful, but WITHOUT | ||
9 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
10 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
11 | * more details. | ||
12 | */ | ||
13 | |||
14 | #ifndef __MACH_TEGRA_AHB_H__ | ||
15 | #define __MACH_TEGRA_AHB_H__ | ||
16 | |||
17 | extern int tegra_ahb_enable_smmu(struct device_node *ahb); | ||
18 | |||
19 | #endif /* __MACH_TEGRA_AHB_H__ */ | ||