diff options
author | Tony Lindgren <tony@atomide.com> | 2016-10-17 10:47:34 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2016-11-10 22:42:15 +0300 |
commit | 602105ed740d89da00ac7cf3842f5ecd52a58461 (patch) | |
tree | 627761e13219ba22255fefaa66d44c3918a23581 | |
parent | 9080b8dc761aa1f0ab112fd2aa9ce33572a11e25 (diff) | |
download | linux-602105ed740d89da00ac7cf3842f5ecd52a58461.tar.xz |
ARM: OMAP2+: Remove legacy muxing for usb-tusb6010.c
We are moving to device tree based booting, and this should be
done using pinctrl-single instead.
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/mach-omap2/usb-tusb6010.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/arch/arm/mach-omap2/usb-tusb6010.c b/arch/arm/mach-omap2/usb-tusb6010.c index e554d9e66a1c..c2a6fbd7f8a9 100644 --- a/arch/arm/mach-omap2/usb-tusb6010.c +++ b/arch/arm/mach-omap2/usb-tusb6010.c @@ -22,8 +22,6 @@ #include "gpmc.h" -#include "mux.h" - static u8 async_cs, sync_cs; static unsigned refclk_psec; @@ -226,25 +224,6 @@ tusb6010_setup_interface(struct musb_hdrc_platform_data *data, } tusb_device.dev.platform_data = data; - /* REVISIT let the driver know what DMA channels work */ - if (!dmachan) - tusb_device.dev.dma_mask = NULL; - else { - /* assume OMAP 2420 ES2.0 and later */ - if (dmachan & (1 << 0)) - omap_mux_init_signal("sys_ndmareq0", 0); - if (dmachan & (1 << 1)) - omap_mux_init_signal("sys_ndmareq1", 0); - if (dmachan & (1 << 2)) - omap_mux_init_signal("sys_ndmareq2", 0); - if (dmachan & (1 << 3)) - omap_mux_init_signal("sys_ndmareq3", 0); - if (dmachan & (1 << 4)) - omap_mux_init_signal("sys_ndmareq4", 0); - if (dmachan & (1 << 5)) - omap_mux_init_signal("sys_ndmareq5", 0); - } - /* so far so good ... register the device */ status = platform_device_register(&tusb_device); if (status < 0) { |