1. 05 Aug, 2010 4 commits
    • Rajashekhara, Sudhakar's avatar
      davinci: support for EDMA resource sharing · 90bd4e6d
      Rajashekhara, Sudhakar authored
      Current EDMA driver is not taking care of EDMA channels/slots
      which are allocated from other processor, say DSP. If a
      channel/slot is allocated from DSP, the existing EDMA driver
      can still allocate the same resource on ARM.
      
      This patch enables the user to pass the channel/slots reserved
      for DSP as platform data. EDMA driver scans this list during
      probe and prepares a bitmap of channel/slots which can be used
      on ARM side.
      
      Trying to reserve channels by doing a 'pre-allocate' using
      edma_alloc_{slot|channel}() API does not work because
      
      1) The reservation should be done in probe() to avoid race
         with other ARM side driver trying to use EDMA
      
      2) The alloc channel API sets up the access through shadow region
         0 which will be incorrect for DSP usage. It also sets up the
         channel <-> queue number mapping which is not required as DSP
         will likely do its own mapping anyway.
      
      3) (minor) There is no API to allocate channels in bulk.
      Signed-off-by: default avatarSudhakar Rajashekhara <sudhakar.raj@ti.com>
      Cc: David Brownell <david-b@pacbell.net>
      Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
      Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
      90bd4e6d
    • Sekhar Nori's avatar
      davinci: edma: provide ability to detect insufficient CC info data · bc3ac9f3
      Sekhar Nori authored
      This patch modifies the EDMA driver to expect the channel
      controller (CC) infomation passed on by the platform as a fixed
      size (EDMA_MAX_CC) array of pointers to structures.
      
      Doing so helps catch errors of the sort where the resource
      structure has information for more channel controllers than
      the number channel controller info structures defined.
      
      Such insufficient platform data would lead to illegal memory
      accesses.
      Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
      Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
      bc3ac9f3
    • Sekhar Nori's avatar
      davinci: da8xx: sparse cleanup: remove duplicate entries in irq priorities · f027512d
      Sekhar Nori authored
      This patch helps get rid of the following sparse warnings
      of the type:
      
        CHECK   arch/arm/mach-davinci/da830.c
      arch/arm/mach-davinci/da830.c:1026:3: warning: Initializer entry defined twice
      arch/arm/mach-davinci/da830.c:1027:3:   also defined here
      
      coming from the irq priorities array init.
      
      Apart from one instance of genuinie repetition, most are are instances
      of multiple #defines of the same interrupt number. I have not
      removed the multiple definitions from the irq.h file in the hope
      that someone might decide to use them as shared interrupts at some
      point of time. The priority initialization however needs to be done
      only once and hence has been corrected.
      Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
      Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
      f027512d
    • Thomas Koeller's avatar
      davinci: DM365: fixed second serial port · a2767b41
      Thomas Koeller authored
      The register base address for the second serial port (UART1) was
      wrong.
      Signed-off-by: default avatarThomas Koeller <thomas.koeller@baslerweb.com>
      Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
      a2767b41
  2. 21 Jun, 2010 5 commits
  3. 12 Jun, 2010 1 commit
  4. 11 Jun, 2010 30 commits