diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2010-03-10 09:26:06 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-05-21 09:40:16 -0400 |
commit | bb84dbf69b0730fcc78c275f900ed74b2b8453a5 (patch) | |
tree | c6389f2a68b1f511f685ef5069a4704614ed11c2 /arch/blackfin/Kconfig | |
parent | 85eb0e4b15efc8034cbae193c99536dae7896701 (diff) |
Blackfin: punt Blackfin-specific GPIO wakeup API
This patch removes a custom GPIO wakeup API which allowed GPIOs to act
as wakeup sources, which are not configured as Interrupts.
This API is a leftover from the time before irq_wake was established.
From now on people must use enable_irq_wake(GPIO_IRQx) and the GPIO in
question needs to be configured as Interrupt.
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/Kconfig')
-rw-r--r-- | arch/blackfin/Kconfig | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index c078849df7f9..405bdaa17333 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -1187,32 +1187,6 @@ config PM_BFIN_SLEEP | |||
1187 | If unsure, select "Sleep Deeper". | 1187 | If unsure, select "Sleep Deeper". |
1188 | endchoice | 1188 | endchoice |
1189 | 1189 | ||
1190 | config PM_WAKEUP_BY_GPIO | ||
1191 | bool "Allow Wakeup from Standby by GPIO" | ||
1192 | depends on PM && !BF54x | ||
1193 | |||
1194 | config PM_WAKEUP_GPIO_NUMBER | ||
1195 | int "GPIO number" | ||
1196 | range 0 47 | ||
1197 | depends on PM_WAKEUP_BY_GPIO | ||
1198 | default 2 | ||
1199 | |||
1200 | choice | ||
1201 | prompt "GPIO Polarity" | ||
1202 | depends on PM_WAKEUP_BY_GPIO | ||
1203 | default PM_WAKEUP_GPIO_POLAR_H | ||
1204 | config PM_WAKEUP_GPIO_POLAR_H | ||
1205 | bool "Active High" | ||
1206 | config PM_WAKEUP_GPIO_POLAR_L | ||
1207 | bool "Active Low" | ||
1208 | config PM_WAKEUP_GPIO_POLAR_EDGE_F | ||
1209 | bool "Falling EDGE" | ||
1210 | config PM_WAKEUP_GPIO_POLAR_EDGE_R | ||
1211 | bool "Rising EDGE" | ||
1212 | config PM_WAKEUP_GPIO_POLAR_EDGE_B | ||
1213 | bool "Both EDGE" | ||
1214 | endchoice | ||
1215 | |||
1216 | comment "Possible Suspend Mem / Hibernate Wake-Up Sources" | 1190 | comment "Possible Suspend Mem / Hibernate Wake-Up Sources" |
1217 | depends on PM | 1191 | depends on PM |
1218 | 1192 | ||