aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-am3517evm.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-05-06 17:43:45 -0400
committerArnd Bergmann <arnd@arndb.de>2013-05-06 17:43:45 -0400
commit442a33ebce9e02a2dd6662f16c9f2aad834d0115 (patch)
treeca8654a286f61da917318645cab9e061095ecdba /arch/arm/mach-omap2/board-am3517evm.c
parenta94d236dc355f374857ee4e6e78b7dec8a0f29e3 (diff)
parentf31c2f1c68aff83277eddc6798adf3438e9c680a (diff)
Merge branch 'late/clksrc' into late/cleanup
There is no reason to keep the clksrc cleanups separate from the other cleanups, and this resolves some merge conflicts. Conflicts: arch/arm/mach-spear/spear13xx.c drivers/irqchip/Makefile
Diffstat (limited to 'arch/arm/mach-omap2/board-am3517evm.c')
-rw-r--r--arch/arm/mach-omap2/board-am3517evm.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch/arm/mach-omap2/board-am3517evm.c
index 2b9eb3de7aa6..d63f14b534b5 100644
--- a/arch/arm/mach-omap2/board-am3517evm.c
+++ b/arch/arm/mach-omap2/board-am3517evm.c
@@ -213,6 +213,14 @@ static __init void am3517_evm_mcbsp1_init(void)
213 omap_ctrl_writel(devconf0, OMAP2_CONTROL_DEVCONF0); 213 omap_ctrl_writel(devconf0, OMAP2_CONTROL_DEVCONF0);
214} 214}
215 215
216static struct usbhs_phy_data phy_data[] __initdata = {
217 {
218 .port = 1,
219 .reset_gpio = 57,
220 .vcc_gpio = -EINVAL,
221 },
222};
223
216static struct usbhs_omap_platform_data usbhs_bdata __initdata = { 224static struct usbhs_omap_platform_data usbhs_bdata __initdata = {
217 .port_mode[0] = OMAP_EHCI_PORT_MODE_PHY, 225 .port_mode[0] = OMAP_EHCI_PORT_MODE_PHY,
218#if defined(CONFIG_PANEL_SHARP_LQ043T1DG01) || \ 226#if defined(CONFIG_PANEL_SHARP_LQ043T1DG01) || \
@@ -221,12 +229,6 @@ static struct usbhs_omap_platform_data usbhs_bdata __initdata = {
221#else 229#else
222 .port_mode[1] = OMAP_EHCI_PORT_MODE_PHY, 230 .port_mode[1] = OMAP_EHCI_PORT_MODE_PHY,
223#endif 231#endif
224 .port_mode[2] = OMAP_USBHS_PORT_MODE_UNUSED,
225
226 .phy_reset = true,
227 .reset_gpio_port[0] = 57,
228 .reset_gpio_port[1] = -EINVAL,
229 .reset_gpio_port[2] = -EINVAL
230}; 232};
231 233
232#ifdef CONFIG_OMAP_MUX 234#ifdef CONFIG_OMAP_MUX
@@ -288,7 +290,6 @@ static struct omap2_hsmmc_info mmc[] = {
288 {} /* Terminator */ 290 {} /* Terminator */
289}; 291};
290 292
291
292static void __init am3517_evm_init(void) 293static void __init am3517_evm_init(void)
293{ 294{
294 omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); 295 omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
@@ -300,6 +301,8 @@ static void __init am3517_evm_init(void)
300 301
301 /* Configure GPIO for EHCI port */ 302 /* Configure GPIO for EHCI port */
302 omap_mux_init_gpio(57, OMAP_PIN_OUTPUT); 303 omap_mux_init_gpio(57, OMAP_PIN_OUTPUT);
304
305 usbhs_init_phys(phy_data, ARRAY_SIZE(phy_data));
303 usbhs_init(&usbhs_bdata); 306 usbhs_init(&usbhs_bdata);
304 am3517_evm_hecc_init(&am3517_evm_hecc_pdata); 307 am3517_evm_hecc_init(&am3517_evm_hecc_pdata);
305 308