Skip to content

Commit

Permalink
ARM: OMAP: musb: Add support for ti816evm
Browse files Browse the repository at this point in the history
Adding musb support in ti816 EVM board file.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Ravi Babu <ravibabu@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Ravi Babu authored and Tony Lindgren committed Dec 13, 2011
1 parent 8f718d2 commit f36217f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions arch/arm/mach-omap2/board-ti8168evm.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@
#include <plat/irqs.h>
#include <plat/board.h>
#include "common.h"
#include <plat/usb.h>

static struct omap_musb_board_data musb_board_data = {
.set_phy_power = ti81xx_musb_phy_power,
.interface_type = MUSB_INTERFACE_ULPI,
.mode = MUSB_OTG,
.power = 500,
};

static struct omap_board_config_kernel ti81xx_evm_config[] __initdata = {
};
Expand All @@ -33,6 +41,7 @@ static void __init ti81xx_evm_init(void)
omap_sdrc_init(NULL, NULL);
omap_board_config = ti81xx_evm_config;
omap_board_config_size = ARRAY_SIZE(ti81xx_evm_config);
usb_musb_init(&musb_board_data);
}

MACHINE_START(TI8168EVM, "ti8168evm")
Expand Down

0 comments on commit f36217f

Please sign in to comment.