diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-03-29 10:47:36 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-03-29 12:06:24 +0100 |
commit | cee1a799eb044657922c4d63003d7bf71f8c8b8d (patch) | |
tree | c3b5b304a90b68c8ad61231789e1535b98fdbe16 /include | |
parent | e841a36abb0f95ea356d52e4386b8e8f762e9c40 (diff) | |
download | kernel_goldelico_gta04-cee1a799eb044657922c4d63003d7bf71f8c8b8d.zip kernel_goldelico_gta04-cee1a799eb044657922c4d63003d7bf71f8c8b8d.tar.gz kernel_goldelico_gta04-cee1a799eb044657922c4d63003d7bf71f8c8b8d.tar.bz2 |
regulator: Only update [LDOx|DCx]_HIB_MODE bits in wm8350_[ldo|dcdc]_set_suspend_disable
What we want is to disable output by setting [LDOx|DCx]_HIB_MODE bits.
Current code also clears other bits in LDOx/DCDCx Low Power register.
R202 (CAh) LDO1 Low Power
BIT[13:12] LDO1 Hibernate behaviour:
00 = Select voltage image settings
01 = disable output
10 = reserved
11 = reserved
R182 (B6h) DCDC1 Low Power
BIT[14:12] DC-DC1 Hibernate behaviour:
000 = Use current settings (no change)
001 = Select voltage image settings
010 = Force standby mode
011 = Force standby mode and voltage image settings.
100 = Force LDO mode
101 = Force LDO mode and voltage image settings.
110 = Reserved.
111 = Disable output
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions