[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140428231108.GO3134@lukather>
Date: Mon, 28 Apr 2014 16:11:08 -0700
From: Maxime Ripard <maxime.ripard@...e-electrons.com>
To: Guenter Roeck <linux@...ck-us.net>
Cc: Arnd Bergmann <arnd@...db.de>, wim@...ana.be, dbaryshkov@...il.com,
dwmw2@...radead.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-watchdog@...r.kernel.org,
linux-sunxi@...glegroups.com
Subject: Re: [PATCH 2/5] power: reset: Add Allwinner A31 reset code
Hi,
On Sat, Apr 26, 2014 at 08:32:27AM -0700, Guenter Roeck wrote:
> On 04/23/2014 08:04 AM, Maxime Ripard wrote:
> >That code used to be in the machine code, but it's more fit here with other
> >restart hooks.
> >
> >That will allow to cleanup the machine directory, while waiting for a proper
> >watchdog driver for the A31.
> >
> >Signed-off-by: Maxime Ripard <maxime.ripard@...e-electrons.com>
>
> I am a bit lost here. Why is this a separate driver, accessing watchdog registers,
> while the other reset functions are being moved into the watchdog code ?
>
> Any chance to handle all platforms the same ? Seems to me that would be less messy.
The A31 watchdog is actually a different watchdog from the one in the
other Allwinner SoCs, that probably needs a driver of its own, or at
least, a significant refactoring.
No one did this yet, but eventually this will probably happen.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists