OSDN Git Service

mmc: sdhci-of-esdhc: limit SD clock for ls1012a/ls1046a
authoryangbo lu <yangbo.lu@nxp.com>
Thu, 20 Apr 2017 06:58:29 +0000 (14:58 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 24 Mar 2018 10:00:17 +0000 (11:00 +0100)
commitff3d5600e2e6240869dd73e4c205108d672db7d7
treec6dee4e9e6b252bdd6a05f93d2050c1866a92908
parent92db807f6c2e2a05f00689ca7f23351400abf541
mmc: sdhci-of-esdhc: limit SD clock for ls1012a/ls1046a

[ Upstream commit a627f025eb0534052ff451427c16750b3530634c ]

The ls1046a datasheet specified that the max SD clock frequency
for eSDHC SDR104/HS200 was 167MHz, and the ls1012a datasheet
specified it's 125MHz for ls1012a. So this patch is to add the
limitation.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/sdhci-of-esdhc.c