All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keerthy <j-keerthy@ti.com>
To: <tony@atomide.com>, <mturquette@baylibre.com>, <sboyd@kernel.org>,
	<t-kristo@ti.com>
Cc: <ssantosh@kernel.org>, <d-gerlach@ti.com>,
	<linux-omap@vger.kernel.org>, <linux-clk@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>, <j-keerthy@ti.com>,
	<russ.dill@ti.com>
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	[thread overview]
Message-ID: <1536043778-2232-1-git-send-email-j-keerthy@ti.com> (raw)

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

WARNING: multiple messages have this Message-ID (diff)
From: Keerthy <j-keerthy@ti.com>
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
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	[thread overview]
Message-ID: <1536043778-2232-1-git-send-email-j-keerthy@ti.com> (raw)

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

WARNING: multiple messages have this Message-ID (diff)
From: j-keerthy@ti.com (Keerthy)
To: linux-arm-kernel@lists.infradead.org
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	[thread overview]
Message-ID: <1536043778-2232-1-git-send-email-j-keerthy@ti.com> (raw)

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

             reply	other threads:[~2018-09-04  6:49 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-04  6:49 Keerthy [this message]
2018-09-04  6:49 ` [PATCH v3 RESEND 0/4] clk: clk: Add functions to save/restore clock context en-masse Keerthy
2018-09-04  6:49 ` Keerthy
2018-09-04  6:49 ` [PATCH v3 RESEND 1/4] " Keerthy
2018-09-04  6:49   ` Keerthy
2018-09-04  6:49   ` Keerthy
2018-09-04  6:49 ` [PATCH v3 RESEND 2/4] clk: clk: Add clk_gate_restore_context function Keerthy
2018-09-04  6:49   ` Keerthy
2018-09-04  6:49   ` Keerthy
2018-09-04  6:49 ` [PATCH v3 RESEND 3/4] clk: ti: Add functions to save/restore clk context Keerthy
2018-09-04  6:49   ` Keerthy
2018-09-04  6:49   ` Keerthy
2018-09-04  6:49 ` [PATCH v3 RESEND 4/4] ti: pm33xx: Save/restore clk context based on enable_off_mode setting Keerthy
2018-09-04  6:49   ` Keerthy
2018-09-04  6:49   ` Keerthy
2018-09-19  7:50 ` [PATCH v3 RESEND 0/4] clk: clk: Add functions to save/restore clock context en-masse Keerthy
2018-09-19  7:50   ` Keerthy
2018-09-19  7:50   ` Keerthy
2018-09-19  9:26   ` Tero Kristo
2018-09-19  9:26     ` Tero Kristo
2018-09-19  9:26     ` Tero Kristo
2018-10-03 12:38 ` Tero Kristo
2018-10-03 12:38   ` Tero Kristo
2018-10-03 12:38   ` Tero Kristo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1536043778-2232-1-git-send-email-j-keerthy@ti.com \
    --to=j-keerthy@ti.com \
    --cc=d-gerlach@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=russ.dill@ti.com \
    --cc=sboyd@kernel.org \
    --cc=ssantosh@kernel.org \
    --cc=t-kristo@ti.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.