Re: [PATCH v4 09/11] ARM: tegra: add support for warm reset GPIO
From: Andrew Bresticker
Date: Wed Feb 11 2015 - 12:17:52 EST
Hi Tomeu,
On Wed, Feb 11, 2015 at 7:06 AM, Tomeu Vizoso
<tomeu.vizoso@xxxxxxxxxxxxx> wrote:
> From: Andrew Bresticker <abrestic@xxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxx>
> [tomeu.vizoso@xxxxxxxxxxxxx: Rebased]
> Signed-off-by: Tomeu Vizoso <tomeu.vizoso@xxxxxxxxxxxxx>
There's actually gpio-restart driver now, which I think is what you
want instead of this. See drivers/power/reset/gpio-restart.c.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/