Hi Brian,

On Tue, Jul 06, 2010 at 19:45:56, Brian Niebuhr wrote:
> > On Sat, Jul 03, 2010 at 04:08:53, Brian Niebuhr wrote:
> > > I have included all of the recommended changes in this 

[...]

> > 
> > Quick update.
> > 
> > I tested this patch on DM355 and DM365 EVMs. On DM355 all the 
> > 3 modes (DMA,
> > Polled and Interrupt) worked fine. But in interrupt mode, on 
> > DM355, if I set
> > "intr_level = 1", then kernel hangs during booting after printing
> > "spi spi0.0: DaVinci SPI driver in Interrupt mode" on the console.
> 
> Sudhakar - 
> 
> When you changed the interrupt level, did you also change the
> IORESOURCE_IRQ entry for SPI0?  Maybe we could set the interrupt level
> automatically based on the IORESOURCE_IRQ provided?

IORESOURCE_IRQ entry for dm365 were already present in dm365.c.

>  
> > On DM365 only DMA and Polled mode worked fine. In interrupt 
> > mode, whether I
> > set intr_level to ZERO or ONE, kernel booting hangs, similar to DM355.
> 
> Does the interrupt mode of the existing driver work on DM365?  
> 

AFAIK, support for interrupt mode was not present in the earlier driver
by Sandeep Paulraj.

> I don't have one of these boards, so I can't debug the issue.  If you
> have any ideas where the problem might be I'd appreciate the help in
> getting this resolved.

As I mentioned in my earlier e-mail, on DM365 kernel booting hangs after
Printing "spi spi0.0: DaVinci SPI driver in Interrupt mode" on the console.
Control is in spi_sync() function waiting for completion.

> If the change I mentioned above fixes the issue on DM355, then

I am not sure whether my earlier mail was clear in this regard or not
but interrupt mode works fine on DM355 if intr_level = 0. Kernel booting
hangs on DM355 if intr_level = 1.

> I've got to imagine that it's just a configuration issue
> of some sort on DM365.
> 

I am also of the same opinion.

Thanks,
Sudhakar


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to