OpenCloudOS-Kernel/drivers/soc/ti
Tony Lindgren ed4520d6a1 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>
2021-08-10 15:51:22 -07:00
..
Kconfig soc: ti: Kconfig: Drop ARM64 SoC specific configs 2020-11-21 19:22:01 -08:00
Makefile ARM: SoC-related driver updates 2020-10-24 10:39:22 -07:00
k3-ringacc.c soc: ti: k3-ringacc: Use of_device_get_match_data() 2021-01-31 20:58:49 -08:00
k3-socinfo.c soc: ti: k3-socinfo: Add entry for AM64X SoC family 2020-11-01 19:38:05 -08:00
knav_dma.c soc: ti: knav_qmss: Put refcount for dev node in failure case 2021-01-24 20:51:36 -08:00
knav_qmss.h soc: ti: Replace zero-length array with flexible-array 2020-06-15 23:08:32 -05:00
knav_qmss_acc.c soc: TI knav_qmss: make symbol 'knav_acc_range_ops' static 2020-07-24 14:47:10 -07:00
knav_qmss_queue.c soc: ti: knav_qmss: Put refcount for dev node in failure case 2021-01-24 20:51:36 -08:00
omap_prm.c soc: ti: omap-prm: Allow hardware supported retention when idle 2021-03-10 13:59:17 +02:00
pm33xx.c soc: ti: pm33xx: Fix some resource leak in the error handling paths of the probe function 2021-01-24 20:51:36 -08:00
pruss.c soc: ti: pruss: Enable support for ICSSG subsystems on K3 AM64x SoCs 2021-08-10 15:51:22 -07:00
smartreflex.c soc: ti: Remove pm_runtime_irq_safe() usage for smartreflex 2021-08-10 15:51:22 -07:00
ti_sci_inta_msi.c soc: ti: ti_sci_inta_msi: Add support for second range in resource ranges 2020-11-01 19:38:00 -08:00
ti_sci_pm_domains.c soc: ti: ti_sci_pm_domains: check for proper args count in xlate 2020-10-29 22:13:38 +01:00
wkup_m3_ipc.c soc: ti: wkup_m3_ipc: Remove redundant error printing in wkup_m3_ipc_probe() 2021-06-04 13:04:13 -07:00