On Tue, Jul 1, 2014 at 12:27 PM, James Cameron <quozl@xxxxxxxxxx> wrote: > On Mon, Jun 30, 2014 at 11:44:29PM -0700, Bing Zhao wrote: >> I may have missed something, but doesn't the MMC_POWER_OFF and >> MMC_POWER_ON|UP handling in controller driver help? >> Anyway the clocks/GPIOs/regulators are sort of platform >> dependent. Would it be better putting it in /arch/arm/mach-xxxxx/? > > Wouldn't device tree for mmc be better? I have come across same problem.Below is the thread in which more discussions happened on this. http://patchwork.ozlabs.org/patch/312444/ I am adding few more those who are interested in this solution. > > -- > James Cameron > http://quozl.linux.org.au/ > -- > 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 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html