soc: ti: omap-prm: Allow hardware supported retention when idle
authorTony Lindgren <tony@atomide.com>
Mon, 8 Mar 2021 09:35:08 +0000 (11:35 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 10 Mar 2021 11:59:17 +0000 (13:59 +0200)
commitbc0b964da3f692a08f648f0dac328785ada38f68
tree2d3249c1fa16741e34753afd1df2480db187d4ad
parenta15de032a72d511431294331f4bb47245f18b801
soc: ti: omap-prm: Allow hardware supported retention when idle

When moving the l4 interconnect instances to probe with simple-pm-bus and
genpd, we will have l4per and core domains stop idling unless we configure
the domain bits to allow retention when idle.

As the TI SoCs have hardware autoidle capabilities, this is safe to do.
The domains will only enter retention on WFI when none of the devices on
the domain block autoidle in the hardware. This follows what we are
already currently doing.

Cc: Santosh Shilimkar <ssantosh@kernel.org>
Cc: Tero Kristo <kristo@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/soc/ti/omap_prm.c