Thread (14 messages) 14 messages, 8 authors, 2013-12-11

[PATCH 2/2] mmc: dw_mmc: add dw_mmc-k3 for k3 platform

From: arnd@arndb.de (Arnd Bergmann)
Date: 2013-12-06 01:39:14
Also in: linux-devicetree, linux-mmc

On Friday 08 November 2013, Zhangfei Gao wrote:
Add dw_mmc-k3.c for k3v2, support sd/emmc

Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Tested-by: Zhigang Wang <redacted>
We are currently having the exact same discussion problem on the altera
version of dw_mmc: It seems that all this driver does in addition to the
common code is to have a custom way to set up the card clocks.

In both cases, there is a custom piece of IP logic providing this clock
(here it is in the "hisilicon,pctrl" node). IMHO that should be a proper
clock driver so you can use the existing call to clk_set_rate to set
it up and not need a special platform driver at all.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help