On Tue, Jul 01, 2014 at 12:02:25AM -0700, Bing Zhao wrote: > Hi James, > > > 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? > > Yes, device tree is better for defining clocks/GPIO/regulators, etc. > But I guess the reset logic (making use of these definitions) cannot > be device tree? I think the reset logic can exist, but does nothing unless the device tree definitions are present. -- James Cameron http://quozl.linux.org.au/ -- 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