EmbeddedRelated.com
Forums

ISP1760 problem...

Started by rameshchandra January 3, 2009
Hi all,

   I am trying to port isp1760 driver found in 2.6.28 kernel to my
davinci(DM6446) platform.  The platform has an isp1760 chip.

I was sucessfully able to enumerate the Internal Hub.  After the
enumeration of internal hub which unlocks 3 external ports, the driver
powers on all the three ports and get the port status, and submits the
Interrupt IN urb to the hubs endpoint for determining hub status change.

My hub status for all the three ports is,

hub 1-1:1.0: port 3: status 0100 change 0000
hub 1-1:1.0: port 2: status 0100 change 0000
hub 1-1:1.0: port 1: status 0100 change 0000


When i plugin any device in to my usb host... the hub_irq which is to be
triggered as a completion handler for Interrupt IN urb is not happening.
There is no port status change of the port happening, which would trigger
the enumeration process.  Not even a interrupt from the isp1760.

This is how, my Interrupt IN urb is submitted to the chip,

Submitted the IN request to hub INendpoint
Formed qtd: Len:1  PacketType:1  Data:cf9dbac0
+     Enqueing one int_qtd            +
--PTD descriptor data--
DW0: a0040009
DW1: 3410
DW2: 18000
DW3: 81000000
TOGGLE: 0
--Payload address:1000--
--Filling int_ints Slot number 0--
-     Enqueued one int_qtd            -


After submitting, even after plugging in any device there is no interrupt
occuring for the interrupt PTD which the driver submitted...



This is my register dump after submitting the Interrupt IN urb,

+        REGISTER DUMP            +
+       --EHCI REG--            +
CAPLENGTH: 1000020
HCIVERSION: 110100
HCSPARAMS: 11
HCSPARAMS: 86
+       --EHCI OPERATIONAL REG--        +
USBCMD: ff0b01
USBSTS: c
USBINTR: 0
FRINDEX: 3436
CTRLDSSEGMENT: 0
CONFIGFLAG: 1
PORTSC1: 1005
ISO PTD Done Map: 0
ISO PTD Skip Map: ffffffff
ISO PTD Last PTD: 1
INT PTD Done Map: 0
INT PTD Skip Map: ffffffff
INT PTD Last PTD: 80000000
ATL PTD Done Map: 0
ATL PTD Skip Map: ffffffff
ATL PTD Last PTD: 80000000
+       --CONFIGURATION REGISTERS--     +
HW Mode Control: ffff7eff
Chip ID: 11761
Scratch: 0
SW Reset: ffff0000
DMA Configuration: 0
Buffer Status: 1
ATL Done Timeout: 0
Memory: 10400
Edge Interrupt Count: f
DMA Start Address: 0
Power Down Control: 17e81ba0
Port 1 Control: 1e001e
+       --INTERRUPT REGISTERS--         +
Interrupt: 3
Interrupt Enable: 188
ISO IRQ Mask OR: ffffffff
INT IRQ Mask OR: 0
ATL IRQ Mask OR: 0
ISO IRQ Mask AND: 0
INT IRQ Mask AND: 0
ATL IRQ Mask AND: 0
+       END OF REGISTER DUMP            +


I think many of you here, has posted questions regarding the philips
ISP1760/ISP1761 chip and has some work experience... 

Please help me in solving up the issue...

Thanks in advance.