Re: [PATCH/RFC] mmc: sh_mmcif: Increase MMCIF clock rate to 97.5MHz

Kuninori Morimoto
2014-11-13T00:15:58Z

Hi Kaneko-san

> From: Shinobu Uehara <shinobu.uehara.xc@renesas.com>
>
> Signed-off-by: Shinobu Uehara <shinobu.uehara.xc@renesas.com>
> Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
> ---
(snip)
> + if (np && !of_property_read_u32(np, "renesas,clk-rate", &clk_rate)) {
> + if (clk_rate) {
> + ret = clk_set_rate(host->hclk, clk_rate);
> + if (ret < 0)
> + dev_err(&pdev->dev,
> + "cannot set clock rate: %d\n", ret);
> + }
> + }

I guess this is came from BSP, and you have similar
bindings on sh_mobile_sdhi.c too.
But, we need to use "standard" method, not BSP original

Best regards
---
Kuninori Morimoto