1. 06 3月, 2015 2 次提交
  2. 25 2月, 2015 2 次提交
  3. 30 1月, 2015 1 次提交
    • S
      memory/fsl-corenet-cf: Add t1040 support · c3e09b3a
      Scott Wood 提交于
      T1040 has a different version of corenet-cf, despite being incorrectly
      labelled with a fsl,corenet2-cf compatible.  The t1040 version of
      corenet-cf has a version register that can be read to distinguish.  The
      t4240/b4860 version officially does not, but testing shows that it does
      and has a different value, so use that.  If somehow this ends up not
      being reliable and we treat a t4240/b4860 as a t1040 (the reverse
      should not happen, as t1040's version register is official), currently
      the worst that should happen is writing to reserved bits to enable
      events that don't exist.
      
      The changes to the t1040 version of corenet-cf that this driver cares
      about are the addition of two new error events.  There are also changes
      to the format of cecar2, which is printed, but not interpreted, by this
      driver.
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      c3e09b3a
  4. 04 12月, 2014 1 次提交
    • T
      memory: Add NVIDIA Tegra memory controller support · 89184651
      Thierry Reding 提交于
      The memory controller on NVIDIA Tegra exposes various knobs that can be
      used to tune the behaviour of the clients attached to it.
      
      Currently this driver sets up the latency allowance registers to the HW
      defaults. Eventually an API should be exported by this driver (via a
      custom API or a generic subsystem) to allow clients to register latency
      requirements.
      
      This driver also registers an IOMMU (SMMU) that's implemented by the
      memory controller. It is supported on Tegra30, Tegra114 and Tegra124
      currently. Tegra20 has a GART instead.
      
      The Tegra SMMU operates on memory clients and SWGROUPs. A memory client
      is a unidirectional, special-purpose DMA master. A SWGROUP represents a
      set of memory clients that form a logical functional unit corresponding
      to a single device. Typically a device has two clients: one client for
      read transactions and one client for write transactions, but there are
      also devices that have only read clients, but many of them (such as the
      display controllers).
      
      Because there is no 1:1 relationship between memory clients and devices
      the driver keeps a table of memory clients and the SWGROUPs that they
      belong to per SoC. Note that this is an exception and due to the fact
      that the SMMU is tightly integrated with the rest of the Tegra SoC. The
      use of these tables is discouraged in drivers for generic IOMMU devices
      such as the ARM SMMU because the same IOMMU could be used in any number
      of SoCs and keeping such tables for each SoC would not scale.
      Acked-by: NJoerg Roedel <jroedel@suse.de>
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      89184651
  5. 29 11月, 2014 1 次提交
  6. 06 11月, 2014 1 次提交
  7. 20 10月, 2014 1 次提交
  8. 30 7月, 2014 1 次提交
  9. 15 7月, 2014 1 次提交
  10. 29 4月, 2014 5 次提交
  11. 17 4月, 2014 1 次提交
  12. 01 3月, 2014 2 次提交
    • I
      memory: ti-aemif: introduce AEMIF driver · 5a7c8154
      Ivan Khoronzhuk 提交于
      Add new AEMIF driver for EMIF16 Texas Instruments controller.
      The EMIF16 module is intended to provide a glue-less interface to
      a variety of asynchronous memory devices like ASRA M, NOR and NAND
      memory. A total of 256M bytes of any of these memories can be
      accessed at any given time via 4 chip selects with 64M byte access
      per chip select.
      
      Synchronous memories such as DDR1 SD RAM, SDR SDRAM and Mobile SDR
      are not supported.
      
      This controller is used on SoCs like Davinci, Keysone2
      Acked-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      Signed-off-by: NMurali Karicheri <m-karicheri2@ti.com>
      Signed-off-by: NIvan Khoronzhuk <ivan.khoronzhuk@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      5a7c8154
    • P
      powerpc: select MEMORY for FSL_IFC to not break existing .config files · 42d87b18
      Paul Gortmaker 提交于
      commit d2ae2e20 ("driver/memory:Move
      Freescale IFC driver to a common driver") introduces this build
      regression into the mpc85xx_defconfig:
      
       drivers/built-in.o: In function `fsl_ifc_nand_remove':
       drivers/mtd/nand/fsl_ifc_nand.c:1147: undefined reference to `fsl_ifc_ctrl_dev'
       drivers/mtd/nand/fsl_ifc_nand.c:1147: undefined reference to `fsl_ifc_ctrl_dev'
       drivers/built-in.o: In function `fsl_ifc_nand_probe':
       drivers/mtd/nand/fsl_ifc_nand.c:1031: undefined reference to `fsl_ifc_ctrl_dev'
       drivers/mtd/nand/fsl_ifc_nand.c:1031: undefined reference to `fsl_ifc_ctrl_dev'
       drivers/built-in.o: In function `match_bank':
       drivers/mtd/nand/fsl_ifc_nand.c:1013: undefined reference to `convert_ifc_address'
       drivers/built-in.o: In function `fsl_ifc_nand_probe':
       drivers/mtd/nand/fsl_ifc_nand.c:1059: undefined reference to `fsl_ifc_ctrl_dev'
       drivers/mtd/nand/fsl_ifc_nand.c:1080: undefined reference to `fsl_ifc_ctrl_dev'
       drivers/mtd/nand/fsl_ifc_nand.c:1069: undefined reference to `fsl_ifc_ctrl_dev'
       drivers/mtd/nand/fsl_ifc_nand.c:1069: undefined reference to `fsl_ifc_ctrl_dev'
       make: *** [vmlinux] Error 1
      
      This happens because there is nothing to descend us into the
      drivers/memory directory in the mpc85xx_defconfig.  It wasn't
      selecting CONFIG_MEMORY.  So we never built drivers/memory/fsl_ifc.o
      and so we have nothing to link the above symbols against.
      
      Since the goal of the original commit was to relocate the driver to
      an arch independent location, it only makes sense to relocate the
      Kconfig setting there as well.  But that alone won't fix the build
      failure; for that we ensure whoever selects FSL_IFC also selects MEMORY.
      
      Cc: Prabhakar Kushwaha <prabhakar@freescale.com>
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      42d87b18
  13. 19 2月, 2014 1 次提交
  14. 16 8月, 2013 1 次提交
    • J
      tegra: simplify use of devm_ioremap_resource · 946a88df
      Julia Lawall 提交于
      Remove unneeded error handling on the result of a call to
      platform_get_resource when the value is passed to devm_ioremap_resource.
      
      A simplified version of the semantic patch that makes this change is as
      follows: (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @@
      expression pdev,res,n,e,e1;
      expression ret != 0;
      identifier l;
      @@
      
      - res = platform_get_resource(pdev, IORESOURCE_MEM, n);
        ... when != res
      - if (res == NULL) { ... \(goto l;\|return ret;\) }
        ... when != res
      + res = platform_get_resource(pdev, IORESOURCE_MEM, n);
        e = devm_ioremap_resource(e1, res);
      // </smpl>
      Signed-off-by: NJulia Lawall <Julia.Lawall@lip6.fr>
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      946a88df
  15. 13 8月, 2013 1 次提交
  16. 06 8月, 2013 1 次提交
  17. 18 6月, 2013 2 次提交
  18. 22 5月, 2013 1 次提交
  19. 18 5月, 2013 1 次提交
  20. 26 3月, 2013 8 次提交
  21. 16 3月, 2013 3 次提交
  22. 23 1月, 2013 1 次提交
  23. 04 1月, 2013 1 次提交
    • G
      Drivers: memory: remove __dev* attributes. · 27796aa0
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, and
      __devinitconst, from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Hiroshi DOYU <hdoyu@nvidia.com>
      Cc: Stephen Warren <swarren@nvidia.com>
      Cc: Axel Lin <axel.lin@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      27796aa0