1. 26 Mar, 2009 3 commits
    • Sudhakar Rajashekhara's avatar
      ARM: DaVinci: Fix for MMC/SD PIO mode on DA830/OMAP-L137 · 92afa75d
      Sudhakar Rajashekhara authored
      Fixes the PIO mode for MMC/SD on TI's DA830/OMAP-L137 architecture.
      
      On TI's DA830/OMAP-L137, the DMATRIG bit should be set for PIO
      transfers.  If MMC is being used for both PIO and EDMA based
      transfers, then it is likely that, an extra MMC EVENT is latched
      in the EDMA Event register even when just the CPU and MMC are in
      play. To properly switch from PIO to EDMA, clear any extra or
      unexpected event latched in the Event register, by doing a write
      to the corresponding bits in the ECR register.
      Signed-off-by: default avatarSudhakar Rajashekhara <sudhakar.raj@ti.com>
      92afa75d
    • David Griego's avatar
      ARM: DaVinci: Clear an EDMA event · e26199ae
      David Griego authored
      Adds edma_clear_event API support to EDMA.
      
      There has been a change to the MMC interface on TI's DA830/OMAP-L137
      architecture that requires setting the DMATRIG bit to trigger
      the first read data transfer when doing a read operation using
      the CPU, but it has the unintended consequence causing a DMA
      event.  Because of this, the next DMA read from the MMC/SD will
      fail with an Event Miss. This API will be used to clear the ER.
      Signed-off-by: default avatarDavid Griego <dgriego@mvista.com>
      Signed-off-by: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
      Signed-off-by: default avatarSudhakar Rajashekhara <sudhakar.raj@ti.com>
      Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
      e26199ae
    • Hugo Villeneuve's avatar
      ARM: Davinci: UART: Fix bug with serial ports registration · aeb81be7
      Hugo Villeneuve authored
      This bug occurs when the davinci serial code tries to register UART(X) when
      UART(X-1) or UART(X-2) is not enabled in the structure uart_config of the board
      setup code:
      
      This works: .enabled_uarts = (1 << 0)
      This works: .enabled_uarts = (1 << 0) | (1 << 1)
      This works: .enabled_uarts = (1 << 0) | (1 << 1) | | (1 << 2)
      This fails: .enabled_uarts = (1 << 1)
      This fails: .enabled_uarts = (1 << 1) | (1 << 2)
      This fails: .enabled_uarts = (1 << 0) | (1 << 2)
      
      The bug is triggered by the fact that the 8250 serial driver stops parsing the
      serial_platform_data structure as soon as it sees a zero flags entry. Thus the
      davinci serial registration code (serial.c) must <pack> the serial_platform_data
      structure and only clear the flags entry when there is no more devices following.
      
      Tested on DM6446 and DM355 custom boards.
      Signed-off-by: default avatarHugo Villeneuve <hugo@hugovil.com>
      Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
      aeb81be7
  2. 25 Mar, 2009 1 commit
  3. 24 Mar, 2009 1 commit
  4. 23 Mar, 2009 11 commits
  5. 22 Mar, 2009 6 commits
  6. 21 Mar, 2009 3 commits
  7. 20 Mar, 2009 10 commits
  8. 19 Mar, 2009 5 commits