1. 29 9月, 2014 1 次提交
    • T
      clk: ti: change clock init to use generic of_clk_init · c08ee14c
      Tero Kristo 提交于
      Previously, the TI clock driver initialized all the clocks hierarchically
      under each separate clock provider node. Now, each clock that requires
      IO access will instead check their parent node to find out which IO range
      to use.
      
      This patch allows the TI clock driver to use a few new features provided
      by the generic of_clk_init, and also allows registration of clock nodes
      outside the clock hierarchy (for example, any external clocks.)
      Signed-off-by: NTero Kristo <t-kristo@ti.com>
      Cc: Mike Turquette <mturquette@linaro.org>
      Cc: Paul Walmsley <paul@pwsan.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Stefan Assmann <sassmann@kpanic.de>
      Acked-by: NTony Lindgren <tony@atomide.com>
      c08ee14c
  2. 09 8月, 2014 1 次提交
  3. 01 8月, 2014 2 次提交
  4. 29 7月, 2014 1 次提交
  5. 25 7月, 2014 1 次提交
    • P
      ARM: OMAP2+: clock: allow omap2_dpll_round_rate() to round to next-lowest rate · 0a263444
      Paul Walmsley 提交于
      Change the behavior of omap2_dpll_round_rate() to round to either the
      exact rate requested, or the next lowest rate that the clock is able to
      provide.
      
      This is not an ideal fix, but is intended to provide a relatively safe
      way for drivers to set PLL rates, until a better solution can be
      implemented.
      
      For the time being, omap3_noncore_dpll_set_rate() is still allowed to
      set its rate to something other than what the caller requested; but will
      warn when this occurs.
      
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: Mike Turquette <mturquette@linaro.org>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      0a263444
  6. 23 7月, 2014 7 次提交
  7. 22 7月, 2014 2 次提交
    • N
      ARM: DRA7: hwmod: remove interrupts for DMA · 2aa7f52b
      Nishanth Menon 提交于
      DMA interrupts are now available in of, and the definitions are
      duplicates in hwmod. This prevents us from dynamically allocating
      interrupt resources for dma from devicetree.
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      2aa7f52b
    • N
      ARM: OMAP2+: DMA: remove requirement of irq for platform-dma driver · 76be4a54
      Nishanth Menon 提交于
      we have currently 2 DMA drivers that try to co-exist.
      drivers/dma/omap-dma.c which registers it's own IRQ and is device tree
      aware and uses arch/arm/plat-omap/dma.c instance created by
      arch/arm/mach-omap2/dma.c to maintain channel usage (omap_request_dma).
      
      Currently both try to register interrupts and mach-omap2/plat-omap dma.c
      attempts to use the IRQ number registered by hwmod to register it's own
      interrupt handler.
      
      Now, there is no reasonable way of static allocating DMA irq in GIC
      SPI when we use crossbar. However, since the dma_chan structure is
      freed as a result of IRQ not being present due to devm allocation,
      maintaining information of channel by platform code fails at a later
      point in time when that region of memory is reused.
      
      So, if hwmod does not indicate an IRQ number, then, assume that
      dma-engine will take care of the interrupt handling.
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      76be4a54
  8. 18 7月, 2014 1 次提交
    • R
      ARM: convert all "mov.* pc, reg" to "bx reg" for ARMv6+ · 6ebbf2ce
      Russell King 提交于
      ARMv6 and greater introduced a new instruction ("bx") which can be used
      to return from function calls.  Recent CPUs perform better when the
      "bx lr" instruction is used rather than the "mov pc, lr" instruction,
      and this sequence is strongly recommended to be used by the ARM
      architecture manual (section A.4.1.1).
      
      We provide a new macro "ret" with all its variants for the condition
      code which will resolve to the appropriate instruction.
      
      Rather than doing this piecemeal, and miss some instances, change all
      the "mov pc" instances to use the new macro, with the exception of
      the "movs" instruction and the kprobes code.  This allows us to detect
      the "mov pc, lr" case and fix it up - and also gives us the possibility
      of deploying this for other registers depending on the CPU selection.
      Reported-by: NWill Deacon <will.deacon@arm.com>
      Tested-by: Stephen Warren <swarren@nvidia.com> # Tegra Jetson TK1
      Tested-by: Robert Jarzmik <robert.jarzmik@free.fr> # mioa701_bootresume.S
      Tested-by: Andrew Lunn <andrew@lunn.ch> # Kirkwood
      Tested-by: NShawn Guo <shawn.guo@freescale.com>
      Tested-by: Tony Lindgren <tony@atomide.com> # OMAPs
      Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com> # Armada XP, 375, 385
      Acked-by: Sekhar Nori <nsekhar@ti.com> # DaVinci
      Acked-by: Christoffer Dall <christoffer.dall@linaro.org> # kvm/hyp
      Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com> # PXA3xx
      Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> # Xen
      Tested-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> # ARMv7M
      Tested-by: Simon Horman <horms+renesas@verge.net.au> # Shmobile
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      6ebbf2ce
  9. 16 7月, 2014 12 次提交
  10. 15 7月, 2014 6 次提交
  11. 11 7月, 2014 2 次提交
  12. 09 7月, 2014 1 次提交
  13. 08 7月, 2014 1 次提交
  14. 07 7月, 2014 2 次提交