1. 28 3月, 2012 1 次提交
    • S
      mmc: core: hs200 fixes · 52d0974e
      Subhash Jadavani 提交于
      This patch fixes following issues when HS200 is enabled:
      
      1. If executing_tuning() host ops is called without mmc_host_clk_hold(),
         card clocks might get turned off (if MMC_CLK_GATING is enabled)
         while execute_tuning() is in progress. So this patch makes sure
         that execute_tuning() is called with mmc_host_clk_hold().
      
      2. If host timing mode is set to HS200 mode, there should not be
         any communication with the card until execute_tuning() is completed.
         But there is a chance that CMD6 might be sent to enable set HPI_EN
         (of HPI_MGMT field in EXT_CSD) before execute_tuning() is called.
         So this patch moves this operation after execute_tuning() is completed.
      Signed-off-by: NSubhash Jadavani <subhashj@codeaurora.org>
      Reviewed-by: girish.shivananjappa@linaro.org
      Signed-off-by: NChris Ball <cjb@laptop.org>
      52d0974e
  2. 26 3月, 2012 1 次提交
  3. 05 3月, 2012 1 次提交
  4. 14 2月, 2012 3 次提交
  5. 13 1月, 2012 2 次提交
  6. 12 1月, 2012 3 次提交
  7. 11 12月, 2011 2 次提交
  8. 01 11月, 2011 1 次提交
  9. 27 10月, 2011 15 次提交
  10. 14 8月, 2011 1 次提交
  11. 14 7月, 2011 1 次提交
  12. 26 5月, 2011 1 次提交
    • P
      mmc: core: eMMC bus width may not work on all platforms · 08ee80cc
      Philip Rakity 提交于
      CMD19 -- The offical way to validate bus widths from the JEDEC spec
      does not work on all platforms.  Some platforms that use PCI/PCIe
      to connect their SD controllers are known to fail.
      
      If the quirk MMC_BUS_WIDTH_TEST is not defined we try to figure out
      the bus width by reading the ext_csd at different bus widths and
      compare this against the ext_csd read in 1 bit mode.  If no ext_csd
      is available we default to 1 bit operations.
      
      Code has been tested on mmp2 against 8 bit eMMC and Transcend 2GB
      card that is known to not work in 4 bit mode.  The physical pins
      on the card are not present to support 4 bit operation.
      Signed-off-by: NPhilip Rakity <prakity@marvell.com>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      08ee80cc
  13. 25 5月, 2011 5 次提交
  14. 31 3月, 2011 1 次提交
  15. 17 3月, 2011 1 次提交
  16. 16 3月, 2011 1 次提交
    • C
      mmc: export eMMC4.4 enhanced area details to sysfs · 709de99d
      Chuanxiao Dong 提交于
      Enhanced area feature is a new feature defined in eMMC4.4 standard. This
      user data area provides higher performance/reliability, at the expense
      of using twice the effective media space due to the area using SLC.
      
      The MMC driver now reads out the enhanced area offset and size and adds
      them to the device attributes in sysfs. Enabling the enhanced area can
      only be done once, and should be done in manufacturing. To use this
      feature, bit ERASE_GRP_DEF should also be set.
      
      Documentation/ABI/testing/sysfs-devices-mmc describes the two new
      attributes.
      Signed-off-by: NChuanxiao Dong <chuanxiao.dong@intel.com>
      Reviewed-by: NChris Ball <cjb@laptop.org>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      709de99d