All of lore.kernel.org
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert+renesas@glider.be>
To: Simon Horman <horms@verge.net.au>,
	Magnus Damm <magnus.damm@gmail.com>,
	Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>,
	Chris Paterson <Chris.Paterson2@renesas.com>,
	Biju Das <biju.das@bp.renesas.com>,
	Ramesh Shanmugasundaram <ramesh.shanmugasundaram@bp.renesas.com>,
	linux-renesas-soc@vger.kernel.org,
	Geert Uytterhoeven <geert+renesas@glider.be>
Subject: [PATCH/RFC 01/11] clk: renesas: r8a7792: Add rwdt clock
Date: Thu,  8 Feb 2018 11:34:07 +0100	[thread overview]
Message-ID: <1518086057-19448-2-git-send-email-geert+renesas@glider.be> (raw)
In-Reply-To: <1518086057-19448-1-git-send-email-geert+renesas@glider.be>

Add "rwdt" clock to r8a7792_mod_clks. Also, since we may need to access
the watchdog registers at any time, declare the clock as critical.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/clk/renesas/r8a7792-cpg-mssr.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/clk/renesas/r8a7792-cpg-mssr.c b/drivers/clk/renesas/r8a7792-cpg-mssr.c
index 7f85bbf20bf782b7..609a540804965c40 100644
--- a/drivers/clk/renesas/r8a7792-cpg-mssr.c
+++ b/drivers/clk/renesas/r8a7792-cpg-mssr.c
@@ -98,6 +98,7 @@ static const struct mssr_mod_clk r8a7792_mod_clks[] __initconst = {
 	DEF_MOD("tpu0",			 304,	R8A7792_CLK_CP),
 	DEF_MOD("sdhi0",		 314,	R8A7792_CLK_SD),
 	DEF_MOD("cmt1",			 329,	R8A7792_CLK_R),
+	DEF_MOD("rwdt",			 402,	R8A7792_CLK_R),
 	DEF_MOD("irqc",			 407,	R8A7792_CLK_CP),
 	DEF_MOD("intc-sys",		 408,	R8A7792_CLK_ZS),
 	DEF_MOD("audio-dmac0",		 502,	R8A7792_CLK_HP),
@@ -154,6 +155,7 @@ static const struct mssr_mod_clk r8a7792_mod_clks[] __initconst = {
 };
 
 static const unsigned int r8a7792_crit_mod_clks[] __initconst = {
+	MOD_CLK_ID(402),	/* RWDT */
 	MOD_CLK_ID(408),	/* INTC-SYS (GIC) */
 };
 
-- 
2.7.4

  reply	other threads:[~2018-02-08 10:34 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-08 10:34 [PATCH/RFC 00/11] ARM: dts: rcar-gen2: Enable watchdog support Geert Uytterhoeven
2018-02-08 10:34 ` Geert Uytterhoeven [this message]
2018-02-12 17:50   ` [PATCH/RFC 01/11] clk: renesas: r8a7792: Add rwdt clock Fabrizio Castro
2018-02-20 12:52     ` Geert Uytterhoeven
2018-02-08 10:34 ` [PATCH/RFC 02/11] ARM: dts: r8a7792: Add RWDT node Geert Uytterhoeven
2018-02-12 17:51   ` Fabrizio Castro
2018-02-08 10:34 ` [PATCH/RFC 03/11] ARM: dts: r8a7793: " Geert Uytterhoeven
2018-02-12 17:52   ` Fabrizio Castro
2018-02-08 10:34 ` [PATCH/RFC 04/11] ARM: dts: lager: Enable watchdog support Geert Uytterhoeven
2018-02-12 17:52   ` Fabrizio Castro
2018-02-08 10:34 ` [PATCH/RFC 05/11] ARM: dts: koelsch: " Geert Uytterhoeven
2018-02-12 17:52   ` Fabrizio Castro
2018-02-08 10:34 ` [PATCH/RFC 06/11] ARM: dts: porter: " Geert Uytterhoeven
2018-02-12 17:53   ` Fabrizio Castro
2018-02-08 10:34 ` [PATCH/RFC 07/11] ARM: dts: blanche: " Geert Uytterhoeven
2018-02-12 17:53   ` Fabrizio Castro
2018-02-08 10:34 ` [PATCH/RFC 08/11] ARM: dts: wheat: " Geert Uytterhoeven
2018-02-12 17:54   ` Fabrizio Castro
2018-02-08 10:34 ` [PATCH/RFC 09/11] ARM: dts: gose: " Geert Uytterhoeven
2018-02-12 17:54   ` Fabrizio Castro
2018-02-08 10:34 ` [PATCH/RFC 10/11] ARM: dts: alt: " Geert Uytterhoeven
2018-02-12 17:55   ` Fabrizio Castro
2018-02-08 10:34 ` [PATCH/RFC 11/11] ARM: dts: silk: " Geert Uytterhoeven
2018-02-12 17:55   ` Fabrizio Castro
2018-02-09 10:11 ` [PATCH/RFC 00/11] ARM: dts: rcar-gen2: " Geert Uytterhoeven
2018-02-14 15:42   ` Geert Uytterhoeven
2018-02-13  8:26 ` Simon Horman

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=1518086057-19448-2-git-send-email-geert+renesas@glider.be \
    --to=geert+renesas@glider.be \
    --cc=Chris.Paterson2@renesas.com \
    --cc=biju.das@bp.renesas.com \
    --cc=fabrizio.castro@bp.renesas.com \
    --cc=horms@verge.net.au \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=ramesh.shanmugasundaram@bp.renesas.com \
    --cc=wsa+renesas@sang-engineering.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.