diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-03-15 18:27:36 -0400 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2012-04-18 12:26:39 -0400 |
commit | ecc295bbab6b9d1baf0c0a8c2d5a945b201df547 (patch) | |
tree | 34a82901da6d66fe15578133a0de90830a658376 /arch/arm/mach-tegra/board-pinmux.c | |
parent | e5cbeef0a4d450787169e29b610455b7d9392b7e (diff) |
ARM: dt: tegra20: add pinmux to device tree
This adds a complete pinmux configuration to all Tegra20 device tree
files. This allows removal of board-dt-tegra20.c's use of the pinmux
board files, and the special device tree handling in board-pinmux.c.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-tegra/board-pinmux.c')
-rw-r--r-- | arch/arm/mach-tegra/board-pinmux.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/board-pinmux.c b/arch/arm/mach-tegra/board-pinmux.c index 3b7ad07fcbcb..a5574c71b931 100644 --- a/arch/arm/mach-tegra/board-pinmux.c +++ b/arch/arm/mach-tegra/board-pinmux.c | |||
@@ -15,7 +15,6 @@ | |||
15 | #include <linux/device.h> | 15 | #include <linux/device.h> |
16 | #include <linux/kernel.h> | 16 | #include <linux/kernel.h> |
17 | #include <linux/notifier.h> | 17 | #include <linux/notifier.h> |
18 | #include <linux/of.h> | ||
19 | #include <linux/string.h> | 18 | #include <linux/string.h> |
20 | 19 | ||
21 | #include "board-pinmux.h" | 20 | #include "board-pinmux.h" |
@@ -84,6 +83,5 @@ void tegra_board_pinmux_init(struct tegra_board_pinmux_conf *conf_a, | |||
84 | if (conf_b) | 83 | if (conf_b) |
85 | pinctrl_register_mappings(conf_b->maps, conf_b->map_count); | 84 | pinctrl_register_mappings(conf_b->maps, conf_b->map_count); |
86 | 85 | ||
87 | if (!of_machine_is_compatible("nvidia,tegra20")) | 86 | platform_add_devices(devices, ARRAY_SIZE(devices)); |
88 | platform_add_devices(devices, ARRAY_SIZE(devices)); | ||
89 | } | 87 | } |