From a8ab50ee77d004e4a00cd6280cc1b542e57054b1 Mon Sep 17 00:00:00 2001 From: Zoltan HERPAI Date: Thu, 6 Mar 2014 00:09:30 +0000 Subject: sunxi: driver refresh for 3.13 - update gmac / mmc / usb / ahci drivers to follow mainline dev trees - add driver for spi - update clock support - update a31 support - move to new DT compats where appropriate - re-order patchqueue where needed - verified working a20 smp - move most DTSes off files/ - update defconfig Signed-off-by: Zoltan HERPAI git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39782 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches-3.13/170-4-mmc-stop-claiming-UHS.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 target/linux/sunxi/patches-3.13/170-4-mmc-stop-claiming-UHS.patch (limited to 'target/linux/sunxi/patches-3.13/170-4-mmc-stop-claiming-UHS.patch') diff --git a/target/linux/sunxi/patches-3.13/170-4-mmc-stop-claiming-UHS.patch b/target/linux/sunxi/patches-3.13/170-4-mmc-stop-claiming-UHS.patch new file mode 100644 index 0000000000..2ff34be50c --- /dev/null +++ b/target/linux/sunxi/patches-3.13/170-4-mmc-stop-claiming-UHS.patch @@ -0,0 +1,32 @@ +From 3ec947a9717509e204c7f09609717951beb7ef04 Mon Sep 17 00:00:00 2001 +From: Hans de Goede +Date: Mon, 17 Feb 2014 17:11:58 +0100 +Subject: [PATCH] sunxi-mmc: Stop claiming UHS modes + +UHS requires a regulator to set the signaling voltage, as well as special +code to handle the signal voltage switching. We've never added the code +for this from the android driver to the upstream driver, so stop claiming +support for this. + +Signed-off-by: Hans de Goede +--- + drivers/mmc/host/sunxi-mmc.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/drivers/mmc/host/sunxi-mmc.c b/drivers/mmc/host/sunxi-mmc.c +index c1a9d8a..2eaed10 100644 +--- a/drivers/mmc/host/sunxi-mmc.c ++++ b/drivers/mmc/host/sunxi-mmc.c +@@ -803,8 +803,7 @@ static int sunxi_mmc_probe(struct platform_device *pdev) + mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34; + + mmc->caps = MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED | +- MMC_CAP_UHS_SDR12 | MMC_CAP_UHS_SDR25 | MMC_CAP_UHS_SDR50 | +- MMC_CAP_UHS_DDR50 | MMC_CAP_SDIO_IRQ | MMC_CAP_DRIVER_TYPE_A; ++ MMC_CAP_SDIO_IRQ; + mmc->caps2 = MMC_CAP2_NO_PRESCAN_POWERUP; + + ret = mmc_add_host(mmc); +-- +1.8.5.5 + -- cgit v1.2.3