mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-03 21:49:32 +00:00
1) Don't assert prochot by default, this signal has an inverter and driving it high is asserting prochot until it gets deasserted during S3->S0 transition. 2) Clear PMIC power source interrupts in pmic_init in case they were inadvertently set by misbehaving PMIC. The BATTSHORT event that matters for PROCHOT assertion is masked so it should never be set anyway, but I found a system where it was set. This register does not seem to get cleared by an LDO reset so PROCHOT was stuck on until battery cutoff. BUG=b:63913242 BRANCH=eve TEST=manual testing on Eve unit Change-Id: I5c7f7ca528160972f65bd714deea98357fa43a53 Signed-off-by: Duncan Laurie <dlaurie@google.com> Reviewed-on: https://chromium-review.googlesource.com/579904 Reviewed-by: Furquan Shaikh <furquan@chromium.org>