From f9740688827ee98c1e1bf22aea6941192d5cc43d Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Wed, 20 Nov 2013 19:08:28 +0530 Subject: 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 Reviewed-on: http://git-master/r/333438 --- arch/arm/mach-tegra/devices.c | 65 ------------------------------------------- 1 file changed, 65 deletions(-) (limited to 'arch/arm/mach-tegra/devices.c') 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 */ -- cgit v1.2.3