diff options
author | Stephen Warren <swarren@nvidia.com> | 2011-12-16 17:12:26 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2011-12-19 21:03:10 -0500 |
commit | 6e96aca397d55d06a69c699871879ade0d3a1759 (patch) | |
tree | 8762cfa8b5b43236cf47813b789abef02d73bab2 /arch/arm/mach-tegra/board-harmony-pcie.c | |
parent | 1a4a30c8494c44972b05106d1eb16a7530dd74d4 (diff) |
arm/tegra: Harmony PCIe: Don't touch pinmux
The Harmony pinmux table is already set up to mux the PCIe signals onto
the appropriate pin groups. Don't manually fiddle with the pinmux in the
Harmony PCIe setup code.
Merge note: This will have a merge conflict with Peter De Schrijver's
"arm/tegra: prepare pinmux code for multiple tegra variants" due to
context. When merging the two, make sure to also remove the include
of <mach/pinmux-tegra20.h> that his patch added, since it's no longer
needed after this patch.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-tegra/board-harmony-pcie.c')
-rw-r--r-- | arch/arm/mach-tegra/board-harmony-pcie.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-tegra/board-harmony-pcie.c b/arch/arm/mach-tegra/board-harmony-pcie.c index 6db7d699ef1c..33c4fedab840 100644 --- a/arch/arm/mach-tegra/board-harmony-pcie.c +++ b/arch/arm/mach-tegra/board-harmony-pcie.c | |||
@@ -22,7 +22,6 @@ | |||
22 | 22 | ||
23 | #include <asm/mach-types.h> | 23 | #include <asm/mach-types.h> |
24 | 24 | ||
25 | #include <mach/pinmux.h> | ||
26 | #include "board.h" | 25 | #include "board.h" |
27 | #include "board-harmony.h" | 26 | #include "board-harmony.h" |
28 | 27 | ||
@@ -48,10 +47,6 @@ static int __init harmony_pcie_init(void) | |||
48 | 47 | ||
49 | regulator_enable(regulator); | 48 | regulator_enable(regulator); |
50 | 49 | ||
51 | tegra_pinmux_set_tristate(TEGRA_PINGROUP_GPV, TEGRA_TRI_NORMAL); | ||
52 | tegra_pinmux_set_tristate(TEGRA_PINGROUP_SLXA, TEGRA_TRI_NORMAL); | ||
53 | tegra_pinmux_set_tristate(TEGRA_PINGROUP_SLXK, TEGRA_TRI_NORMAL); | ||
54 | |||
55 | err = tegra_pcie_init(true, true); | 50 | err = tegra_pcie_init(true, true); |
56 | if (err) | 51 | if (err) |
57 | goto err_pcie; | 52 | goto err_pcie; |
@@ -59,10 +54,6 @@ static int __init harmony_pcie_init(void) | |||
59 | return 0; | 54 | return 0; |
60 | 55 | ||
61 | err_pcie: | 56 | err_pcie: |
62 | tegra_pinmux_set_tristate(TEGRA_PINGROUP_GPV, TEGRA_TRI_TRISTATE); | ||
63 | tegra_pinmux_set_tristate(TEGRA_PINGROUP_SLXA, TEGRA_TRI_TRISTATE); | ||
64 | tegra_pinmux_set_tristate(TEGRA_PINGROUP_SLXK, TEGRA_TRI_TRISTATE); | ||
65 | |||
66 | regulator_disable(regulator); | 57 | regulator_disable(regulator); |
67 | regulator_put(regulator); | 58 | regulator_put(regulator); |
68 | err_reg: | 59 | err_reg: |