summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorThéo Lebrun <theo.lebrun@bootlin.com>2024-04-25 17:32:38 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2024-07-15 13:31:39 +0200
commit854a8e208c26b60708785d4ef8d5cf8ee014335a (patch)
tree17f75211f1c8e5112fa4d1af38dc8ba3c331c04c /tools/perf/scripts/python/call-graph-from-postgresql.py
parentf996e2b17a30c2919ed018d3902d1e633ae40ab2 (diff)
thermal/drivers/k3_j72xx_bandgap: Implement suspend/resume support
This add suspend-to-ram support. The derived_table is kept-as is, so the resume is only about pm_runtime_* calls and restoring the same registers as the probe. Extract the hardware initialization procedure to a function called at both probe-time & resume-time. The probe-time loop is split in two to ensure doing the hardware initialization before registering thermal zones. That ensures our callbacks cannot be called while in bad state. The 100ms delay in the hardware initialization sequence was removed. It was initially added to be sure the thresholds are programmed before enabling the interrupt, but in fact it's not needed (tested on J7200 platform). Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com> Acked-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Thomas Richard <thomas.richard@bootlin.com> Link: https://lore.kernel.org/r/20240425153238.498750-1-thomas.richard@bootlin.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions