Hi,

Bill Gatliff writes:
> Odd odd odd.  :^)
> 
> The only combination which seems to work for me is this:
> 
> static struct isp116x_platform_data csb625_isp116x_platform_data = {
>   .sel15Kres = 1,
>   .int_act_high = 0,
>   .int_edge_triggered = 0,
>   .no_power_switching = 1,
> };
> ...
>   set_irq_type(IRQ_GPIO(22), IRQT_FALLING);
> 
> I haven't tracked down why yet, but it seems like if I set 
> int_edge_triggered or change the polarity of anything around, the PXA 
> stops responding to interrupts from the isp1161.
> 
> I notice that INT is high on the isp1161 after coming out of reset, so 
> that might help explain some of it.  But I can't quite tell why the 
> edge-sensitivity in set_irq_type isn't working.  Could be in the pxa 
> code, or could be in the init code for the isp116x.
> 
The PXA requires a minimum pulse width of 1 microsecond (Chapter 4-12
of the PXA255 Developers Manual) on a GPIO pin for proper edge
detection. The ISP116x generates a pulse of 167ns in edge triggered
mode. Thus you cannot use the edge triggered mode of the ISP116x with
a PXA processor.


Lothar Wassmann


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to