13 Jan, 2014

3 commits

  • The controller has 3 ports. The port0 is for USB 2.0 Phy, port1 and port2
    are for HSIC phys. The usb 2.0 phy is already being setup. This patch
    sets up the hsic phys.

    Signed-off-by: Inderpal Singh

    Inderpal Singh
     
  • The fifo size of ep0 is 64 bytes, and if the packet size grater than
    64 bytes, the driver would have to fill up the fifo multiple times,
    and before filling up the fifo, the driver should make sure the fifo
    is empty by checking fifo empty indication.

    However there is a hardware bug that the fifo empty indication is
    somehow a bit earlier than fifo reset. So if I don't add an extra
    delay here, the data might be corrupted. (i.e., 1 byte missing)

    After a couple of tests, it truns out that 1 usec is good enough.

    This workaround should be applied to all hardware revisions.

    Signed-off-by: Kuo-Jung Su
    CC: Marek Vasut

    Kuo-Jung Su
     
  • Since hardware revision 1.11.0, the following interrupt status
    registers are now W1C (i.e., write 1 clear):

    1. Interrupt Source Group 0 Register (0x144) (EP0 Abort: BIT5)
    2. Interrupt Source Group 2 Register (0x14C) (All bits)

    And before revision 1.11.0, these registers are all R/W.
    Which means software must write a 0 to clear the status.

    Signed-off-by: Kuo-Jung Su
    CC: Marek Vasut

    Kuo-Jung Su
     

10 Jan, 2014

35 commits


09 Jan, 2014

2 commits