Kuninori Morimoto
89d49a706c
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]
2015-06-01 09:07:10 +02:00
..
2013-05-26 14:23:23 -04:00
2015-03-25 09:46:18 +01:00
2015-05-18 09:04:42 +02:00
2014-10-20 16:20:56 +02:00
2013-10-30 20:26:36 -04:00
2013-10-30 20:26:37 -04:00
2013-06-27 11:13:02 -04:00
2015-06-01 09:06:49 +02:00
2015-06-01 09:07:06 +02:00
2015-03-23 14:13:28 +01:00
2015-06-01 09:07:05 +02:00
2014-09-09 13:59:05 +02:00
2014-11-26 14:31:03 +01:00
2012-11-28 12:28:18 -08:00
2015-06-01 09:07:06 +02:00
2015-06-01 09:07:05 +02:00
2015-06-01 09:07:05 +02:00
2014-09-09 13:59:04 +02:00
2015-06-01 09:06:49 +02:00
2015-04-22 09:04:39 -07:00
2015-03-23 14:13:49 +01:00
2014-09-09 13:58:46 +02:00
2014-09-09 13:58:46 +02:00
2015-03-25 09:46:35 +01:00
2014-07-09 11:25:57 +02:00
2015-02-04 09:42:29 +01:00
2015-01-19 09:56:21 +01:00
2009-03-24 21:30:03 +01:00
2015-06-01 09:07:02 +02:00
2015-06-01 09:06:50 +02:00
2013-08-24 23:45:22 -04:00
2015-03-31 16:50:44 +02:00
2014-09-09 13:59:04 +02:00
2014-09-09 13:59:24 +02:00
2008-01-26 15:07:53 +00:00
2015-06-01 09:06:50 +02:00
2015-06-01 09:06:50 +02:00
2015-06-01 09:06:51 +02:00
2014-07-09 11:26:13 +02:00
2015-06-01 09:06:46 +02:00
2015-03-23 14:13:45 +01:00
2015-03-23 14:13:35 +01:00
2015-03-23 14:13:35 +01:00
2015-03-23 14:13:35 +01:00
2015-03-23 14:13:35 +01:00
2015-06-01 09:07:01 +02:00
2014-05-22 07:26:32 -04:00
2015-03-23 14:13:47 +01:00
2015-03-25 09:46:36 +01:00
2015-06-01 09:06:52 +02:00
2015-06-01 09:06:39 +02:00
2015-03-23 14:13:35 +01:00
2012-01-11 23:58:47 -05:00
2014-11-10 12:40:25 +01:00
2014-05-22 08:40:44 -04:00
2015-04-08 11:55:19 +02:00
2015-01-12 10:14:58 +01:00
2015-03-23 14:13:44 +01:00
2014-01-13 12:48:06 -05:00
2015-06-01 09:06:53 +02:00
2015-06-01 09:06:53 +02:00
2013-04-19 13:51:23 +02:00
2015-06-01 09:06:52 +02:00
2015-06-01 09:06:49 +02:00
2015-03-23 14:13:46 +01:00
2015-06-01 09:07:07 +02:00
2015-04-01 12:56:07 +02:00
2015-06-01 09:07:09 +02:00
2015-06-01 09:06:57 +02:00
2013-10-30 20:28:32 -04:00
2015-06-01 09:07:10 +02:00
2015-03-05 21:54:26 +05:30
2015-03-23 14:13:47 +01:00
2014-09-24 10:13:09 +02:00
2015-03-05 21:54:17 +05:30
2015-06-01 09:06:47 +02:00
2015-06-01 09:06:48 +02:00
2015-03-05 21:54:17 +05:30
2015-01-19 09:56:07 +01:00
2014-11-26 14:30:58 +01:00
2014-10-20 16:20:56 +02:00
2014-02-25 15:42:20 -05:00
2013-10-30 20:28:36 -04:00
2015-01-21 12:02:05 +01:00
2014-10-20 16:20:56 +02:00
2007-07-26 01:53:31 +02:00
2015-03-23 14:13:49 +01:00