From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Keerthy To: , , , CC: , , , , , , Subject: [PATCH v3 RESEND 0/4] clk: clk: Add functions to save/restore clock context en-masse Date: Tue, 4 Sep 2018 12:19:34 +0530 Message-ID: <1536043778-2232-1-git-send-email-j-keerthy@ti.com> MIME-Version: 1.0 Content-Type: text/plain List-ID: 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 Resend Series: * Rebased on top of Linux 4.19-rc2 * Added Tony's Ack. 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 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keerthy Subject: [PATCH v3 RESEND 0/4] clk: clk: Add functions to save/restore clock context en-masse Date: Tue, 4 Sep 2018 12:19:34 +0530 Message-ID: <1536043778-2232-1-git-send-email-j-keerthy@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: tony@atomide.com, mturquette@baylibre.com, sboyd@kernel.org, t-kristo@ti.com Cc: d-gerlach@ti.com, j-keerthy@ti.com, russ.dill@ti.com, ssantosh@kernel.org, linux-omap@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org List-Id: linux-omap@vger.kernel.org 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 Resend Series: * Rebased on top of Linux 4.19-rc2 * Added Tony's Ack. 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 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: j-keerthy@ti.com (Keerthy) Date: Tue, 4 Sep 2018 12:19:34 +0530 Subject: [PATCH v3 RESEND 0/4] clk: clk: Add functions to save/restore clock context en-masse Message-ID: <1536043778-2232-1-git-send-email-j-keerthy@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 Resend Series: * Rebased on top of Linux 4.19-rc2 * Added Tony's Ack. 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 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