mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kumar Gala <galak@kernel.crashing.org>
To: Jochen Friedrich <jochen@scram.de>
Cc: wim@iguana.be, Scott Wood <scottwood@freescale.com>,
	linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH/RFCv2] wdt: Add support for PowerQUICC watchdog
Date: Thu, 17 Jan 2008 08:31:26 -0600	[thread overview]
Message-ID: <A00FB5AE-903B-461A-B234-4BA817B3C5CB@kernel.crashing.org> (raw)
In-Reply-To: <478F4E4A.4060907@scram.de>


On Jan 17, 2008, at 6:47 AM, Jochen Friedrich wrote:

> The PowerQUICC series has a watchdog which can be activated by the  
> boot
> loader and then needs to be reset in regular intervals. Once the
> watchdog is enabled, it can't be disabled anymore. This patch adds
> support for this kind of watchdog. An early init function is  
> provided to
> manually reset the watchdog in early board setup. Later, a kernel  
> timer
> is used to reset the watchdog until the watchdog driver is opened from
> user space. This replaces mpc8xx_wdt.c (only usable for ARCH=ppc) and
> mpc83xx_wdt.c (untested on this platform).

Why are you commenting on mpc83xx_wdt with respect to pq1_wdt?

Also, is this driver just for PQ1 platforms or PQ1 & PQ2?  If its just  
pq1 we should probably call it pq1_wdt*

> Signed-off-by: Jochen Friedrich <jochen@scram.de>
> ---
> arch/powerpc/platforms/8xx/mpc86xads_setup.c |    5 +
> arch/powerpc/platforms/8xx/mpc885ads_setup.c |    5 +
> arch/powerpc/sysdev/Makefile                 |    3 +
> arch/powerpc/sysdev/pq_wdt.c                 |  203 +++++++++++++++++ 
> ++++++
> arch/powerpc/sysdev/pq_wdt.h                 |   28 ++++
> drivers/watchdog/Kconfig                     |   13 ++-
> drivers/watchdog/Makefile                    |    1 +
> drivers/watchdog/pq_wdt.c                    |  225 +++++++++++++++++ 
> +++++++++
> 8 files changed, 482 insertions(+), 1 deletions(-)
> create mode 100644 arch/powerpc/sysdev/pq_wdt.c
> create mode 100644 arch/powerpc/sysdev/pq_wdt.h
> create mode 100644 drivers/watchdog/pq_wdt.c

What are the bits in sysdev/pq_wdt.{c,h}.  Why aren't these just in  
drivers/watchdog?

- k

  reply	other threads:[~2008-01-17 14:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-17 12:47 Jochen Friedrich
2008-01-17 14:31 ` Kumar Gala [this message]
2008-01-17 14:55   ` Jochen Friedrich
2008-01-17 15:11     ` Kumar Gala

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=A00FB5AE-903B-461A-B234-4BA817B3C5CB@kernel.crashing.org \
    --to=galak@kernel.crashing.org \
    --cc=jochen@scram.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=scottwood@freescale.com \
    --cc=wim@iguana.be \
    /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

all inboxes | Powered by JetHome®