]> nv-tegra.nvidia Code Review - linux-3.10.git/commit
regulator: add support for changing control mode of regulator
authorLaxman Dewangan <ldewangan@nvidia.com>
Fri, 14 Dec 2012 06:27:52 +0000 (11:57 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 19:46:44 +0000 (12:46 -0700)
commitdbc1cbcb56b59ec682863954d3739760a2dddd67
tree040fba6e29b46383e01cc66389b33ae63531d48f
parentf9efa3613b9c25677c15a2fa82c2b0d345b0d5e2
regulator: add support for changing control mode of regulator

Some of device supports to control the regulator output to
be set either through register write via I2C or through PWM.
Add supports to switch the mode dynamically.

Change-Id: I3214a6ff89f85592b1ada8e64f0946693ef4f4cc
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/171309
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
drivers/regulator/core.c
include/linux/regulator/consumer.h
include/linux/regulator/driver.h
include/linux/regulator/machine.h