mirror of
https://github.com/torvalds/linux.git
synced 2024-11-20 11:01:38 +00:00
ARM: OMAP: musb: Add support for ti816evm
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>
This commit is contained in:
parent
8f718d2414
commit
f36217f3a5
@ -23,6 +23,14 @@
|
|||||||
#include <plat/irqs.h>
|
#include <plat/irqs.h>
|
||||||
#include <plat/board.h>
|
#include <plat/board.h>
|
||||||
#include "common.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 = {
|
static struct omap_board_config_kernel ti81xx_evm_config[] __initdata = {
|
||||||
};
|
};
|
||||||
@ -33,6 +41,7 @@ static void __init ti81xx_evm_init(void)
|
|||||||
omap_sdrc_init(NULL, NULL);
|
omap_sdrc_init(NULL, NULL);
|
||||||
omap_board_config = ti81xx_evm_config;
|
omap_board_config = ti81xx_evm_config;
|
||||||
omap_board_config_size = ARRAY_SIZE(ti81xx_evm_config);
|
omap_board_config_size = ARRAY_SIZE(ti81xx_evm_config);
|
||||||
|
usb_musb_init(&musb_board_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
MACHINE_START(TI8168EVM, "ti8168evm")
|
MACHINE_START(TI8168EVM, "ti8168evm")
|
||||||
|
Loading…
Reference in New Issue
Block a user