Hi,

  I am in the process of porting ISP1760 driver to davinci (dm664) based 
platform.  I have a ISP1760 usb chipset on my board.  I have already got the 
driver on the latest kernel and it is running properly with out errors.  The 
problem is, ISP1760 irq pin is connected to the davinci's EMIF 
interface(EMRWn/INTRQ/HRWn), now, i need to register the interrupt handler of 
isp1760 with the irq.  But it seems that the (EMRWn/INTRQ/HRWn) pin functions 
as INTRQ only in the ATA mode by configuring the PINMUX registers. My ISP1760 
is connected to EMIF interface CS4.    

  Right now, i am able to read and write in to the register using the 
Asynchronous EMIF interface (normal mode).  But as soon as i change my mode to 
ATA, the same code which worked on the other mode is reading the chipid as zero 
and i am not able to read the data properly from the address where i wrote  on 
the usb chipset.What may be the issue?  My doubts are,

1) Is it right way to interface a Usb host controller through the ATA interface 
on this platform?

2) If the above is possible, how do i hook my usb interrupt handler to the 
appropriate irq.  There are some sample ide/ata drivers present in the git 
kernel, IRQ_IDE is defined as 22 -- for the ata irq, how to determine this? I 
am planning to register my usb drivers interrupt handler with the irq no. 22, 
will that be ok?

3) Apart from PINMUX configuration to configure pins to ATA mode, is there any 
other intializations that is needed to read and write in to my usb chip?



Any help will be highly appreciated,

Thanks in advance.

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

Reply via email to