1. 28 12月, 2015 3 次提交
    • L
      mmc: tegra: implement UHS tuning · c3c2384c
      Lucas Stach 提交于
      This implements the UHS tuning sequence in a similar way to the one
      contained in the TRM. It deviates in the way how to check if the tap
      value is passing, by using the common Linux MMC function, which does
      not only check for data CRC errors, but also if the received block
      pattern is correct.
      Signed-off-by: NLucas Stach <dev@lynxeye.de>
      Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
      c3c2384c
    • L
      mmc: tegra: disable SPI_MODE_CLKEN · 74cd42bc
      Lucas Stach 提交于
      The Tegra30 and up TRM states that this bit should always be
      programmed to 0 by driver software.
      Signed-off-by: NLucas Stach <dev@lynxeye.de>
      Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
      74cd42bc
    • L
      mmc: tegra: implement module external clock change · a8e326a9
      Lucas Stach 提交于
      Allow the the driver to change the clock supplied from the CAR directly,
      minimizing the need to divide the clock inside the SDMMC module itself.
      
      This allows for higher clock speeds than the default 48MHz supplied to
      the module and is a prerequisite to support DDR signaling modes, where
      the Tegra host needs to be run with a fixed internal divider of 2 for
      data to be sampled correctly. (Tegra K1 TRM v03p chapter 29.7.1.1)
      
      Also enable the broken preset value quirk as the preset values need to
      be adapted to the changed clocking. While Tegra114+ allows this through
      vendor registers, there is no such way for Tegra30. Takes the easy way
      out  and keep things consistent between the different SoC generations by
      flagging the preset registers as unusable.
      Signed-off-by: NLucas Stach <dev@lynxeye.de>
      Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
      a8e326a9
  2. 22 12月, 2015 2 次提交
  3. 01 4月, 2015 1 次提交
  4. 23 3月, 2015 4 次提交
  5. 29 1月, 2015 1 次提交
  6. 09 9月, 2014 1 次提交
  7. 09 7月, 2014 1 次提交
  8. 23 5月, 2014 2 次提交
  9. 22 5月, 2014 5 次提交
  10. 14 1月, 2014 1 次提交
    • S
      mmc: tegra: add support for Tegra124 · 67debea3
      Stephen Warren 提交于
      Tegra124's MMC controller is very similar to earlier SoC generations,
      and can be supported by the same driver.
      
      However, there are some non-backwards-compatible HW differences, and
      hence a new DT compatible value must be used to describe the HW. This
      patch updates the driver to support that new compatible value.
      
      That said, the HW differences are only relevant when enabling certain
      high-performance transfer modes. Since the driver is currently very
      simple and doesn't enable those modes, we don't actually need to address
      any of these HW differences in the code yet, hence the simple nature of
      this patch.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Reviewed-by: NThierry Reding <treding@nvidia.com>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      67debea3
  11. 27 6月, 2013 1 次提交
  12. 31 5月, 2013 1 次提交
  13. 24 4月, 2013 1 次提交
  14. 23 3月, 2013 2 次提交
  15. 20 3月, 2013 1 次提交
  16. 07 3月, 2013 2 次提交
  17. 25 2月, 2013 2 次提交
  18. 29 11月, 2012 4 次提交
  19. 07 10月, 2012 1 次提交
  20. 14 9月, 2012 1 次提交
  21. 07 9月, 2012 1 次提交
  22. 05 9月, 2012 1 次提交
    • J
      mmc: tegra: convert to device tree support only · b37f9d98
      Joseph Lo 提交于
      When compiling a kernel that supports only Tegra30 and not Tegra20,
      the SDHCI driver will fail to compile since the of_match_device() failure
      fallback code unconditinally references soc_data_tegra20, which is only
      compiled in when Tegra20 support is enabled.
      
      In Kernel 3.7, both Tegra20 and Tegra30 will only support booting using
      device tree, Hence, there is never a need to fall back to using
      soc_data_tegra20 if of_mach_device() fails. Instead, make this case an
      error. This removes the reference to soc_data_tegra20, and hence solves
      the compile failure.
      Signed-off-by: NJoseph Lo <josephl@nvidia.com>
      Tested-by: NStephen Warren <swarren@wwwdotorg.org>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      b37f9d98
  23. 12 6月, 2012 1 次提交