diff options
author | Tony Lindgren <tony@atomide.com> | 2021-08-09 18:27:47 +0200 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@oracle.com> | 2021-08-11 00:51:22 +0200 |
commit | ed4520d6a10bbc1d6fdebf325f0395995ce634cf (patch) | |
tree | 1e8f4c9f9160591f39284279a0a09a705ad220ef /include/uapi | |
parent | soc: ti: pruss: Enable support for ICSSG subsystems on K3 AM64x SoCs (diff) | |
download | linux-ed4520d6a10bbc1d6fdebf325f0395995ce634cf.tar.xz linux-ed4520d6a10bbc1d6fdebf325f0395995ce634cf.zip |
soc: ti: Remove pm_runtime_irq_safe() usage for smartreflex
For the smartreflex device, we need to disable smartreflex on SoC idle,
and have been using pm_runtime_irq_safe() to do that. But we want to
remove the irq_safe usage as PM runtime takes a permanent usage count
on the parent device with it.
In order to remove the need for pm_runtime_irq_safe(), let's gate
the clock directly in the driver. This removes the need to call PM runtime
during idle, and allows us to switch to using CPU_PM in the following
patch.
Note that the smartreflex interconnect target module is configured for smart
idle, but the clock does not have autoidle capability, and needs to be gated
manually. If the clock supported autoidle, we would not need to even gate
the clock.
With this change, we can now remove the related quirk flags for ti-sysc
also.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions