From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: [RFC 28/37] clk: renesas: r8a7790: Add rwdt clock Date: Fri, 26 Jan 2018 11:25:15 +0100 Message-ID: References: <1516903391-30467-1-git-send-email-fabrizio.castro@bp.renesas.com> <1516903391-30467-29-git-send-email-fabrizio.castro@bp.renesas.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: <1516903391-30467-29-git-send-email-fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> Sender: linux-watchdog-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Fabrizio Castro Cc: Philipp Zabel , Rob Herring , Mark Rutland , Wim Van Sebroeck , Russell King , Catalin Marinas , Will Deacon , Michael Turquette , Stephen Boyd , Simon Horman , Magnus Damm , Geert Uytterhoeven , Guenter Roeck , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Watchdog Mailing List , Linux-Renesas , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.orglinux-clk List-Id: devicetree@vger.kernel.org On Thu, Jan 25, 2018 at 7:03 PM, Fabrizio Castro wrote: > Add "rwdt" clock to r8a7790_mod_clks. Also, since we may need to access > the watchdog registers at any time, declare the clock as critical. > > Signed-off-by: Fabrizio Castro > Signed-off-by: Ramesh Shanmugasundaram With the critical clock handling removed (that can be done by the driver, if really needed) Reviewed-by: Geert Uytterhoeven > --- a/drivers/clk/renesas/r8a7790-cpg-mssr.c > +++ b/drivers/clk/renesas/r8a7790-cpg-mssr.c > @@ -140,6 +140,7 @@ static const struct mssr_mod_clk r8a7790_mod_clks[] __initconst = { > DEF_MOD("cmt1", 329, R8A7790_CLK_R), > DEF_MOD("usbhs-dmac0", 330, R8A7790_CLK_HP), > DEF_MOD("usbhs-dmac1", 331, R8A7790_CLK_HP), > + DEF_MOD("rwdt", 402, R8A7790_CLK_R), > DEF_MOD("irqc", 407, R8A7790_CLK_CP), > DEF_MOD("intc-sys", 408, R8A7790_CLK_ZS), > DEF_MOD("audio-dmac1", 501, R8A7790_CLK_HP), > @@ -211,6 +212,7 @@ static const struct mssr_mod_clk r8a7790_mod_clks[] __initconst = { > }; > > static const unsigned int r8a7790_crit_mod_clks[] __initconst = { > + MOD_CLK_ID(402), /* RWDT */ > MOD_CLK_ID(408), /* INTC-SYS (GIC) */ > }; Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html