From: Krzysztof Kozlowski Date: Wed, 29 Oct 2014 11:14:52 +0000 (+0100) Subject: regulator: max77686: Add suspend disable for some LDOs X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~23^2~2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78ce612860ce80edbec9171b4a786ce131a9631c;p=pandora-kernel.git regulator: max77686: Add suspend disable for some LDOs Some LDOs of Maxim 77686 PMIC support disabling during system suspend (LDO{2,6,7,8,10,11,12,14,15,16}). This was already implemented as part of set_suspend_mode function. In that case the mode was one of: - disable, - normal mode, - low power mode. However there are no bindings for setting the mode during suspend. Add suspend disable for LDO regulators supporting this. Re-use existing max77686_buck_set_suspend_disable() function. This helps reducing energy consumption during system sleep. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Javier Martinez Canillas Signed-off-by: Mark Brown --- Reading git-diff-tree failed