Skip to contentSkip to conversation

ARM: OMAP: Readd Amstrad Delta USB support.

PATCH In review Jonathan McDowell 2 participants 2 messages Apr 28, 2006 – May 15, 2006

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: OMAP: Readd Amstrad Delta USB support.

One of the recent merges from mainline removed the Amstrad Delta USB support. This patch adds it back in; it's the same as was in 2.6.16-omap2.

-----

arch/arm/mach-omap1/board-ams-delta.c +7 -0
index 6178f04..664c3e2 100644
@@ -80,8 +80,15 @@ static struct omap_uart_config ams_delta
 	.enabled_uarts = 1,
 };
 
+static struct omap_usb_config ams_delta_usb_config __initdata = {
+	.register_host	= 1,
+	.hmc_mode	= 16,
+	.pins[0]	= 2,
+};
+
 static struct omap_board_config_kernel ams_delta_config[] = {
 	{ OMAP_TAG_UART,	&ams_delta_uart_config },
+	{ OMAP_TAG_USB,		&ams_delta_usb_config },
 };
 
 static void __init ams_delta_init(void)

-----

J.

Signature · 4 lines
   101 things you can't have too   |  .''`.  Debian GNU/Linux Developer
        much of : 41 - Tea.        | : :' :  Happy to accept PGP signed
                                   | `. `'   or encrypted mail - RSA +
                                   |   `-    DSA keys on the keyservers.
reviewer
#1 lore raw
Quoted 17 lines · Jonathan McDowell

One of the recent merges from mainline removed the Amstrad Delta USB support. This patch adds it back in; it's the same as was in 2.6.16-omap2.

-----

arch/arm/mach-omap1/board-ams-delta.c +2 -0
index 6178f04..664c3e2 100644
@@ -80,8 +80,15 @@ static struct omap_uart_config ams_delta
 	.enabled_uarts = 1,
 };
 
+static struct omap_usb_config ams_delta_usb_config __initdata = {
+	.register_host	= 1,

arch/arm/mach-omap1/board-ams-delta.c static struct omap_uart_config ams_delta · line 94

Quoted 10 lines
arch/arm/mach-omap1/board-ams-delta.c +5 -0
+	.hmc_mode	= 16,
+	.pins[0]	= 2,
+};
+
 static struct omap_board_config_kernel ams_delta_config[] = {
 	{ OMAP_TAG_UART,	&ams_delta_uart_config },
+	{ OMAP_TAG_USB,		&ams_delta_usb_config },
 };
 
 static void __init ams_delta_init(void)

Pushing today.

Tony