]> asedeno.scripts.mit.edu Git - linux.git/commit
ARM: dts: Add mask-tpm-reset node in exynos5800-peach-pi
authorVikas Sajjan <vikas.sajjan@samsung.com>
Tue, 15 Jul 2014 17:38:44 +0000 (02:38 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 15 Jul 2014 17:39:57 +0000 (02:39 +0900)
commit73a9bb2e7a48bb47c092f407812a0100c79d5180
treed14f6933a279eafb93fd8f484de69e5301866f8b
parentac5ce09e140c0238a8fb61d1c198ce9945e8be47
ARM: dts: Add mask-tpm-reset node in exynos5800-peach-pi

The mask-tpm-reset GPIO is used by the kernel to prevent the TPM from
being reset across sleep/wake.  If we don't set it to anything then
the TPM will be reset.  U-Boot will detect this as invalid
and will reset the system on resume time. This GPIO can always be low
and not hurt anything.  It will get pulled back high again during a
normal warm reset when it will default back to an input.

To properly preserve the TPM state across suspend/resume and to make
the chrome U-Boot happy, properly set the GPIO to mask the
reset to the TPM.

Signed-off-by: Vikas Sajjan <vikas.sajjan@samsung.com>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/boot/dts/exynos5800-peach-pi.dts