From 9c66ee6f55667c5f7e118135d3175b0100e160b9 Mon Sep 17 00:00:00 2001 From: Jonas Aaberg Date: Wed, 13 Oct 2010 13:14:17 +0200 Subject: plat-nomadik: pull-up/down settings for GPIO resume Suspend/resume didn't take care of pull-up and pull-down settings and writing back the DAT register at resume can change pull up/down settings, depending on pin input value. Output values are now also restored. Signed-off-by: Jonas Aaberg Signed-off-by: Linus Walleij --- arch/arm/plat-nomadik/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'arch/arm/plat-nomadik/Kconfig') diff --git a/arch/arm/plat-nomadik/Kconfig b/arch/arm/plat-nomadik/Kconfig index 187f4e84bb22..ad25c963d437 100644 --- a/arch/arm/plat-nomadik/Kconfig +++ b/arch/arm/plat-nomadik/Kconfig @@ -25,4 +25,10 @@ config NOMADIK_GPIO help Support for the Nomadik GPIO controller. +config NOMADIK_GPIO_PM + bool + depends on NOMADIK_GPIO && PM + help + Support PM for the Nomadik GPIO controller. + endif -- cgit v1.2.1