* Ajay Kumar Gupta <ajay.gupta@xxxxxx> [090806 15:12]: > Multimedia Daughter card on OMAP3EVM uses port2 as EHCI port. > Other ports (port1 and port3)are not used. > > GPIO135 has been used as EHCI phy reset pin so the mux config > is also setup. > > Signed-off-by: Ajay Kumar Gupta <ajay.gupta@xxxxxx> > --- > arch/arm/mach-omap2/board-omap3evm.c | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c > index 595beac..b497979 100644 > --- a/arch/arm/mach-omap2/board-omap3evm.c > +++ b/arch/arm/mach-omap2/board-omap3evm.c > @@ -308,7 +308,9 @@ static void __init omap3_evm_init(void) > > omap_serial_init(); > usb_musb_init(); > - usb_ehci_init(EHCI_HCD_OMAP_MODE_PHY, true, true, 57, 61); > + /* Setup EHCI phy reset padconfig */ > + omap_cfg_reg(AF4_34XX_GPIO135_OUT); > + usb_ehci_init(EHCI_HCD_OMAP_MODE_PHY, false, true, -EINVAL, 135); > ads7846_dev_init(); > } Is this safe to do if you don't have the daughter card? If so, maybe add a comment for it. I guess the nicest thing would be to wait until the daughter card is probed based on some I2C chip id and only then mux the pins. Tony -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html