power: qpnp-fg-gen3: Disable FG during TWM entry

To save power disable FG during TWM entry. Identify
TWM entry via the TWM notifier and disable FG in the
shutdown callback if TWM entry is requested.

Add a DT property "qcom,fg-disable-in-twm" to enable
this feature.

Change-Id: I6eaea1838d3ad9161fd0529c79dd528f5d4bcbe0
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
5 files changed