From: Ulrich Hecht <uli+renesas@fpond.eu>
To: linux-renesas-soc@vger.kernel.org
Cc: wsa@the-dreams.de, geert@linux-m68k.org,
fabrizio.castro@bp.renesas.com,
ramesh.shanmugasundaram@bp.renesas.com, magnus.damm@gmail.com,
Ulrich Hecht <uli+renesas@fpond.eu>
Subject: [PATCH v2 0/3] clk: renesas: cpg-mssr: add ignore-unused option
Date: Mon, 16 Mar 2020 17:34:36 +0100 [thread overview]
Message-ID: <1584376479-25258-1-git-send-email-uli+renesas@fpond.eu> (raw)
Hi!
This revision renames the data structure holding the ignore-unused clocks to
something hopefully less confusing, squashes the changes for R-Car Gen3 and
RZ/G2 into one patch each and removes redundant debug output. Functionally,
nothing has changed. Thanks to Wolfram and Geert for the review!
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 Gen2 and RZ/G1 SoCs that have the RWDT clock declared
as critical in order to allow SMP bringup code to work. These have been
left as they are.
CU
Uli
Ulrich Hecht (3):
clk: renesas: cpg-mssr: add support for ignore-unused clocks
clk: renesas: rcar-gen3: mark RWDT clocks as ignore-unused
clk: renesas: rzg2: 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 | 5 +++++
drivers/clk/renesas/renesas-cpg-mssr.h | 9 +++++++++
12 files changed, 64 insertions(+), 5 deletions(-)
--
2.7.4
next reply other threads:[~2020-03-16 16:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-16 16:34 Ulrich Hecht [this message]
2020-03-16 16:34 ` [PATCH v2 1/3] clk: renesas: cpg-mssr: add support for ignore-unused clocks Ulrich Hecht
2020-03-16 16:34 ` [PATCH v2 2/3] clk: renesas: rcar-gen3: mark RWDT clocks as ignore-unused Ulrich Hecht
2020-03-16 16:34 ` [PATCH v2 3/3] clk: renesas: rzg2: mark RWDT clock " Ulrich Hecht
2020-03-18 13:47 ` [PATCH v2 0/3] clk: renesas: cpg-mssr: add ignore-unused option Wolfram Sang
2020-03-18 19:33 ` Wolfram Sang
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=1584376479-25258-1-git-send-email-uli+renesas@fpond.eu \
--to=uli+renesas@fpond.eu \
--cc=fabrizio.castro@bp.renesas.com \
--cc=geert@linux-m68k.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=ramesh.shanmugasundaram@bp.renesas.com \
--cc=wsa@the-dreams.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).