lkml.org 
[lkml]   [2015]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v4 09/11] ARM: tegra: add support for warm reset GPIO
From
Hi Tomeu,

On Wed, Feb 11, 2015 at 7:06 AM, Tomeu Vizoso
<tomeu.vizoso@collabora.com> wrote:
> From: Andrew Bresticker <abrestic@chromium.org>
>
> Allow for a warm reset GPIO to be passed to the PMC driver via DT
> which will be used to reset the system instead of writing to PMC_CTRL.
> The GPIO will be asserted at reset time and, if this fails to reset
> the system, we'll fall back to using PMC_CTRL.
>
> Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
> [tomeu.vizoso@collabora.com: Rebased]
> Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>

There's actually gpio-restart driver now, which I think is what you
want instead of this. See drivers/power/reset/gpio-restart.c.


\
 
 \ /
  Last update: 2015-02-11 18:21    [W:0.097 / U:1.756 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site