bus: ti-sysc: Add quirk handling for reinit on context lost
authorTony Lindgren <tony@atomide.com>
Tue, 21 Sep 2021 09:42:25 +0000 (12:42 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 21 Sep 2021 09:42:28 +0000 (12:42 +0300)
commit9d881361206ebcf6285c2ec2ef275aff80875347
tree44e1edec38164f612e322d6fc063f9f8838bc22a
parent95ec14faac6a44bd233c54666722ef75b2276512
bus: ti-sysc: Add quirk handling for reinit on context lost

Some interconnect target modules such as otg and gpmc on am335x need a
re-init after resume. As we also have PM runtime cases where the context
may be lost, let's handle these all with cpu_pm.

For the am335x resume path, we already have cpu_pm_resume() call
cpu_pm_cluster_exit().

Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/bus/ti-sysc.c
include/linux/platform_data/ti-sysc.h