To: | Paul Cercueil <paul@crapouillou.net> |
---|---|
Subject: | Re: [PATCH 5/7] MIPS: jz4780: dts: Fix watchdog node |
From: | Mathieu Malaterre <malat@debian.org> |
Date: | Thu, 28 Dec 2017 18:33:39 +0100 |
Cc: | Ralf Baechle <ralf@linux-mips.org>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Wim Van Sebroeck <wim@iguana.be>, Guenter Roeck <linux@roeck-us.net>, devicetree@vger.kernel.org, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org |
Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=HyLY9+B4w7fbm8EGHEMapQYPRyiB/P+wwXfHM+8dpMU=; b=UKRvuUgrSi/LXfslgPGsQ0j/744WN6yK9aNsfZUreRD7zseOGy7YXrh6qaIJX9wxSB tCM0n2VnJR/Xnt5g8KhngheoI8co22ozpUfOk1/gArpnRSuRt9eKcrCoGL7xSG4XytoG SMovK5pGdRrXkNFDm6XLo8LZX//MWcnmY+23ra3NrA095vXb9eh/IWjsA2oZf1tjXLqn mMVVRWXHl4daHZPdwm/wGD/xx9Up1jpBo3VDUZp1nVgAauLndeP82JlE63IsEH3NGy3O 8LSaULrJUlFaominBRBXobTH7Uf3wymKh3/+eaSxFJ70bvWeHg0+G2i8J8E1lMp4j393 VJrA== |
In-reply-to: | <20171228162939.3928-6-paul@crapouillou.net> |
List-archive: | <http://www.linux-mips.org/archives/linux-mips/> |
List-help: | <mailto:ecartis@linux-mips.org?Subject=help> |
List-id: | linux-mips <linux-mips.eddie.linux-mips.org> |
List-owner: | <mailto:ralf@linux-mips.org> |
List-post: | <mailto:linux-mips@linux-mips.org> |
List-software: | Ecartis version 1.0.0 |
List-subscribe: | <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips> |
List-unsubscribe: | <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips> |
Original-recipient: | rfc822;linux-mips@linux-mips.org |
References: | <20171228162939.3928-1-paul@crapouillou.net> <20171228162939.3928-6-paul@crapouillou.net> |
Sender: | linux-mips-bounce@linux-mips.org |
Hi Paul, On Thu, Dec 28, 2017 at 5:29 PM, Paul Cercueil <paul@crapouillou.net> wrote: > - The previous node requested a memory area of 0x100 bytes, while the > driver only manipulates four registers present in the first 0x10 bytes. > > - The driver requests for the "rtc" clock, but the previous node did not > provide any. > > Signed-off-by: Paul Cercueil <paul@crapouillou.net> > --- > arch/mips/boot/dts/ingenic/jz4780.dtsi | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/arch/mips/boot/dts/ingenic/jz4780.dtsi > b/arch/mips/boot/dts/ingenic/jz4780.dtsi > index 9b5794667aee..a52f59bf58c7 100644 > --- a/arch/mips/boot/dts/ingenic/jz4780.dtsi > +++ b/arch/mips/boot/dts/ingenic/jz4780.dtsi > @@ -221,7 +221,10 @@ > > watchdog: watchdog@10002000 { > compatible = "ingenic,jz4780-watchdog"; > - reg = <0x10002000 0x100>; > + reg = <0x10002000 0x10>; > + > + clocks = <&cgu JZ4780_CLK_RTCLK>; > + clock-names = "rtc"; > }; > > nemc: nemc@13410000 { > -- > 2.11.0 > > Looks good, thanks for fixing my mess. Tested on MIPS Creator CI20: Dec 28 17:27:50 ci20 watchdog[17531]: starting daemon (5.14): Dec 28 17:27:50 ci20 watchdog[17531]: int=1s realtime=yes sync=no soft=no mla=0 mem=0 Dec 28 17:27:50 ci20 watchdog[17531]: ping: no machine to check Dec 28 17:27:50 ci20 watchdog[17531]: file: no file to check Dec 28 17:27:50 ci20 watchdog[17531]: pidfile: no server process to check Dec 28 17:27:50 ci20 watchdog[17531]: interface: no interface to check Dec 28 17:27:50 ci20 watchdog[17531]: temperature: no sensors to check Dec 28 17:27:50 ci20 watchdog[17531]: test=none(0) repair=none(0) alive=/dev/watchdog heartbeat=none to=root no_act=no force=no Dec 28 17:27:50 ci20 watchdog[17531]: watchdog now set to 60 seconds Dec 28 17:27:50 ci20 watchdog[17531]: hardware watchdog identity: jz4740 Watchdog pkill + reboot = ok Reviewed-by: Mathieu Malaterre <malat@debian.org> |
Previous by Date: | [PATCH 3.16 177/204] MIPS: AR7: Ensure that serial ports are properly set up, Ben Hutchings |
---|---|
Next by Date: | Re: [PATCH 2/7] watchdog: jz4740: Use devm_* functions, Guenter Roeck |
Previous by Thread: | [PATCH 5/7] MIPS: jz4780: dts: Fix watchdog node, Paul Cercueil |
Next by Thread: | [PATCH 4/7] MIPS: jz4740: dts: Add bindings for the jz4740-wdt driver, Paul Cercueil |
Indexes: | [Date] [Thread] [Top] [All Lists] |