diff options
author | Brian Norris <[email protected]> | 2017-06-15 12:37:31 -0700 |
---|---|---|
committer | Florian Fainelli <[email protected]> | 2017-09-25 11:46:48 -0700 |
commit | 0b741b8234c86065fb6954d32d427b3f7e14756f (patch) | |
tree | 1c72f51ff869ecef858ede9fffb582494bdd7e9d /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 9600c2340ded841076367cc78fdd2b65e1cf8ed8 (diff) |
soc: bcm: brcmstb: Add support for S2/S3/S5 suspend states (ARM)
This commit adds support for the Broadcom STB S2/S3/S5 suspend states on
ARM based SoCs.
This requires quite a lot of code in order to deal with the different HW
blocks that need to be quiesced during suspend:
- DDR PHY SHIM
- DDR memory controller and sequencer
- control processor
The final steps of the suspend execute in an on-chip SRAM and there is a
little bit of assembly code in order to shut down the DDR PHY PLL and
then go into a wfi loop until a wake-up even occurs. Conversely the
resume part involves waiting for the DDR PHY PLL to come back up and
resume executions where we left.
For S3, because of our memory hashing (actual hashing code not included
for simplicity, and is bypassed) we need to relocate the writable
variables (stack) into SRAM shortly before suspending in order to leave
the DRAM untouched and create a reliable hash of its contents.
This code has been contributed by Brian Norris initially and has been
incrementally fixed and updated to support new chips by a lot of people.
Signed-off-by: Brian Norris <[email protected]>
Signed-off-by: Markus Mayer <[email protected]>
Signed-off-by: Justin Chen <[email protected]>
Signed-off-by: Gareth Powell <[email protected]>
Signed-off-by: Doug Berger <[email protected]>
Signed-off-by: Florian Fainelli <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions