Trying to get OMAP3530 twl4030-usb interrupt to trigger

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

 



On the Logic LV SOM board, if I have a device plugged into the OTG port
on boot (with Vbus supplied by an external MIC2076),  everything works,
I see enumeration, can pull the device and it disconnects, and on
reinsertion, its found and enumerated.  However, if I powerup w/o a
device plugged in, the OTG acts like a brick, no interrupt/discovery of
a device when its plugged in.

The circuitry is very similar to the Beagle except that the beagle can
use Vbus to provide power to the board.

I'm using 2.6.30-rc5 pulled from Tony's tree with commit: 

commit f6ea2bbc8d4346c3a263ed86a92435d67f652809
Author: Roger Quadros <ext-roger.quadros@xxxxxxxxx>
Date:   Thu May 14 13:48:27 2009 -0700

    RX51: Remove multiple definition of MACH_NOKIA_RX51 in Kconfig

At this point I've been pulling my hair out as this code runs on Beagle
(with the 5V external power supplied), and Beagle properly discovers
devices plugged in after startup.

What I'd like to do is to turn on USB interrupts through INT1 (sys_nIRQ)
to signal a USB interrupt for IDGND/IDFLOAT, but even after hacking up
registers in the twl4030-usb and seeing USB_INT transition to indicate
IDGND, I don't get an interrupt.

1) Should the twl4030-usb interrupt fire in the code on
insertion/removal?

2) If not, then any ideas on how to plumb the USB interrupt out of the
twl4030?

3) Which actual interrupt does IRQ378 (the one twl4030-usb request)
correspond to?

Thanks in advance!
-- 
Peter Barada <peterb@xxxxxxxxxxx>
--
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

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux