diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2015-05-14 07:22:46 +0000 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-06-01 09:07:10 +0200 |
commit | 89d49a706ca417c55c046d2580403be578cadaab (patch) | |
tree | 68cc0721a6767f91f8e9e700b2e140deefbdd324 /include/linux/pti.h | |
parent | 1b1a694d53cbe42eba4feb260eba4acc316c44f0 (diff) | |
download | blackbird-op-linux-89d49a706ca417c55c046d2580403be578cadaab.tar.gz blackbird-op-linux-89d49a706ca417c55c046d2580403be578cadaab.zip |
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 'include/linux/pti.h')
0 files changed, 0 insertions, 0 deletions