regulator: tps51632: add support for change control mode
authorLaxman Dewangan <ldewangan@nvidia.com>
Fri, 14 Dec 2012 06:30:27 +0000 (11:30 +0530)
committerSimone Willett <swillett@nvidia.com>
Thu, 20 Dec 2012 23:03:55 +0000 (15:03 -0800)
commit4274f7b8af6a97fbda84ec4ffc6a779b1e4a0ff1
treec07e5847f572b0bcf39bb47c41b34a678c75e3c7
parentd9bdf71b4a13858efaf9668dadc7bb63fb2fb031
regulator: tps51632: add support for change control mode

TPS51632 output can be control through register write via i2c or
through input pwm signal.
Adding support for switching the control mode to I2C or PWM
dynamically.

Change-Id: I57d72eff5c819a2b84f25ba82482bb9723c2c452
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/171310
Reviewed-on: http://git-master/r/172701
drivers/regulator/tps51632-regulator.c