]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4c509ac74e5b1c8e2f5b6bef44c1bb79dc1b05df
treeca57661d48a35e7b5d8bef501f09b2bbfa18205d
parentf030a7bb7b1f7de16c1c716a587185e209e25800
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