]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-pxav3: Modify clock settings for the SDR50 and DDR50 modes
authorMarcin Wojtas <mw@semihalf.com>
Thu, 29 Jan 2015 11:36:27 +0000 (12:36 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 29 Jan 2015 12:08:46 +0000 (13:08 +0100)
commita28ca1c3d817e6fe2a7cb1d3f8292bc0fba92628
tree3613ff3d3923280cea6e00ecb52af0f56ce609d4
parentdad3b716c4b2dd3a6baa27b322bd86fafd54242d
mmc: sdhci-pxav3: Modify clock settings for the SDR50 and DDR50 modes

According to erratum 'FE-2946959' both SDR50 and DDR50 modes require
specific clock adjustments in SDIO3 Configuration register.

This commit add the support of this register and for SDR50 or DDR50
mode use it as suggested by the erratum:
- Set the SDIO3 Clock Inv field in SDIO3 Configuration register to not
inverted.
- Set the Sample FeedBack Clock field to 0x1

[gregory.clement@free-electrons.com: port from 3.10]

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pxav3.c