mmc: Support sdmmc/uart_dbg auto switch
authorlintao <lintao@rock-chips.com>
Fri, 10 Oct 2014 01:44:02 +0000 (09:44 +0800)
committerlintao <lintao@rock-chips.com>
Fri, 10 Oct 2014 01:56:24 +0000 (09:56 +0800)
commit47f217c4eab8cbeaf943800170877a32664a4085
tree22ae06af2e4cf754d18c59b0d612a1be454c8943
parent4ec5756cd5319a1723198fdc14486a5b6149e7b9
mmc: Support sdmmc/uart_dbg auto switch

     Add pinctrl-names "udbg" in sdmmc blob, and drivers auto
switch io useage by card-detect tasklet routine. Only audi series need
it indeed now and ever.

Signed-off-by: lintao <lintao@rock-chips.com>
Acked-by: lw <lw@rock-chips.com>
Cc: phc <phc@rock-chips.com>
arch/arm/boot/dts/rk3036.dtsi
arch/arm/boot/dts/rk312x.dtsi
drivers/mmc/host/rk_sdmmc.c
include/linux/mmc/rk_mmc.h