regulator: bd71837: Disable voltage monitoring for LDO3/4
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Wed, 29 Aug 2018 12:36:10 +0000 (15:36 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 29 Aug 2018 14:07:18 +0000 (15:07 +0100)
commit823f18f8b860526fc099c222619a126d57d2ad8c
treeca57661d48a35e7b5d8bef501f09b2bbfa18205d
parent5b394b2ddf0347bef56e50c69a58773c94343ff3
regulator: bd71837: Disable voltage monitoring for LDO3/4

There is a HW quirk in BD71837. The shutdown sequence timings for
bucks/LDOs which are enabled via register interface are changed.
At PMIC poweroff the voltage for BUCK6/7 is cut immediately at the
beginning of shut-down sequence. This causes LDO5/6 voltage
monitoring to detect under voltage and force PMIC to emergency
state instead of poweroff. Disable voltage monitoring for LDO5 and
LDO6 at probe to avoid this.

Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
drivers/regulator/bd71837-regulator.c
include/linux/mfd/rohm-bd718x7.h