mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] clk: clk: Add functions to save/restore clock context en-masse
@ 2018-06-19  4:28 Keerthy
  2018-06-19  4:28 ` [PATCH 1/4] " Keerthy
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Keerthy @ 2018-06-19  4:28 UTC (permalink / raw)
  To: t-kristo, sboyd, tony
  Cc: linux-omap, linux-clk, linux-kernel, mturquette, d-gerlach, j-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

Keerthy (2):
  clk: clk: Add clk_dflt_restore
  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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-06-19 11:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-19  4:28 [PATCH 0/4] clk: clk: Add functions to save/restore clock context en-masse Keerthy
2018-06-19  4:28 ` [PATCH 1/4] " Keerthy
2018-06-19  4:28 ` [PATCH 2/4] clk: clk: Add clk_dflt_restore Keerthy
2018-06-19  6:06   ` Tero Kristo
2018-06-19 11:13     ` J, KEERTHY
2018-06-19  4:28 ` [PATCH 3/4] clk: ti: Add functions to save/restore clk context Keerthy
2018-06-19  4:28 ` [PATCH 4/4] soc: ti: pm33xx: Save/restore clk context based on enable_off_mode setting Keerthy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®