commit | 121e09cee054c1b820bb3dcf63cf7f0060b78116 | [log] [tgz] |
---|---|---|
author | Anirudh Ghayal <aghayal@codeaurora.org> | Sat Mar 31 10:50:28 2018 +0530 |
committer | Anirudh Ghayal <aghayal@codeaurora.org> | Wed Apr 11 09:24:05 2018 +0530 |
tree | 2eaa60a15fe432c87ac7e95535b18293efac8046 | |
parent | 3716ba4329371466e638326f7189a7f41051967c [diff] |
power: qpnp-qg: Update PON_OCV and GOOD_OCV handling The QG HW state machine based on the reset / PON conditions updates the PON SOC at different HW registers. Add the SW logic to read the PON SOC from LAST_S3 / SDAM / S7_PON registers. While at it, enable the GOOD_OCV IRQ only when APPS is not in sleep. Change-Id: I1083fe96865c52820a1212882121b4c7f7c8db63 Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>