Re: [PATCH v3 0/4] clk: clk: Add functions to save/restore clock context en-masse

2018-08-13 Thread Tero Kristo

On 10/07/18 08:56, Tony Lindgren wrote:

* Keerthy  [180621 01:18]:

Deep enough power saving mode can result into losing context of the clock
registers also, and they need to be restored once coming back from the power
saving mode. Hence add functions to save/restore clock context.


Patches 1 to 3 look good to me:

Acked-by: Tony Lindgren 

Stephen, if no more comments, can you please set up an immutable
branch for me as otherwise the last patch might cause merge
conflicts?

Regards,

Tony



Stephen, Mike,

Any concerns about this series? This series touches core clock APIs 
slightly, but from my side these look fine. Do you want to pick #1-#3 up 
yourself or do you want me to setup a pull-req? Patch #4 seems like 
should go in via Tony's tree.


-Tero
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. 
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki


Re: [PATCH v3 0/4] clk: clk: Add functions to save/restore clock context en-masse

2018-08-13 Thread Tero Kristo

On 10/07/18 08:56, Tony Lindgren wrote:

* Keerthy  [180621 01:18]:

Deep enough power saving mode can result into losing context of the clock
registers also, and they need to be restored once coming back from the power
saving mode. Hence add functions to save/restore clock context.


Patches 1 to 3 look good to me:

Acked-by: Tony Lindgren 

Stephen, if no more comments, can you please set up an immutable
branch for me as otherwise the last patch might cause merge
conflicts?

Regards,

Tony



Stephen, Mike,

Any concerns about this series? This series touches core clock APIs 
slightly, but from my side these look fine. Do you want to pick #1-#3 up 
yourself or do you want me to setup a pull-req? Patch #4 seems like 
should go in via Tony's tree.


-Tero
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. 
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki


Re: [PATCH v3 0/4] clk: clk: Add functions to save/restore clock context en-masse

2018-07-09 Thread Tony Lindgren
* Keerthy  [180621 01:18]:
> Deep enough power saving mode can result into losing context of the clock
> registers also, and they need to be restored once coming back from the power
> saving mode. Hence add functions to save/restore clock context.

Patches 1 to 3 look good to me:

Acked-by: Tony Lindgren 

Stephen, if no more comments, can you please set up an immutable
branch for me as otherwise the last patch might cause merge
conflicts?

Regards,

Tony


Re: [PATCH v3 0/4] clk: clk: Add functions to save/restore clock context en-masse

2018-07-09 Thread Tony Lindgren
* Keerthy  [180621 01:18]:
> Deep enough power saving mode can result into losing context of the clock
> registers also, and they need to be restored once coming back from the power
> saving mode. Hence add functions to save/restore clock context.

Patches 1 to 3 look good to me:

Acked-by: Tony Lindgren 

Stephen, if no more comments, can you please set up an immutable
branch for me as otherwise the last patch might cause merge
conflicts?

Regards,

Tony


[PATCH v3 0/4] clk: clk: Add functions to save/restore clock context en-masse

2018-06-21 Thread Keerthy
Deep enough power saving mode can result into losing context of the clock
registers also, and they need to be restored once coming back from the power
saving mode. Hence add functions to save/restore clock context.

Tested for DS0 on am437x-gp-evm

Based on top of linux-next

Changes in v2:

* Renamed clk_dflt_restore to clk_gate_restore_context

Changes in v3: Corrected the e-mail address of linux-omap list

Keerthy (2):
  clk: clk: Add clk_gate_restore_context function
  soc: ti: pm33xx: Save/restore clk context based on enable_off_mode
setting

Russ Dill (2):
  clk: clk: Add functions to save/restore clock context en-masse
  clk: ti: Add functions to save/restore clk context

 arch/arm/mach-omap2/pm33xx-core.c|  15 +
 drivers/clk/clk.c|  93 ++
 drivers/clk/ti/clock.h   |   2 +
 drivers/clk/ti/divider.c |  36 ++
 drivers/clk/ti/dpll.c|   6 ++
 drivers/clk/ti/dpll3xxx.c| 124 +++
 drivers/clk/ti/gate.c|   3 +
 drivers/clk/ti/mux.c |  29 
 drivers/soc/ti/pm33xx.c  |  13 
 include/linux/clk-provider.h |   9 +++
 include/linux/clk.h  |  25 +++
 include/linux/clk/ti.h   |   6 ++
 include/linux/platform_data/pm33xx.h |   1 +
 13 files changed, 362 insertions(+)

-- 
1.9.1



[PATCH v3 0/4] clk: clk: Add functions to save/restore clock context en-masse

2018-06-21 Thread Keerthy
Deep enough power saving mode can result into losing context of the clock
registers also, and they need to be restored once coming back from the power
saving mode. Hence add functions to save/restore clock context.

Tested for DS0 on am437x-gp-evm

Based on top of linux-next

Changes in v2:

* Renamed clk_dflt_restore to clk_gate_restore_context

Changes in v3: Corrected the e-mail address of linux-omap list

Keerthy (2):
  clk: clk: Add clk_gate_restore_context function
  soc: ti: pm33xx: Save/restore clk context based on enable_off_mode
setting

Russ Dill (2):
  clk: clk: Add functions to save/restore clock context en-masse
  clk: ti: Add functions to save/restore clk context

 arch/arm/mach-omap2/pm33xx-core.c|  15 +
 drivers/clk/clk.c|  93 ++
 drivers/clk/ti/clock.h   |   2 +
 drivers/clk/ti/divider.c |  36 ++
 drivers/clk/ti/dpll.c|   6 ++
 drivers/clk/ti/dpll3xxx.c| 124 +++
 drivers/clk/ti/gate.c|   3 +
 drivers/clk/ti/mux.c |  29 
 drivers/soc/ti/pm33xx.c  |  13 
 include/linux/clk-provider.h |   9 +++
 include/linux/clk.h  |  25 +++
 include/linux/clk/ti.h   |   6 ++
 include/linux/platform_data/pm33xx.h |   1 +
 13 files changed, 362 insertions(+)

-- 
1.9.1