Re: [PATCH v4 09/11] ARM: tegra: add support for warm reset GPIO
From: Andrew Bresticker <hidden>
Date: 2015-02-11 17:17:49
Also in:
linux-tegra, lkml
From: Andrew Bresticker <hidden>
Date: 2015-02-11 17:17:49
Also in:
linux-tegra, lkml
Hi Tomeu, On Wed, Feb 11, 2015 at 7:06 AM, Tomeu Vizoso [off-list ref] wrote:
From: Andrew Bresticker <redacted> 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 <redacted> [tomeu.vizoso@collabora.com: Rebased] Signed-off-by: Tomeu Vizoso <redacted>
There's actually gpio-restart driver now, which I think is what you want instead of this. See drivers/power/reset/gpio-restart.c.