diff options
author | Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> | 2018-11-07 15:41:26 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-11-13 16:27:05 -0800 |
commit | e770b18bbbaecebfb37389b45bf82974a17488d7 (patch) | |
tree | 0d084d887d50d30aa96a5db438614724bf12a028 /arch/sh/kernel/asm-offsets.c | |
parent | ef4de050b4c796ef13421032403ad986c00423d3 (diff) |
regulator: bd718x7: Change next state after poweroff to ready
BD71837 and BD71847 have a HW functionality which leave power
rails OFF after powerof state:
- if they have been controlled by SW.
- if state transition from poweroff is done to SNVS
BD71837 can after reset transition from power-off to SNVS or
READY state depending on reset reason. By default only wathcdog
reset changes state from poweroff to ready. Change PMIC
configuration to always transition to READY in order to avoid
crucial power rails being OFF after reset.
If SNVS is required the crucial power rails should not be
controlled by SW - eg corresponding regulator control register
should have SEL bit kept zero. Currently the driver assumes all
regulators to be controlled by SW so it sets all SEL bits to 1.
Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch/sh/kernel/asm-offsets.c')
0 files changed, 0 insertions, 0 deletions