1. 23 7月, 2014 5 次提交
  2. 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
  3. 16 7月, 2014 11 次提交
  4. 15 7月, 2014 5 次提交
  5. 11 7月, 2014 1 次提交
  6. 09 7月, 2014 1 次提交
  7. 08 7月, 2014 1 次提交
  8. 07 7月, 2014 7 次提交
    • G
      ARM: OMAP2+: Make GPMC skip disabled devices · 68e2eb53
      Guido Martínez 提交于
      Currently, child nodes of the gpmc node are iterated and probed
      regardless of their 'status' property. This means adding 'status =
      "disabled";' has no effect.
      
      This patch changes the iteration to only probe nodes marked as
      available.
      Signed-off-by: NGuido Martínez <guido@vanguardiasur.com.ar>
      Tested-by: NPekon Gupta <pekon@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      68e2eb53
    • S
      ARM: OMAP2+: create dsp device only on OMAP3 SoCs · 526570cb
      Suman Anna 提交于
      The DSP platform device for TI DSP/Bridge is currently
      created unconditionally whenever CONFIG_TIDSPBRIDGE is
      enabled. This device should only be created on OMAP34xx/
      OMAP36xx SoCs, and not for other OMAP3 derived SoCs or when
      booting multi-arch images on other SoCs. So, add a check for
      the SoC family both before creating the device and allocating
      the carveout memory for the device.
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      526570cb
    • N
      ARM: DRA7/AM43XX: fix header definition for omap44xx_restart · 7abb1a53
      Nishanth Menon 提交于
      omap44xx_restart is defined as a static void inline when DRA7/AM437X is
      defined alone, which implies that the restart function is no longer
      functional even though it is built in. So, fix the definition of the
      same.
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      7abb1a53
    • T
      ARM: OMAP2+: clock/dpll: fix _dpll_test_fint arithmetics overflow · 6340c872
      Tero Kristo 提交于
      The divider value provided to the _dpll_test_fint can reach value of
      256 with J type DPLLs (USB etc.), which causes an overflow with the u8
      datatype. Fix this by changing the parameter to be an int instead.
      Signed-off-by: NTero Kristo <t-kristo@ti.com>
      [paul@pwsan.com: changed type of 'n' to unsigned int]
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      6340c872
    • R
      ARM: DRA7: hwmod: Add SYSCONFIG for usb_otg_ss · d904b38d
      Roger Quadros 提交于
      Add the sysconfig class bits for the Super Speed USB
      controllers
      Signed-off-by: NRoger Quadros <rogerq@ti.com>
      Reviewed-by: NRajendra Nayak <rnayak@ti.com>
      Tested-by: NSekhar Nori <nsekhar@ti.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      d904b38d
    • R
      ARM: DRA7: hwmod: Fixup SATA hwmod · 1ea0999e
      Roger Quadros 提交于
      Get rid of optional clock as that is now managed by the
      AHCI platform driver.
      
      Correct .mpu_rt_idx to 1 as the module register space (SYSCONFIG..)
      is passed as the second memory resource in the device tree.
      Signed-off-by: NRoger Quadros <rogerq@ti.com>
      Reviewed-by: NRajendra Nayak <rnayak@ti.com>
      Tested-by: NSekhar Nori <nsekhar@ti.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      1ea0999e
    • S
      ARM: OMAP3: PRM/CM: Add back macros used by TI DSP/Bridge driver · 0cd8d405
      Suman Anna 提交于
      The commit 7be914f2 {ARM: OMAP3: PRM/CM: Cleanup unused header} removed
      some of the macros used by the TI DSP/Bridge driver. This fixes the
      following build errors when trying to build DSP/Bridge driver (disabled
      at present), otherwise results in the following build errors:
      
      drivers/staging/tidspbridge/core/tiomap3430.c:531:31: error: 'OMAP3430_AUTO_IVA2_DPLL_SHIFT' undeclared (first use in this function)
      drivers/staging/tidspbridge/core/tiomap3430.c:531:31: note: each undeclared identifier is reported only once for each function it appears in
      make[3]: *** [drivers/staging/tidspbridge/core/tiomap3430.o] Error 1
      make[3]: *** Waiting for unfinished jobs....
      drivers/staging/tidspbridge/core/tiomap_io.c: In function 'sm_interrupt_dsp':
      drivers/staging/tidspbridge/core/tiomap_io.c:404:31: error: 'OMAP3430_AUTO_IVA2_DPLL_SHIFT' undeclared (first use in this function)
      drivers/staging/tidspbridge/core/tiomap_io.c:404:31: note: each undeclared identifier is reported only once for each function it appears in
      drivers/staging/tidspbridge/core/tiomap_io.c:414:12: error: 'OMAP3430_IVA2_DPLL_FREQSEL_SHIFT' undeclared (first use in this function)
      drivers/staging/tidspbridge/core/tiomap_io.c:415:12: error: 'OMAP3430_EN_IVA2_DPLL_SHIFT' undeclared (first use in this function)
      make[3]: *** [drivers/staging/tidspbridge/core/tiomap_io.o] Error 1
      drivers/staging/tidspbridge/core/tiomap3430_pwr.c: In function 'dsp_clk_wakeup_event_ctrl':
      drivers/staging/tidspbridge/core/tiomap3430_pwr.c:442:19: error: 'OMAP3430_GRPSEL_GPT5_MASK' undeclared (first use in this function)
      drivers/staging/tidspbridge/core/tiomap3430_pwr.c:442:19: note: each undeclared identifier is reported only once for each function it appears in
      drivers/staging/tidspbridge/core/tiomap3430_pwr.c:455:19: error: 'OMAP3430_GRPSEL_GPT6_MASK' undeclared (first use in this function)
      drivers/staging/tidspbridge/core/tiomap3430_pwr.c:468:19: error: 'OMAP3430_GRPSEL_GPT7_MASK' undeclared (first use in this function)
      drivers/staging/tidspbridge/core/tiomap3430_pwr.c:481:19: error: 'OMAP3430_GRPSEL_GPT8_MASK' undeclared (first use in this function)
      drivers/staging/tidspbridge/core/tiomap3430_pwr.c:494:19: error: 'OMAP3430_GRPSEL_MCBSP1_MASK' undeclared (first use in this function)
      drivers/staging/tidspbridge/core/tiomap3430_pwr.c:546:19: error: 'OMAP3430_GRPSEL_MCBSP5_MASK' undeclared (first use in this function)
      make[3]: *** [drivers/staging/tidspbridge/core/tiomap3430_pwr.o] Error 1
      make[2]: *** [drivers/staging/tidspbridge] Error 2
      
      Fixes: 7be914f2 (ARM: OMAP3: PRM/CM: Cleanup unused header)
      Cc: Rajendra Nayak <rnayak@ti.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      0cd8d405
  9. 06 7月, 2014 1 次提交
  10. 04 7月, 2014 6 次提交