diff options
author | Tony Lindgren <tony@atomide.com> | 2021-09-21 12:42:25 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2021-09-21 12:42:28 +0300 |
commit | 9d881361206ebcf6285c2ec2ef275aff80875347 (patch) | |
tree | 44e1edec38164f612e322d6fc063f9f8838bc22a /include/linux/platform_data | |
parent | 95ec14faac6a44bd233c54666722ef75b2276512 (diff) | |
download | linux-9d881361206ebcf6285c2ec2ef275aff80875347.tar.xz |
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>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r-- | include/linux/platform_data/ti-sysc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/ti-sysc.h b/include/linux/platform_data/ti-sysc.h index 9837fb011f2f..989aa30c598d 100644 --- a/include/linux/platform_data/ti-sysc.h +++ b/include/linux/platform_data/ti-sysc.h @@ -50,6 +50,7 @@ struct sysc_regbits { s8 emufree_shift; }; +#define SYSC_QUIRK_REINIT_ON_CTX_LOST BIT(28) #define SYSC_QUIRK_REINIT_ON_RESUME BIT(27) #define SYSC_QUIRK_GPMC_DEBUG BIT(26) #define SYSC_MODULE_QUIRK_ENA_RESETDONE BIT(25) |