num-slots = <1>;
supports-highspeed;
broken-cd;
+ card-detect-delay = <200>;
+ pwr-gpios = <&gpio3 GPIO_A1 GPIO_ACTIVE_LOW>; /*pwr_en = GPIO3_A1*/
fifo-depth = <0x80>;
mmc,caps = <(MMC_CAP_4_BIT_DATA | MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED)>;
mmc,ocr = <(MMC_VDD_25_26 | MMC_VDD_26_27 | MMC_VDD_27_28 | MMC_VDD_28_29 |
obj-$(CONFIG_MMC_CB710) += cb710-mmc.o
obj-$(CONFIG_MMC_VIA_SDMMC) += via-sdmmc.o
obj-$(CONFIG_SDH_BFIN) += bfin_sdh.o
-obj-$(CONFIG_MMC_DW) += dw_mmc.o
+
+#obj-$(CONFIG_MMC_DW) += dw_mmc.o
+obj-$(CONFIG_MMC_DW) += rk_sdmmc.o
+
obj-$(CONFIG_MMC_DW_PLTFM) += dw_mmc-pltfm.o
-# added by XBW to Specific Extensions for Synopsys DW Multimedia Card Interface in Rockchip Soc.
-obj-$(CONFIG_MMC_DW_RK) += dw_mmc-rockchip.o rk_sdmmc_of.o
+# To Specific Extensions for Synopsys DW Multimedia Card Interface in Rockchip Soc. Added by XBW.
+obj-$(CONFIG_MMC_DW_ROCKCHIP) += dw_mmc-rockchip.o rk_sdmmc_of.o
obj-$(CONFIG_MMC_DW_EXYNOS) += dw_mmc-exynos.o
obj-$(CONFIG_MMC_DW_PCI) += dw_mmc-pci.o
#include <linux/of.h>
#include <linux/of_gpio.h>
-#include "dw_mmc.h"
+#include "rk_sdmmc.h"
#include "dw_mmc-pltfm.h"
#include "rk_sdmmc_of.h"
module_platform_driver(dw_mci_rockchip_pltfm_driver);
MODULE_DESCRIPTION("Rockchip Specific DW-SDMMC Driver Extension");
-MODULE_AUTHOR("Bangwang Xie < xbw@rock-chips.com");
+MODULE_AUTHOR("Bangwang Xie < xbw@rock-chips.com>");
MODULE_LICENSE("GPL v2");
MODULE_ALIAS("platform:dwmmc-rockchip");