Hi,
On 12/15/2013 10:19 PM, David Lanzendörfer wrote:
[...]
Do you have something like this in mind? ->
drivers/mmc/host/dw_mmc-exynos.c
No, as explained in my previous mail the idmac being shared seemed to be the
only 2 things the dw-mmc controller and the sunxi-mmc controller have in
common.
Ok.
Looking at dw_mmc-exynos.c it still pretty much is the classic dw-mmc
controller with some extra bits, where as the sunxi controller is
significantly different (which allows us to write a significant simpler
driver).
Do you have an outline for such a driver as you imagine it?
I'd be interested into some "experiments".
Maybe you have a repository where you could push a dedicated tree
for some colaboration on this?
I think that we're miss-communicating a bit here. What I'm trying to say
is that trying to extend the dw_mmc driver to support sunxi is a bad
idea because the sunxi hardware is quite different. And that the
sunxi hardware having autostop allows the existing sunxi-mci driver to
be much simpler then the dw-mmc driver.
IOW the much simpler driver already exists and it is the sunxi-mci
driver.
Regards,
Hans
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html