mirror of
https://github.com/CTCaer/switch-l4t-atf.git
synced 2025-01-10 12:51:24 +00:00
cb790c5e48
This patch adds PM handlers to TLKD for the system suspend/resume and system poweroff/reset cases. TLK expects all SMCs through a single handler, which then fork out into multiple handlers depending on the SMC. We tap into the same single entrypoint by restoring the S-EL1 context before passing the PM event via register 'x0'. On completion of the PM event, TLK sends a completion SMC and TLKD then moves on with the PM process. Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> |
||
---|---|---|
.. | ||
payloads | ||
tsp |