aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorLina Iyer <[email protected]>2022-10-18 17:28:33 +0200
committerBjorn Andersson <[email protected]>2022-11-09 21:14:21 -0600
commit25092e6100acd7fcc72deed2583e63db683bb872 (patch)
tree3a67c095901c61a2d0513ca725fb136851dda1a9 /drivers/fpga/fpga-mgr.c
parent144560b070121d7b368a3c8da60c3c84484fc218 (diff)
soc: qcom: rpmh-rsc: Attach RSC to cluster PM domain
RSC is part the CPU subsystem and powers off the CPU domains when all the CPUs and no RPMH transactions are pending from any of the drivers. The RSC needs to flush the 'sleep' and 'wake' votes that are critical for saving power when all the CPUs are in idle. Let's make RSC part of the CPU PM domains, by attaching it to the cluster power domain. Registering for PM domain notifications, RSC driver can be notified that the last CPU is powering down. When the last CPU is powering down the domain, let's flush the 'sleep' and 'wake' votes that are stored in the data buffers into the hardware and also write next wakeup in CONTROL_TCS. Signed-off-by: Lina Iyer <[email protected]> Signed-off-by: Maulik Shah <[email protected]> Reviewed-by: Ulf Hansson <[email protected]> Tested-by: Dmitry Baryshkov <[email protected]> # SM8450 Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions