msm: lpm_resources: Notify TZ when L2 enters GDHS.
When L2 exists GDHS/PC the ETM trace logic is reset. The ETM trace logic
requires that L2 logic and qdss_at_clk be turned on when it is reset.
Improper resets on the ETM trace logic could prevent a core from
entering any low power modes.When notified of GDHS/L2 off TZ, can bring
the clock on and reset the trace logic to ensure proper reset.
The power management code already notifies TZ when L2 is turned off. Add
another enum to indicate that L2 is entering GDHS.
CRs-fixed: 455824
Change-Id: I4e5a91e64a4816a431c121a175f27e9ceaf620ac
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
1 file changed