Re: [PATCH] clk: Add functions to save and restore clock/dpll context en-masse

2017-05-04 Thread Tero Kristo
On 03/05/17 21:52, Russell King - ARM Linux wrote: On Tue, Apr 18, 2017 at 10:42:49AM +0530, Keerthy wrote: From: Russ Dill The clock/dpll registers are in the WKUP power domain. Under both RTC-only suspend and hibernation, these registers are lost. Hence save/restore them

Re: [PATCH] clk: Add functions to save and restore clock/dpll context en-masse

2017-05-04 Thread Tero Kristo
On 03/05/17 21:52, Russell King - ARM Linux wrote: On Tue, Apr 18, 2017 at 10:42:49AM +0530, Keerthy wrote: From: Russ Dill The clock/dpll registers are in the WKUP power domain. Under both RTC-only suspend and hibernation, these registers are lost. Hence save/restore them accordingly. This

Re: [PATCH] clk: Add functions to save and restore clock/dpll context en-masse

2017-05-04 Thread Keerthy
On Thursday 04 May 2017 01:47 PM, Tero Kristo wrote: > On 04/05/17 10:51, Peter De Schrijver wrote: >> On Tue, Apr 18, 2017 at 10:42:49AM +0530, Keerthy wrote: >>> From: Russ Dill >>> >>> The clock/dpll registers are in the WKUP power domain. Under both >>> RTC-only >>>

Re: [PATCH] clk: Add functions to save and restore clock/dpll context en-masse

2017-05-04 Thread Keerthy
On Thursday 04 May 2017 01:47 PM, Tero Kristo wrote: > On 04/05/17 10:51, Peter De Schrijver wrote: >> On Tue, Apr 18, 2017 at 10:42:49AM +0530, Keerthy wrote: >>> From: Russ Dill >>> >>> The clock/dpll registers are in the WKUP power domain. Under both >>> RTC-only >>> suspend and hibernation,

Re: [PATCH] clk: Add functions to save and restore clock/dpll context en-masse

2017-05-04 Thread Tero Kristo
On 04/05/17 10:51, Peter De Schrijver wrote: On Tue, Apr 18, 2017 at 10:42:49AM +0530, Keerthy wrote: From: Russ Dill The clock/dpll registers are in the WKUP power domain. Under both RTC-only suspend and hibernation, these registers are lost. Hence save/restore them

Re: [PATCH] clk: Add functions to save and restore clock/dpll context en-masse

2017-05-04 Thread Tero Kristo
On 04/05/17 10:51, Peter De Schrijver wrote: On Tue, Apr 18, 2017 at 10:42:49AM +0530, Keerthy wrote: From: Russ Dill The clock/dpll registers are in the WKUP power domain. Under both RTC-only suspend and hibernation, these registers are lost. Hence save/restore them accordingly. This

Re: [PATCH] clk: Add functions to save and restore clock/dpll context en-masse

2017-05-04 Thread Peter De Schrijver
On Tue, Apr 18, 2017 at 10:42:49AM +0530, Keerthy wrote: > From: Russ Dill > > The clock/dpll registers are in the WKUP power domain. Under both RTC-only > suspend and hibernation, these registers are lost. Hence save/restore > them accordingly. > This won't work for Tegra,

Re: [PATCH] clk: Add functions to save and restore clock/dpll context en-masse

2017-05-04 Thread Peter De Schrijver
On Tue, Apr 18, 2017 at 10:42:49AM +0530, Keerthy wrote: > From: Russ Dill > > The clock/dpll registers are in the WKUP power domain. Under both RTC-only > suspend and hibernation, these registers are lost. Hence save/restore > them accordingly. > This won't work for Tegra, because we need a 2

Re: [PATCH] clk: Add functions to save and restore clock/dpll context en-masse

2017-05-03 Thread Russell King - ARM Linux
On Tue, Apr 18, 2017 at 10:42:49AM +0530, Keerthy wrote: > From: Russ Dill > > The clock/dpll registers are in the WKUP power domain. Under both RTC-only > suspend and hibernation, these registers are lost. Hence save/restore > them accordingly. This looks like a huge hammer,

Re: [PATCH] clk: Add functions to save and restore clock/dpll context en-masse

2017-05-03 Thread Russell King - ARM Linux
On Tue, Apr 18, 2017 at 10:42:49AM +0530, Keerthy wrote: > From: Russ Dill > > The clock/dpll registers are in the WKUP power domain. Under both RTC-only > suspend and hibernation, these registers are lost. Hence save/restore > them accordingly. This looks like a huge hammer, and I think this

Re: [PATCH] clk: Add functions to save and restore clock/dpll context en-masse

2017-04-25 Thread Keerthy
On Tuesday 18 April 2017 08:30 PM, Tero Kristo wrote: > On 18/04/17 08:12, Keerthy wrote: >> From: Russ Dill >> >> The clock/dpll registers are in the WKUP power domain. Under both >> RTC-only >> suspend and hibernation, these registers are lost. Hence save/restore >> them

Re: [PATCH] clk: Add functions to save and restore clock/dpll context en-masse

2017-04-25 Thread Keerthy
On Tuesday 18 April 2017 08:30 PM, Tero Kristo wrote: > On 18/04/17 08:12, Keerthy wrote: >> From: Russ Dill >> >> The clock/dpll registers are in the WKUP power domain. Under both >> RTC-only >> suspend and hibernation, these registers are lost. Hence save/restore >> them accordingly. >> >>

Re: [PATCH] clk: Add functions to save and restore clock/dpll context en-masse

2017-04-18 Thread Tero Kristo
On 18/04/17 08:12, Keerthy wrote: From: Russ Dill The clock/dpll registers are in the WKUP power domain. Under both RTC-only suspend and hibernation, these registers are lost. Hence save/restore them accordingly. Signed-off-by: Russ Dill Signed-off-by:

Re: [PATCH] clk: Add functions to save and restore clock/dpll context en-masse

2017-04-18 Thread Tero Kristo
On 18/04/17 08:12, Keerthy wrote: From: Russ Dill The clock/dpll registers are in the WKUP power domain. Under both RTC-only suspend and hibernation, these registers are lost. Hence save/restore them accordingly. Signed-off-by: Russ Dill Signed-off-by: Keerthy I think the core support

[PATCH] clk: Add functions to save and restore clock/dpll context en-masse

2017-04-17 Thread Keerthy
From: Russ Dill The clock/dpll registers are in the WKUP power domain. Under both RTC-only suspend and hibernation, these registers are lost. Hence save/restore them accordingly. Signed-off-by: Russ Dill Signed-off-by: Keerthy ---

[PATCH] clk: Add functions to save and restore clock/dpll context en-masse

2017-04-17 Thread Keerthy
From: Russ Dill The clock/dpll registers are in the WKUP power domain. Under both RTC-only suspend and hibernation, these registers are lost. Hence save/restore them accordingly. Signed-off-by: Russ Dill Signed-off-by: Keerthy --- drivers/clk/clk.c| 70