diff options
author | Maxime Coquelin <maxime.coquelin@stericsson.com> | 2012-10-10 07:59:02 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-10-28 16:16:15 -0400 |
commit | 748a2b72655334f01aff84a67747a78f8d1c8109 (patch) | |
tree | 4e1302353674fbe4551bd64b4a490311e382efb8 /arch/arm/plat-nomadik/include | |
parent | 8f0d8163b50e01f398b14bcd4dc039ac5ab18d64 (diff) |
ARM: plat-nomadik: Introduce new DB8540 GPIO registers
DB8540's GPIO controller introduce level detection
support for both interrupts and wakeups.
Signed-off-by: Maxime Coquelin <maxime.coquelin@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/plat-nomadik/include')
-rw-r--r-- | arch/arm/plat-nomadik/include/plat/gpio-nomadik.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/plat-nomadik/include/plat/gpio-nomadik.h b/arch/arm/plat-nomadik/include/plat/gpio-nomadik.h index c08a54d9d889..cf81111b79a6 100644 --- a/arch/arm/plat-nomadik/include/plat/gpio-nomadik.h +++ b/arch/arm/plat-nomadik/include/plat/gpio-nomadik.h | |||
@@ -38,6 +38,9 @@ | |||
38 | #define NMK_GPIO_RWIMSC 0x50 | 38 | #define NMK_GPIO_RWIMSC 0x50 |
39 | #define NMK_GPIO_FWIMSC 0x54 | 39 | #define NMK_GPIO_FWIMSC 0x54 |
40 | #define NMK_GPIO_WKS 0x58 | 40 | #define NMK_GPIO_WKS 0x58 |
41 | /* These appear in DB8540 and later ASICs */ | ||
42 | #define NMK_GPIO_EDGELEVEL 0x5C | ||
43 | #define NMK_GPIO_LEVEL 0x60 | ||
41 | 44 | ||
42 | /* Alternate functions: function C is set in hw by setting both A and B */ | 45 | /* Alternate functions: function C is set in hw by setting both A and B */ |
43 | #define NMK_GPIO_ALT_GPIO 0 | 46 | #define NMK_GPIO_ALT_GPIO 0 |