diff options
author | Yongqiang Niu <yongqiang.niu@mediatek.com> | 2022-12-15 10:28:05 +0300 |
---|---|---|
committer | Jassi Brar <jaswinder.singh@linaro.org> | 2022-12-19 05:40:30 +0300 |
commit | 7abd037aa581dcdc16c30ebdea758a4e3877f8e1 (patch) | |
tree | 8796f6c207b5b1228315a3a1fdbf54d8988a9e23 /drivers/thermal/k3_bandgap.c | |
parent | 63f40a7f5dbdb70f8574754475346a9e72ccef6c (diff) | |
download | linux-7abd037aa581dcdc16c30ebdea758a4e3877f8e1.tar.xz |
mailbox: mtk-cmdq: add gce ddr enable support flow
add gce ddr enable control flow when gce suspend/resume
when all cmdq instruction task has been processed done,
we need set this gce ddr enable to disable status to tell
cmdq hardware gce there is none task need process, and the hardware
can go into idle mode and no access ddr anymore, then the spm can go
into suspend.
the original issue is gce still access ddr when cmdq suspend function
call, but there is no task run.
so, we need control gce access ddr with this flow.
when cmdq suspend function, there is no task need process, we can
disable gce access ddr, to make sure system go into suspend success.
Signed-off-by: Yongqiang Niu <yongqiang.niu@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: CK Hu <ck.hu@mediatek.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'drivers/thermal/k3_bandgap.c')
0 files changed, 0 insertions, 0 deletions