Currently, we cannot specify the regulator suspend state via device tree. Rather than adding suspend state/mode/enable/disable properties add an optional MAX77686 operating mode property which can be used to set the regulator mode initially.
We are currently bypassing the set_suspend_disable and set_suspend_mode call-backs. Please review and suggest improvements. This is based on git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git : for-next merged with git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git : for-next Abhilash Kesavan (3): ARM: DTS: CROS5250: Add regulator operating mode bindings regulator: max77686: Add support for various operating modes dt: Document: Add optional MAX77686 operating mode bindings Documentation/devicetree/bindings/mfd/max77686.txt | 6 +++ arch/arm/boot/dts/cros5250-common.dtsi | 36 ++++++++++++++++++++ drivers/regulator/max77686.c | 11 +++++- include/linux/mfd/max77686.h | 1 + 4 files changed, 53 insertions(+), 1 deletions(-) -- 1.7.8.6 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/