Re: [PATCH 05/14] ARM: OMAP2: Add functions to save and restore powerdomain context

2018-04-12 Thread Tony Lindgren
* Keerthy [180412 03:56]: > From: Russ Dill > --- a/arch/arm/mach-omap2/powerdomain.c > +++ b/arch/arm/mach-omap2/powerdomain.c > @@ -1199,3 +1199,63 @@ bool pwrdm_can_ever_lose_context(struct powerdomain > *pwrdm) > > return 0; > } > + > +/** > + *

Re: [PATCH 05/14] ARM: OMAP2: Add functions to save and restore powerdomain context

2018-04-12 Thread Tony Lindgren
* Keerthy [180412 03:56]: > From: Russ Dill > --- a/arch/arm/mach-omap2/powerdomain.c > +++ b/arch/arm/mach-omap2/powerdomain.c > @@ -1199,3 +1199,63 @@ bool pwrdm_can_ever_lose_context(struct powerdomain > *pwrdm) > > return 0; > } > + > +/** > + * pwrdm_save_context - save

[PATCH 05/14] ARM: OMAP2: Add functions to save and restore powerdomain context

2018-04-11 Thread Keerthy
From: Russ Dill The powerdomain control registers are stored in the WKUP powerdomain on AM33XX/AM43XX, which is lost on RTC-only suspend and also hibernate. This adds context save and restore functions for those registers. Sometimes the powerdomain state does not need to

[PATCH 05/14] ARM: OMAP2: Add functions to save and restore powerdomain context

2018-04-11 Thread Keerthy
From: Russ Dill The powerdomain control registers are stored in the WKUP powerdomain on AM33XX/AM43XX, which is lost on RTC-only suspend and also hibernate. This adds context save and restore functions for those registers. Sometimes the powerdomain state does not need to change, perhaps we only