[RFC PATCH 2/3] clk: samsung: register restart notifiers for s3c2412 and s3c2443

Guenter Roeck
2014-07-08T16:23:18Z

On Tue, Jul 08, 2014 at 04:24:34PM +0200, Tomasz Figa wrote:
> Hi Heiko,
>
> On 06.07.2014 20:43, Heiko St?bner wrote:
> > S3C2412, S3C2443 and their derivatives contain a special software-reset
> > register in their system-controller.
> >
> > Therefore register a restart-notifier for those.
>
> I wonder if we really need to differentiate between these SoCs instead
> of just using the watchdog reset for all of them. If there is no reason
> to prefer software reset, then some code could be removed and things
> would be more unified.
>
Depends if the other method is always available. If not, it might make sense
to register this handler with lower priority to have a fallback.

Guenter