1. 02 9月, 2012 1 次提交
  2. 23 7月, 2012 1 次提交
    • A
      mmc: core: reset signal voltage on power up · 108ecc4c
      Aaron Lu 提交于
      Add a call to mmc_set_signal_voltage() to set signal voltage to 3.3v in
      mmc_power_up so that we do not need to touch signal voltage setting in
      mmc/sd/sdio init functions and rescan function.
      
      For mmc/sd cards, when doing a suspend/resume cycle, consider the unsafe
      resume case, the card will lose its power and when powered on again, we
      will set signal voltage to 3.3v in mmc_power_up before its resume function
      gets called, which will re-init the card.
      
      And for sdio cards, when doing a suspend/resume cycle, consider the unsafe
      resume case, the card will either lose its power or not depending on if it
      wants to wakeup the host. If power is not maintained, it is the same case as
      mmc/sd cards. If power is maintained, mmc_power_up will not be called and
      the card's signal voltage will remain at the last setting.
      Signed-off-by: NAaron Lu <aaron.lu@amd.com>
      Tested-by: NVenkatraman S <svenkatr@ti.com>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      108ecc4c
  3. 06 6月, 2012 1 次提交
  4. 22 4月, 2012 1 次提交
  5. 05 3月, 2012 1 次提交
  6. 14 2月, 2012 1 次提交
  7. 13 1月, 2012 1 次提交
  8. 12 1月, 2012 2 次提交
  9. 27 10月, 2011 4 次提交
  10. 26 6月, 2011 1 次提交
  11. 25 5月, 2011 6 次提交
  12. 18 3月, 2011 1 次提交
  13. 16 3月, 2011 1 次提交
  14. 08 3月, 2011 1 次提交
  15. 09 1月, 2011 3 次提交
  16. 20 11月, 2010 2 次提交
  17. 23 10月, 2010 5 次提交
  18. 10 9月, 2010 1 次提交
  19. 11 8月, 2010 3 次提交
    • G
      sdio: allow non-standard SDIO cards · 6f51be3d
      Grazvydas Ignotas 提交于
      There are some chips (like TI WL12xx series) that can be interfaced over
      SDIO but don't support the SDIO specification, meaning that they are
      missing CIA (Common I/O Area) with all it's registers.  Current Linux SDIO
      implementation relies on those registers to identify and configure the
      card, so non-standard cards can not function and cause lots of warnings
      from the core when it reads invalid data from non-existent registers.
      
      After this patch, init_card() host callback can now set new quirk
      MMC_QUIRK_NONSTD_SDIO, which means that SDIO core should not try to access
      any standard SDIO registers and rely on init_card() to fill all SDIO
      structures instead.  As those cards are usually embedded chips, all the
      required information can be obtained from machine board files by the host
      driver when it's called through init_card() callback.
      Signed-off-by: NGrazvydas Ignotas <notasas@gmail.com>
      Cc: Adrian Hunter <adrian.hunter@nokia.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Bob Copeland <me@bobcopeland.com>
      Cc: Kalle Valo <kvalo@adurom.com>
      Cc: Madhusudhan Chikkature <madhu.cr@ti.com>
      Cc: Kishore Kadiyala <kishore.kadiyala@ti.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: <linux-mmc@vger.kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6f51be3d
    • M
      mmc: implement SD-combo (IO+mem) support · 7310ece8
      Michal Miroslaw 提交于
      Signed-off-by: NMichal Miroslaw <mirq-linux@rere.qmqm.pl>
      Cc: Adrian Hunter <adrian.hunter@nokia.com>
      Cc: Chris Ball <cjb@laptop.org>
      Cc: <linux-mmc@vger.kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      7310ece8
    • M
      mmc: split mmc_sd_init_card() · 71578a1e
      Michal Miroslaw 提交于
      This series adds support for SD combo cards to MMC/SD driver stack.
      
      SD combo consists of SD memory and SDIO parts in one package.  Since the
      parts have a separate SD command sets, after initialization, they can be
      treated as independent cards on one bus.
      
      Changes are divided into two patches.  First is just moving initialization
      code around so that SD memory part init can be called from SDIO init.
      Second patch is a proper change enabling SD memory along SDIO.  I tried to
      move as much no-op changes to the first patch so that it's easier to
      follow the required changes to initialization flow for SDIO cards.
      
      This is based on Simplified SDIO spec v.2.00.  The init sequence is
      slightly modified to follow current SD memory init implementation.
      Command sequences, assuming SD memory and SDIO indeed ignore unknown
      commands, are the same as before for both parts.
      
      This patch:
      
      Prepare for SD-combo (IO+mem) support by splitting SD memory
      card init and related functions.
      Signed-off-by: NMichal Miroslaw <mirq-linux@rere.qmqm.pl>
      Cc: Adrian Hunter <adrian.hunter@nokia.com>
      Cc: Chris Ball <cjb@laptop.org>
      Cc: <linux-mmc@vger.kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      71578a1e
  20. 14 4月, 2010 1 次提交
    • D
      ARM: MXC: mxcmmc: work around a bug in the SDHC busy line handling · 3fcb027d
      Daniel Mack 提交于
      MX3 SoCs have a silicon bug which corrupts CRC calculation of
      multi-block transfers when connected SDIO peripheral doesn't drive the
      BUSY line as required by the specs.
      
      One way to prevent this is to only allow 1-bit transfers.
      
      Another way is playing tricks with the DMA engine, but this isn't
      mainline yet. So for now, we live with the performance drawback of 1-bit
      transfers until a nicer solution is found.
      
      This patch introduces a new host controller callback 'init_card' which
      is for now only called from mmc_sdio_init_card().
      Signed-off-by: NDaniel Mack <daniel@caiaq.de>
      Cc: Sascha Hauer <s.hauer@pengutronix.de>
      Cc: Dan Williams <dan.j.williams@intel.com>
      Cc: Volker Ernst <volker.ernst@txtr.com>
      Cc: Jiri Kosina <jkosina@suse.cz>
      Cc: Michał Mirosław <mirqus@gmail.com>
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      3fcb027d
  21. 07 3月, 2010 2 次提交