Thread (20 messages) 20 messages, 4 authors, 2015-06-30

Re: [PATCH v3 5/6] ARM: shmobile: lager: Set clock rates for SDHI

From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Date: 2015-06-30 01:45:35
Also in: linux-gpio, linux-mmc

Hi Ben
quoted
quoted
quoted
SH-MMC is using this style. and I think it is flexible for every speed.
Please check sh_mmcif_clock_control(), sh_mmcif_clk_setup()
on ${LINUX}/drivers/mmc/host/sh_mmcif.c
That's certainly a nicer way of doing this.  The difficulty I see is
that tmio_mmc doesn't know anything about the input clock, and not all
of the drivers using it actually use the clock framework.
More importantly, that algrithm can result in overclocking the card.
...and some of the multiplications overflow!
Can you show us more detail ?
It seems bug...

Best regards
---
Kuninori Morimoto
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help