>-----Original Message----- >From: Balbi, Felipe >Sent: Thursday, October 07, 2010 4:46 PM >To: Kalliguddi, Hema >Cc: Balbi, Felipe; David Brownell; >dbrownell@xxxxxxxxxxxxxxxxxxxxx; Arnaud Mandy; >felipe.balbi@xxxxxx; linux-usb@xxxxxxxxxxxxxxx >Subject: Re: [PATCH 2/2] usb: otg: introduce otg_notify_event >and otg_get_last_event > >Hi, > >On Thu, Oct 07, 2010 at 06:12:10AM -0500, Kalliguddi, Hema wrote: >>Yes. You are right. this makes the phy driver dependent on link >>driver/drivers. But is there any role to be played by phy when there >>is no link driver? > >well, we can use VBUS IRQ to power up link :-) > >>Infact I was thinking whether it is good idea to enable the phy >>interrupts only when the gadget driver is loaded in case of OTG mode. >>With this we can avoid some more useless notifications to the driver. > >currently we completely shut off phy until we get USB PRESENCE IRQ on >twl4030/twl5030/twl5031/etc. IRQs are disabled, LDOs are disabled, etc >:-) > I am talking about USB PRESENCE IRQ itself can be turned on only whn required. >>Agree this is good, but this will not avoid the unnecessary interrupts >>in phy. > >Which IRQs are you talking about if, as of today, phy is kept powered >off ? > I am talking about TWL4030 VBUS and ID_GND IRQs. >-- >balbi >-- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html