Re: [PATCH 2/2] usb: otg: introduce otg_notify_event and otg_get_last_event

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
:-)

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 ?

--
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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux