From: Adrian Hunter Date: Mon, 15 Feb 2010 18:03:34 +0000 (-0800) Subject: omap_hsmmc: Allow for a shared VccQ X-Git-Tag: v2.6.34-rc1~230^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0eb2424469ec2333885672d3db8bd07d322455d;p=pandora-kernel.git omap_hsmmc: Allow for a shared VccQ EMMC can have two voltage supplies, Vcc and VccQ which are implemented in the code as consumer supplies vmmc and vmmc_aux. If the regulator that supplies vmmc_aux is shared with other consumers, then sending it to sleep will disrupt those consumers. However, the TWL4030-family regulators may have OFF remapped to SLEEP, in which case 'regulator_disable()' will put the regulator to sleep only when all consumers are disabled - which is the desired behaviour. This patch adds a platform data field to allow that option. Signed-off-by: Adrian Hunter Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed