diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2010-05-27 07:39:23 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-06-16 17:26:10 -0400 |
commit | 81a3c2989227e025b715e18299431395083b39e5 (patch) | |
tree | 08008a20cb1625bc20460d81c0d426d5ee94c5d0 /arch/arm/plat-nomadik/include/plat | |
parent | 5b327edf03c037ea6dc49a98a2b7f7186298ad1e (diff) |
ARM: 6149/1: nomadik-gpio: add function to configure sleep mode behaviour
Cc: Alessandro Rubini <rubini@unipv.it>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-nomadik/include/plat')
-rw-r--r-- | arch/arm/plat-nomadik/include/plat/gpio.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/plat-nomadik/include/plat/gpio.h b/arch/arm/plat-nomadik/include/plat/gpio.h index 1d97e96ad1f4..aba355101f49 100644 --- a/arch/arm/plat-nomadik/include/plat/gpio.h +++ b/arch/arm/plat-nomadik/include/plat/gpio.h | |||
@@ -62,6 +62,13 @@ enum nmk_gpio_pull { | |||
62 | NMK_GPIO_PULL_DOWN, | 62 | NMK_GPIO_PULL_DOWN, |
63 | }; | 63 | }; |
64 | 64 | ||
65 | /* Sleep mode */ | ||
66 | enum nmk_gpio_slpm { | ||
67 | NMK_GPIO_SLPM_INPUT, | ||
68 | NMK_GPIO_SLPM_NOCHANGE, | ||
69 | }; | ||
70 | |||
71 | extern int nmk_gpio_set_slpm(int gpio, enum nmk_gpio_slpm mode); | ||
65 | extern int nmk_gpio_set_pull(int gpio, enum nmk_gpio_pull pull); | 72 | extern int nmk_gpio_set_pull(int gpio, enum nmk_gpio_pull pull); |
66 | extern int nmk_gpio_set_mode(int gpio, int gpio_mode); | 73 | extern int nmk_gpio_set_mode(int gpio, int gpio_mode); |
67 | extern int nmk_gpio_get_mode(int gpio); | 74 | extern int nmk_gpio_get_mode(int gpio); |