From: H Hartley Sweeten <hsweeten@visionengravers.com>
To: linux-watchdog@vger.kernel.org
Cc: H Hartley Sweeten <hsweeten@visionengravers.com>
Subject: [PATCH v2 0/2] watchdog: cleanup ep93xx platform drivers
Date: Mon, 30 Jan 2017 14:01:07 -0700 [thread overview]
Message-ID: <20170130210109.71699-1-hsweeten@visionengravers.com> (raw)
The ep93xx_wdt driver is used by EP93xx based platforms for the internal
watchdog of the EP93xx processor. The TS-72xx platforms have an additional
watchdog provided by the CPLD on those boards.
Cleanup both drivers.
v2: Address issues pointed out by Guenter Roeck
1) leave the 'timeout' module parameter in both drivers
2) use devm_watchdog_register_device() in both drivers
3) use wdd->max_hw_heartbeat_ms in the ts72xx_wdt driver to allow
larger timeouts
The ts72xx_wdt driver does not need to disable the watchdog when the
driver is first probed. It will be disabled by arch_decomp_setup()
before the uncompress of the kernel.
H Hartley Sweeten (2):
watchdog: ep93xx_wdt: cleanup and let the core handle the heartbeat
watchdog: ts72xx_wdt: convert driver to watchdog core
drivers/watchdog/ep93xx_wdt.c | 111 ++++-------
drivers/watchdog/ts72xx_wdt.c | 447 +++++++++---------------------------------
2 files changed, 135 insertions(+), 423 deletions(-)
--
2.10.0
next reply other threads:[~2017-01-30 21:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-30 21:01 H Hartley Sweeten [this message]
2017-01-30 21:01 ` [PATCH v2 1/2] watchdog: ep93xx_wdt: cleanup and let the core handle the heartbeat H Hartley Sweeten
2017-01-31 12:16 ` Guenter Roeck
2017-01-30 21:01 ` [PATCH v2 2/2] watchdog: ts72xx_wdt: convert driver to watchdog core H Hartley Sweeten
2017-01-31 12:25 ` Guenter Roeck
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=20170130210109.71699-1-hsweeten@visionengravers.com \
--to=hsweeten@visionengravers.com \
--cc=linux-watchdog@vger.kernel.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