1. 26 6月, 2018 2 次提交
  2. 15 5月, 2018 1 次提交
    • S
      ARM: davinci: dm646x: fix timer interrupt generation · 73d4337e
      Sekhar Nori 提交于
      commit b3843414 ("ARM: davinci: irqs: Correct McASP1 TX interrupt
      definition for DM646x") inadvertently removed priority setting for
      timer0_12 (bottom half of timer0). This timer is used as clockevent.
      
      When INTPRIn register setting for an interrupt is left at 0, it is
      mapped to FIQ by the AINTC causing the timer interrupt to not get
      generated.
      
      Fix it by including an entry for timer0_12 in interrupt priority map
      array. While at it, move the clockevent comment to the right place.
      
      Fixes: b3843414 ("ARM: davinci: irqs: Correct McASP1 TX interrupt definition for DM646x")
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      73d4337e
  3. 19 2月, 2018 1 次提交
    • D
      ARM: davinci: move davinci_clk_init() to init_time · 96c08173
      David Lechner 提交于
      This moves the call of davinci_clk_init() from map_io to init_time for all
      boards.
      
      This is the proper place to init clocks. This is also done in preparation
      for moving to the common clock framework.
      
      dm646x is a special case because we need to handle different ref_clk rates
      depending on which board is being used. The clock init in this case is
      modified to set the rate before registering the clocks instead of using
      davinci_set_refclk_rate() to recalculate the entire clock tree after all
      of the clocks are registered.
      
      Also, the cpu_clks field is removed from struct davinci_soc_info since it
      is no longer needed.
      Signed-off-by: NDavid Lechner <david@lechnology.com>
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      96c08173
  4. 23 12月, 2017 2 次提交
  5. 27 4月, 2016 1 次提交
  6. 22 2月, 2016 1 次提交
  7. 02 12月, 2015 1 次提交
  8. 14 10月, 2015 3 次提交
  9. 18 3月, 2015 3 次提交
  10. 22 5月, 2014 2 次提交
  11. 06 3月, 2014 1 次提交
  12. 09 1月, 2014 1 次提交
  13. 26 12月, 2013 1 次提交
  14. 05 12月, 2013 1 次提交
  15. 21 11月, 2013 1 次提交
  16. 24 9月, 2013 1 次提交
  17. 22 8月, 2013 3 次提交
  18. 22 7月, 2013 1 次提交
  19. 24 6月, 2013 1 次提交
  20. 18 6月, 2013 1 次提交
  21. 27 10月, 2012 1 次提交
  22. 28 8月, 2012 1 次提交
  23. 25 2月, 2012 2 次提交
    • M
      ARM: davinci: streamline sysmod access · 5cfb19ac
      Manjunath Hadli 提交于
      There are instances of IO_ADDRESS() being used for system module
      (sysmod) register access. Eliminate this in favor of a ioremap()
      based access. ioremap() the entire sysmod address space once during
      boot-up and provide a helper macro to access specific register
      offsets within the address space.
      
      With this, also eliminate ioremap() of specific sysmodule registers
      related to VPIF happening in DM646x EVM code.
      
      While at it, also eliminate some duplicate sysmod register offset macros
      defined in code and place offset definitions at one place in davinci.h
      Signed-off-by: NManjunath Hadli <manjunath.hadli@ti.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      [nsekhar@ti.com: removed the addition of ifndef __ASSEMBLER__
      in davinci.h, eliminate IO_ADDRESS() usage left out in dm646x.c,
      cleanup VPIF sysmodule register access as part of this patch and
      keep all sysmod offsets in davinci.h Also, convert the WARN_ON()
      on failure to setup sysmod base to BUG_ON()]
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      5cfb19ac
    • M
      ARM: davinci: create new common platform header for davinci · 39c6d2d1
      Manjunath Hadli 提交于
      Remove individual platform header files for dm365, dm355, dm644x
      and dm646x and consolidate it into a single and common
      header file davinci.h placed in arch/arm/mach-davinci.
      
      This reduces the pollution in the include/mach and is consistent
      with Russell's suggestions as part of his "pet peaves" mail.
      (See #4 in: http://lists.infradead.org/pipermail/linux-arm-kernel/2011-November/071516.html)
      
      While at it, fix the forward declaration of spi_board_info,
      and include the right header file instead.
      
      The further patches in the series take  advantage of this consolidation
      for easy implementation of IO_ADDRESS elimination.
      Signed-off-by: NManjunath Hadli <manjunath.hadli@ti.com>
      [nsekhar@ti.com: make davinci.h the first local include file,
      fix forward declaration of spi_board_info and add back Deep Root
      Systems, LLC copyright]
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      39c6d2d1
  24. 21 1月, 2012 1 次提交
  25. 05 1月, 2012 1 次提交
  26. 05 12月, 2011 1 次提交
  27. 17 9月, 2011 1 次提交
    • I
      ARM: davinci: Explicitly set channel controllers' default queues · f23fe857
      Ido Yariv 提交于
      Davinci platforms may define a default queue for each channel
      controller. If one is not defined, the default queue is set to EVENTQ_1.
      However, there's no way to distinguish between an unset default queue to
      one that is set to EVENTQ_0, as EVENTQ_0 = 0.
      
      Explicitly specify the default queue for all channel controllers on all
      Davinci platforms to EVENTQ_1, and don't overwrite it in the EDMA probe
      function.
      
      One exception is the DA850 board, for which EVENTQ_1 is not a valid
      option for its second channel controller. Use EVENTQ_0 instead for that
      channel controller.
      Signed-off-by: NIdo Yariv <ido@wizery.com>
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      f23fe857
  28. 22 8月, 2011 1 次提交
  29. 06 7月, 2011 1 次提交
  30. 22 6月, 2011 1 次提交
    • A
      net: remove mm.h inclusion from netdevice.h · b7f080cf
      Alexey Dobriyan 提交于
      Remove linux/mm.h inclusion from netdevice.h -- it's unused (I've checked manually).
      
      To prevent mm.h inclusion via other channels also extract "enum dma_data_direction"
      definition into separate header. This tiny piece is what gluing netdevice.h with mm.h
      via "netdevice.h => dmaengine.h => dma-mapping.h => scatterlist.h => mm.h".
      Removal of mm.h from scatterlist.h was tried and was found not feasible
      on most archs, so the link was cutoff earlier.
      
      Hope people are OK with tiny include file.
      
      Note, that mm_types.h is still dragged in, but it is a separate story.
      Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b7f080cf