]> git.karo-electronics.de Git - linux-beck.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)
commit1140011ee9d9ca34a2d3e4950c2e6c388188c5e6
tree3613ff3d3923280cea6e00ecb52af0f56ce609d4
parentd58a2ea5cbd64c3bcc9f8a30db9db4d0ef4aaf51
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