All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/11] clk: renesas: cpg-mssr: add ignore-unused option
@ 2020-02-26 20:28 Ulrich Hecht
  2020-02-26 20:28 ` [PATCH 01/11] clk: renesas: cpg-mssr: add support for ignore-unused clocks Ulrich Hecht
                   ` (12 more replies)
  0 siblings, 13 replies; 15+ messages in thread
From: Ulrich Hecht @ 2020-02-26 20:28 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: wsa, geert, fabrizio.castro, ramesh.shanmugasundaram,
	magnus.damm, Ulrich Hecht

Hi!

This series adds the option for declaring clocks as "ignore-unused", i.e. 
clocks that will not be turned on if not used, but also not turned off if
unused. It also enables this option for the RWDT clocks in (almost) all
SoCs.

The point of this is to allow a WDT that has been enabled by the bootloader
to survive these events:

- deferred probing of the WDT device, which can lead the clock driver
  to disable the WDT clock until the WDT is re-probed, giving it a
  blind spot
- probe failure in the WDT driver

There are a number of SoCs that have the RWDT clock already declared as
critical (i.e. turn it on even if it is off _and_ unused). I don't know if
that is because there was no option for ignore-unused before, or if the
behavior of turning the clock on even if neither the bootloader nor anything
in the kernel has asked for it is actually desired. If it's the former,
these SoCs also have to be converted to the new mechanism.

CU
Uli


Ulrich Hecht (11):
  clk: renesas: cpg-mssr: add support for ignore-unused clocks
  clk: renesas: r8a7796: mark RWDT clock as ignore-unused
  clk: renesas: r8a7795: mark RWDT clock as ignore-unused
  clk: renesas: r8a77970: mark RWDT clock as ignore-unused
  clk: renesas: r8a77980: mark RWDT clock as ignore-unused
  clk: renesas: r8a77995: mark RWDT clock as ignore-unused
  clk: renesas: r8a774a1: mark RWDT clock as ignore-unused
  clk: renesas: r8a774b1: mark RWDT clock as ignore-unused
  clk: renesas: r8a774c0: mark RWDT clock as ignore-unused
  clk: renesas: r8a77965: mark RWDT clock as ignore-unused
  clk: renesas: r8a77990: mark RWDT clock as ignore-unused

 drivers/clk/renesas/r8a774a1-cpg-mssr.c | 5 +++++
 drivers/clk/renesas/r8a774b1-cpg-mssr.c | 5 +++++
 drivers/clk/renesas/r8a774c0-cpg-mssr.c | 5 +++++
 drivers/clk/renesas/r8a7795-cpg-mssr.c  | 6 +++++-
 drivers/clk/renesas/r8a7796-cpg-mssr.c  | 6 +++++-
 drivers/clk/renesas/r8a77965-cpg-mssr.c | 5 +++++
 drivers/clk/renesas/r8a77970-cpg-mssr.c | 6 +++++-
 drivers/clk/renesas/r8a77980-cpg-mssr.c | 6 +++++-
 drivers/clk/renesas/r8a77990-cpg-mssr.c | 5 +++++
 drivers/clk/renesas/r8a77995-cpg-mssr.c | 6 +++++-
 drivers/clk/renesas/renesas-cpg-mssr.c  | 7 +++++++
 drivers/clk/renesas/renesas-cpg-mssr.h  | 7 +++++++
 12 files changed, 64 insertions(+), 5 deletions(-)

-- 
2.7.4


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

end of thread, other threads:[~2020-03-03 16:13 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-26 20:28 [PATCH 00/11] clk: renesas: cpg-mssr: add ignore-unused option Ulrich Hecht
2020-02-26 20:28 ` [PATCH 01/11] clk: renesas: cpg-mssr: add support for ignore-unused clocks Ulrich Hecht
2020-03-03 16:13   ` Wolfram Sang
2020-02-26 20:28 ` [PATCH 02/11] clk: renesas: r8a7796: mark RWDT clock as ignore-unused Ulrich Hecht
2020-02-26 20:28 ` [PATCH 03/11] clk: renesas: r8a7795: " Ulrich Hecht
2020-02-26 20:28 ` [PATCH 04/11] clk: renesas: r8a77970: " Ulrich Hecht
2020-02-26 20:28 ` [PATCH 05/11] clk: renesas: r8a77980: " Ulrich Hecht
2020-02-26 20:28 ` [PATCH 06/11] clk: renesas: r8a77995: " Ulrich Hecht
2020-02-26 20:28 ` [PATCH 07/11] clk: renesas: r8a774a1: " Ulrich Hecht
2020-02-26 20:28 ` [PATCH 08/11] clk: renesas: r8a774b1: " Ulrich Hecht
2020-02-26 20:28 ` [PATCH 09/11] clk: renesas: r8a774c0: " Ulrich Hecht
2020-02-26 20:28 ` [PATCH 10/11] clk: renesas: r8a77965: " Ulrich Hecht
2020-02-26 20:28 ` [PATCH 11/11] clk: renesas: r8a77990: " Ulrich Hecht
2020-02-27 14:29 ` [PATCH 00/11] clk: renesas: cpg-mssr: add ignore-unused option Geert Uytterhoeven
2020-03-03 16:05 ` Wolfram Sang

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.