[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130503155927.GA8695@roeck-us.net>
Date: Fri, 3 May 2013 08:59:27 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Dirk Eibach <dirk.eibach@...ys.cc>
Cc: linux-kernel@...r.kernel.org,
Kumar Gala <galak@...nel.crashing.org>,
Wim Van Sebroeck <wim@...ana.be>,
linux-watchdog@...r.kernel.org, devicetree-discuss@...ts.ozlabs.org
Subject: Re: [PATCH] powerpc: Make Book E watchdog reset type configurable
On Fri, May 03, 2013 at 10:33:13AM +0200, Dirk Eibach wrote:
> Hi Guenter,
>
> >>>>diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
> >>>>index e89fc31..6048593 100644
> >>>>--- a/drivers/watchdog/Kconfig
> >>>>+++ b/drivers/watchdog/Kconfig
> >>>>@@ -1172,6 +1172,38 @@ config BOOKE_WDT_DEFAULT_TIMEOUT
> >>>>
> >>>> The value can be overridden by the wdt_period command-line
> >>>>parameter.
> >>>>
> >>>>+choice
> >>>>+ prompt "PowerPC Book-E Watchdog reset type"
> >>>>+ depends on BOOKE_WDT
> >>>>+ default BOOKE_WDT_RESET_CHIP
> >>>>+ help
> >>>>+ Specify what kind of reset will be executed on watchdog
> >>>>timeout.
> >>>>+
> >>>Seems to me it would be much better to make this configurable via
> >>>platform data
> >>>and/or device tree.
> >>
> >>good catch. What do the device-tree gurus think to be a nice
> >>property name?
>
> having a closer look, I realized booke_wdt is not device-tree based
> yet. Migrating it would come close to a rewrite, breaking
> compatibility for all current users. Sorry, this is way beyond the
> time I have for this project. So I suggest merging the change the
> way it is, as it is clearly an improvement.
>
I sent a couple of RFC patches converting the driver to a platform driver and
adding of support to linux-watchdog and linux-kernel mailing lists.
Compile tested only, and missing is automatic driver instantiation.
Guenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists