From: ynezz@true.cz (Petr Štetiar)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3] ARM: ep93xx: use more reliable CPLD watchdog for reset on ts72xx
Date: Tue, 31 May 2011 21:55:13 +0200 [thread overview]
Message-ID: <20110531195513.GL16318@ibawizard.net> (raw)
In-Reply-To: <ADE657CA350FB648AAC2C43247A983F001F381FC498E@AUSP01VMBX24.collaborationhost.net>
H Hartley Sweeten <hartleys@visionengravers.com> [2011-05-31 14:24:04]:
> I pulled out the ts-7200 manual to verify the watchdog reset. Your feeding
> the watchdog then changing the timeout period to 250ms. Without the "else"
> the syscon would have tried to reset the board when the SWRST bit is toggled.
Yep, that missing "else" was a good catch, thanks.
This feed first then set behaviour is "logic", but it's correct (250ms is the
smallest possible value), from that manual:
In order to load the WDT Control register, the WDT must first be ?fed?, and
then within 30 uS, the WDT control register must be written. Writes to this
register without first doing a ?WDT feed?, have no affect.
(Please don't laugh at that 30us constraint).
> I have no way of testing this patch (no ts boards) but as long as Ryan has no
> objections you have my:
I'm using it[1] since 2.6.19-rc6-git10 (maybe earlier). Funny, that I didn't
forget to add that "else" in this old patch.
And as I see it, you and few other guys really deserve some free TS boards for
sure (at least the damn board as a thank you), but Lennert could probably tell
you more about their "we only leech the work from the comunity, but don't give
anything back" attitude...
1. http://ynezz.ibawizard.net/ts72xx/ts72xx_cpld_wdt_reset.diff.gz
> Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Thanks.
-- ynezz
next prev parent reply other threads:[~2011-05-31 19:55 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1306665346-26657-1-git-send-email-ynezz@true.cz>
[not found] ` <1306665346-26657-5-git-send-email-ynezz@true.cz>
2011-05-31 8:47 ` [PATCH 4/4] ARM: ep93xx: use more reliable CPLD watchdog for reset on ts72xx Ryan Mallon
2011-05-31 9:37 ` Petr Štetiar
2011-05-31 16:48 ` H Hartley Sweeten
2011-05-31 18:34 ` [PATCH v2] " Petr Štetiar
2011-05-31 18:39 ` H Hartley Sweeten
2011-05-31 19:02 ` [PATCH v3] " Petr Štetiar
2011-05-31 19:24 ` H Hartley Sweeten
2011-05-31 19:55 ` Petr Štetiar [this message]
2011-05-31 20:02 ` H Hartley Sweeten
2011-05-31 21:42 ` Ryan Mallon
2011-05-31 22:41 ` H Hartley Sweeten
2011-06-03 18:28 ` [PATCH v4] " Petr Štetiar
2011-06-03 18:43 ` Olof Johansson
2011-06-05 7:51 ` Petr Štetiar
2011-06-05 9:54 ` Mika Westerberg
2011-06-05 16:07 ` Petr Štetiar
2011-06-05 18:18 ` Mika Westerberg
2011-08-10 17:45 ` H Hartley Sweeten
2011-06-02 9:54 ` [PATCH v3] " Mika Westerberg
2011-06-02 10:56 ` Petr Štetiar
2011-06-03 18:34 ` Petr Štetiar
[not found] ` <1306665346-26657-4-git-send-email-ynezz@true.cz>
2011-05-31 16:55 ` [PATCH 3/4] ARM: ep93xx: add model detection for ts-7300 and ts-7400 boards H Hartley Sweeten
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=20110531195513.GL16318@ibawizard.net \
--to=ynezz@true.cz \
--cc=linux-arm-kernel@lists.infradead.org \
/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).