summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/devices.c
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2013-11-20 19:08:28 +0530
committerLaxman Dewangan <ldewangan@nvidia.com>2013-11-22 02:24:53 -0800
commitf9740688827ee98c1e1bf22aea6941192d5cc43d (patch)
tree553da24014c7985d43d80e9ba19e8d626d2a2578 /arch/arm/mach-tegra/devices.c
parent9b73f88999a3d5d99532d1f22815e6ca600146b6 (diff)
ARM: tegra: Remove definition and reference of tegra_pinmux_device
Platform device tegra_pinmux_device is used for legacy pinmux driver which has been removed in order to use the pincontrol driver. Hence tegra_pinmux_device is no more used and removing it. Change-Id: I2731b1272ca2fbc777874f744bf14f41be7b2cd3 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/333438
Diffstat (limited to 'arch/arm/mach-tegra/devices.c')
-rw-r--r--arch/arm/mach-tegra/devices.c65
1 files changed, 0 insertions, 65 deletions
diff --git a/arch/arm/mach-tegra/devices.c b/arch/arm/mach-tegra/devices.c
index 40985dd0495f..47ad553bf01b 100644
--- a/arch/arm/mach-tegra/devices.c
+++ b/arch/arm/mach-tegra/devices.c
@@ -127,71 +127,6 @@ struct platform_device tegra_gpio_device = {
.num_resources = ARRAY_SIZE(gpio_resource),
};
-static struct resource pinmux_resource[] = {
-#ifdef CONFIG_ARCH_TEGRA_2x_SOC
- [0] = {
- /* Tri-state registers */
- .start = TEGRA_APB_MISC_BASE + 0x14,
- .end = TEGRA_APB_MISC_BASE + 0x20 + 3,
- .flags = IORESOURCE_MEM,
- },
- [1] = {
- /* Mux registers */
- .start = TEGRA_APB_MISC_BASE + 0x80,
- .end = TEGRA_APB_MISC_BASE + 0x9c + 3,
- .flags = IORESOURCE_MEM,
- },
- [2] = {
- /* Pull-up/down registers */
- .start = TEGRA_APB_MISC_BASE + 0xa0,
- .end = TEGRA_APB_MISC_BASE + 0xb0 + 3,
- .flags = IORESOURCE_MEM,
- },
- [3] = {
- /* Pad control registers */
- .start = TEGRA_APB_MISC_BASE + 0x868,
- .end = TEGRA_APB_MISC_BASE + 0x90c + 3,
- .flags = IORESOURCE_MEM,
- },
-#else
- [0] = {
- /* Drive registers */
- .start = TEGRA_APB_MISC_BASE + 0x868,
- .end = TEGRA_APB_MISC_BASE + 0x938 + 3,
- .flags = IORESOURCE_MEM,
- },
- [1] = {
- /* Mux registers */
- .start = TEGRA_APB_MISC_BASE + 0x3000,
-#ifdef CONFIG_ARCH_TEGRA_11x_SOC
- .end = TEGRA_APB_MISC_BASE + 0x3408 + 3,
-#elif defined(CONFIG_ARCH_TEGRA_14x_SOC)
- .end = TEGRA_APB_MISC_BASE + 0x3514 + 3,
-#else
- .end = TEGRA_APB_MISC_BASE + 0x33e0 + 3,
-#endif
- .flags = IORESOURCE_MEM,
- },
-#endif
-};
-
-struct platform_device tegra_pinmux_device = {
-#ifdef CONFIG_ARCH_TEGRA_3x_SOC
- .name = "tegra30-pinmux-ctl",
-#elif defined(CONFIG_ARCH_TEGRA_2x_SOC)
- .name = "tegra20-pinmux-ctl",
-#elif defined(CONFIG_ARCH_TEGRA_11x_SOC)
- .name = "tegra11x-pinmux-ctl",
-#elif defined(CONFIG_ARCH_TEGRA_12x_SOC)
- .name = "tegra12x-pinmux",
-#elif defined(CONFIG_ARCH_TEGRA_14x_SOC)
- .name = "tegra14x-pinmux",
-#endif
- .id = -1,
- .resource = pinmux_resource,
- .num_resources = ARRAY_SIZE(pinmux_resource),
-};
-
static struct resource tegra124_pinctrl_resource[] = {
[0] = {
/* Drive registers */