summaryrefslogtreecommitdiff
path: root/drivers/mmc/core
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2015-05-14 10:22:46 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2015-06-01 10:07:10 +0300
commit89d49a706ca417c55c046d2580403be578cadaab (patch)
tree68cc0721a6767f91f8e9e700b2e140deefbdd324 /drivers/mmc/core
parent1b1a694d53cbe42eba4feb260eba4acc316c44f0 (diff)
downloadlinux-89d49a706ca417c55c046d2580403be578cadaab.tar.xz
mmc: sh_mmcif: calculate best clock with parent clock
MMCIF IP on R-Car series has parent clock which can be set several rate, and it was not implemented on old SH-Mobile series (= SH-Mobile series parent clock was fixed rate) R-Car series MMCIF can use more high speed access if it setups parent clock. This patch adds parent clock setup method. It will be used if DT has "max-frequency", and then, this driver assumes it is booted on R-Car Gen2 or later SoC. Because SH-Mobile series (which doesn't boot from DT) and R-Car series (which boots from DT) have different divider. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Tested-by: Keita Kobayashi <keita.kobayashi.ym@renesas.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> [Ulf: Silence compiler warning]
Diffstat (limited to 'drivers/mmc/core')
0 files changed, 0 insertions, 0 deletions