1. 20 3月, 2015 1 次提交
  2. 18 11月, 2014 1 次提交
  3. 26 8月, 2014 2 次提交
  4. 23 2月, 2014 1 次提交
    • I
      ARM: davinci: aemif: get rid of davinci-nand driver dependency on aemif · 67f5185c
      Ivan Khoronzhuk 提交于
      The problem that the set timings code contains the call of Davinci
      platform function davinci_aemif_setup_timing() which is not
      accessible if kernel is built for another platform like Keystone.
      
      The Keysone platform is going to use TI AEMIF driver.
      If TI AEMIF is used we don't need to set timings and bus width.
      It is done by AEMIF driver.
      
      To get rid of davinci-nand driver dependency on aemif platform code
      we moved aemif code to davinci platform.
      
      The platform AEMIF code (aemif.c) has to be removed once Davinci
      will be converted to DT and use ti-aemif.c driver.
      Acked-by: NBrian Norris <computersforpeace@gmail.com>
      Signed-off-by: NIvan Khoronzhuk <ivan.khoronzhuk@ti.com>
      [nsekhar@ti.com: fixed checkpatch error and a build breakage due to
      		 missing include, rebased onto l2-mtd/master]
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      67f5185c
  5. 30 9月, 2013 1 次提交
  6. 25 9月, 2013 1 次提交
  7. 30 8月, 2013 1 次提交
  8. 22 8月, 2013 1 次提交
  9. 27 7月, 2013 1 次提交
  10. 02 7月, 2013 1 次提交
  11. 18 4月, 2013 2 次提交
  12. 03 4月, 2013 1 次提交
  13. 02 4月, 2013 1 次提交
  14. 06 2月, 2013 1 次提交
  15. 15 1月, 2013 1 次提交
  16. 03 1月, 2013 1 次提交
    • V
      ARM: davinci: da8xx_register_spi() should not register SPI board info · 0273612c
      Vivien Didelot 提交于
      Without this patch, da8xx_register_spi() registers the SPI board info,
      the SPI controller, and sets its number of chipselect to the size of the
      static spi_board_info array. This is bad because a SPI board info may
      declare devices for different SPI buses, and because other code can also
      call spi_register_board_info() (e.g. a daughter board might provide
      additional SPI devices).
      
      This patch removes the spi_register_board_info() call from
      da8xx_register_spi(), renames this last one to da8xx_register_spi_bus()
      to be more explicit, takes the number of chipselect as a function
      parameter, and updates the impacted board-da8{3,5}0-evm.c, and
      board-mityomapl138.c files accordingly. It also sets the SPI platform
      data static, as it doesn't need to be exported.
      Signed-off-by: NVivien Didelot <vivien.didelot@savoirfairelinux.com>
      [nsekhar@ti.com: fixed conflicts with v3.7-rc7, converted to use pr_warn(),
      modified print messages to use __func__]
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      0273612c
  17. 25 12月, 2012 1 次提交
  18. 18 12月, 2012 1 次提交
    • O
      ARM: davinci: fix build break due to missing include · 6a2461a4
      Olof Johansson 提交于
      arch/arm/mach-davinci/board-da850-evm.c: In function 'da850_evm_init':
      arch/arm/mach-davinci/board-da850-evm.c:1516:2: error: implicit declaration of function 'sram_get_gen_pool' [-Werror=implicit-function-declaration]
      arch/arm/mach-davinci/board-da850-evm.c:1516:31: warning: assignment makes pointer from integer without a cast [enabled by default]
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      Cc: Sekhar Nori <nsekhar@ti.com>
      Cc: Kevin Hilman <khilman@ti.com>
      6a2461a4
  19. 29 10月, 2012 2 次提交
  20. 22 10月, 2012 1 次提交
  21. 06 10月, 2012 5 次提交
  22. 14 9月, 2012 1 次提交
  23. 05 5月, 2012 1 次提交
  24. 27 4月, 2012 1 次提交
    • U
      ARM: davinci: da850-evm: fix section mismatch · 59858b71
      Uwe Kleine-König 提交于
      This fixes:
      	WARNING: arch/arm/mach-davinci/built-in.o(.text+0x2d84): Section mismatch in reference from the function da850_evm_ui_expander_setup() to the (unknown reference) .init.data:(unknown)
      	The function da850_evm_ui_expander_setup() references
      	the (unknown reference) __initdata (unknown).
      	This is often because da850_evm_ui_expander_setup lacks a __initdata
      	annotation or the annotation of (unknown) is wrong.
      
      Note this is a real issue because if the tca6416 driver only binds when
      the init sections are already discarded da850_evm_ui_expander_setup is
      called when da850_evm_devices might already be overwritten.
      Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      59858b71
  25. 29 3月, 2012 1 次提交
  26. 28 1月, 2012 1 次提交
    • S
      ARM: davinci: update mdio bus name · f6f97588
      Sekhar Nori 提交于
      Commit 5a05a820 ("davinci_emac:
      use an unique MDIO bus name") introduced during the v3.3 merge
      window updated the davinci mdio bus name to make it unique.
      
      Update the bus name in board files which use DaVinci MDIO bus
      to match the new name. Without this PHY is not detected with
      error like:
      
      PHY 0:01 not found
      net eth0: could not connect to phy 0:01
      
      Tested on DM365 and DA850 EVMs.
      
      Cc: Florian Fainelli <florian@openwrt.org>
      Cc: David S. Miller <davem@davemloft.net>
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      f6f97588
  27. 10 1月, 2012 1 次提交
  28. 05 1月, 2012 1 次提交
  29. 05 12月, 2011 1 次提交
  30. 17 9月, 2011 1 次提交
    • I
      ARM: davinci: AM18x: Add wl1271/wlan support · ab3f5c1f
      Ido Yariv 提交于
      The wl1271 daughter card for AM18x EVMs is a combo wireless connectivity
      add-on card, based on the LS Research TiWi module with Texas
      Instruments' wl1271 solution.
      It is a 4-wire, 1.8V, embedded SDIO WLAN device with an external IRQ
      line and is power-controlled by a GPIO-based fixed regulator.
      
      Add support for the WLAN capabilities of this expansion board.
      Signed-off-by: NIdo Yariv <ido@wizery.com>
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      ab3f5c1f
  31. 11 9月, 2011 2 次提交
    • B
      mtd: nand: rename NAND_USE_FLASH_BBT · bb9ebd4e
      Brian Norris 提交于
      Recall the recently added prefix requirements:
       * "NAND_" for flags in nand.h, used in nand_chip.options
       * "NAND_BBT_" for flags in bbm.h, used in nand_chip.bbt_options
              or in nand_bbt_descr.options
      
      Thus, I am changing NAND_USE_FLASH_BBT to NAND_BBT_USE_FLASH.
      
      Again, this flag is found in bbm.h and so should NOT be used in the
      "nand_chip.options" field.
      Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
      Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      bb9ebd4e
    • B
      mtd: nand: consolidate redundant flash-based BBT flags · a40f7341
      Brian Norris 提交于
      This patch works with the following three flags from two headers (nand.h
      and bbm.h):
        (1) NAND_USE_FLASH_BBT (nand.h)
        (2) NAND_USE_FLASH_BBT_NO_OOB (nand.h)
        (3) NAND_BBT_NO_OOB (bbm.h)
      
      These flags are all related and interdependent, yet they were in
      different headers. Flag (2) is simply the combination of (1) and (3) and
      can be eliminated.
      
      This patch accomplishes the following:
        * eliminate NAND_USE_FLASH_BBT_NO_OOB (i.e., flag (2))
        * move NAND_USE_FLASH_BBT (i.e., flag (1)) to bbm.h
      
      It's important to note that because (1) and (3) are now both found in
      bbm.h, they should NOT be used in the "nand_chip.options" field.
      
      I removed a small section from the mtdnand DocBook because it referes to
      NAND_USE_FLASH_BBT in nand.h, which has been moved to bbm.h.
      Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
      Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      a40f7341
  32. 07 9月, 2011 1 次提交
    • R
      ARM: davinci: da850 EVM: read mac address from SPI flash · 810198bc
      Rajashekhara, Sudhakar 提交于
      DA850/OMAP-L138 EMAC driver uses random mac address instead of
      a fixed one because the mac address is not stuffed into EMAC
      platform data.
      
      This patch provides a function which reads the mac address
      stored in SPI flash (registered as MTD device) and populates the
      EMAC platform data. The function which reads the mac address is
      registered as a callback which gets called upon addition of MTD
      device.
      
      NOTE: In case the MAC address stored in SPI flash is erased, follow
      the instructions at [1] to restore it.
      
      [1] http://processors.wiki.ti.com/index.php/GSG:_OMAP-L138_DVEVM_Additional_Procedures#Restoring_MAC_address_on_SPI_Flash
      
      Modifications in v2:
      Guarded registering the mtd_notifier only when MTD is enabled.
      Earlier this was handled using mtd_has_partitions() call, but
      this has been removed in Linux v3.0.
      
      Modifications in v3:
      a. Guarded da850_evm_m25p80_notify_add() function and
         da850evm_spi_notifier structure with CONFIG_MTD macros.
      b. Renamed da850_evm_register_mtd_user() function to
         da850_evm_setup_mac_addr() and removed the struct mtd_notifier
         argument to this function.
      c. Passed the da850evm_spi_notifier structure to register_mtd_user()
         function.
      
      Modifications in v4:
      Moved the da850_evm_setup_mac_addr() function within the first
      CONFIG_MTD ifdef construct.
      Signed-off-by: NRajashekhara, Sudhakar <sudhakar.raj@ti.com>
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      Cc: stable@kernel.org
      810198bc