This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

usbhost ehci interrupts - remote wakeup

Other Parts Discussed in Thread: DM3730

Hi,

I have done some experiments with remote wakeup on usbhost by enabling usbhost subsystem and its clocks in 

prcm handler (static irqreturn_t prcm_interrupt_handler (int irq, void *dev_id)) - some bottom half irq enables usbhost.

This is dummy way to do remote wakeup but it works. The question is: how to tell upper usb driver layer that usbhost is 

enabled. At this stage I do not recognize the source of interrupt - if irqstatus_mpu is OMAP3430_IO_ST_MASK

and usbhost was suspended the host  is enabled but it is triggered always if any wake enabled activity

on  IO  so ie i2c communication from twl4030 (button press) awakes the device - there is no usb communication

so upper usb layers do not know that usbhost was enabled and do not try to put it sleep again.

Also I seek the way - how can I recognize the interrupt source for prcm - that it detects any activity on ULPI lines and 

mask this source.

kernel 2.6.37, DM3730/EVM, power domains are put to  RET

R,

Karol