On 19 February 2014 15:22, Russell King - ARM Linux <linux@xxxxxxxxxxxxxxxx> wrote: > Are you aware that power control to the card is part of the MMC/SD/SDIO > spec - and part of the protocol talking to the card? Hence why the > mmc layer has support for its control built-in. Yeah, almost everything is part of the protocol and hence handled by core sdhci.c layer.. We were handling some board specific issues here, that's it. > If you don't want to use a regulator, then the right way to do this is to > use the set_ios callback and check the power field - anything which is not > MMC_POWER_OFF should result in power to the card being turned on. I didn't get that completely here.. sorry completely out of touch on this driver. The power GPIO here is controlling the power to card socket. Once the card is inserted, we need to enable power to the socket so that controller can read back information from card. And this set_ios callback is not available to drivers above sdhci.c, i.e. glues like sdhci-pltfm or spear.. so, how we can we get that back in sdhci-spear.c? Again, I can't test any modifications to this code and we need help from Pratyush/Mohit on this.. -- 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