Skip to content

Commit

Permalink
ARM: OMAP2+: Remove legacy muxing for usb-tusb6010.c
Browse files Browse the repository at this point in the history
We are moving to device tree based booting, and this should be
done using pinctrl-single instead.

Signed-off-by: Tony Lindgren <[email protected]>
  • Loading branch information
tmlind committed Dec 8, 2013
1 parent 622ec13 commit 428febe
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions arch/arm/mach-omap2/usb-tusb6010.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@

#include "gpmc.h"

#include "mux.h"

static u8 async_cs, sync_cs;
static unsigned refclk_psec;

Expand Down Expand Up @@ -227,25 +225,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) {
Expand Down

0 comments on commit 428febe

Please sign in to comment.