diff options
author | Jonas Aaberg <jonas.aberg@stericsson.com> | 2011-10-12 10:55:26 +0200 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 11:02:23 +0200 |
commit | 2eb0bdfccf7d8532523341371fbbc6f0f1b7732f (patch) | |
tree | 681d2233ee0e8ec532f161e81919afcd840123ac /arch | |
parent | 2068dd23d81c50eadeba1bf506aa542bbb96aee0 (diff) |
ARM: plat-nomadik: Add alias to clarify settings
PIN_SLPM_WAKEUP_ENABLE/DISABLE do something completely different
than the name says.
ST-Ericsson Linux next: -
ST-Ericsson ID: -
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ib334d2772fa21f58ee84f22dddf34830300a4f86
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33865
Reviewed-by: QABUILD
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/plat-nomadik/include/plat/pincfg.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/plat-nomadik/include/plat/pincfg.h b/arch/arm/plat-nomadik/include/plat/pincfg.h index 894eefb0c14..c015133a7ad 100644 --- a/arch/arm/plat-nomadik/include/plat/pincfg.h +++ b/arch/arm/plat-nomadik/include/plat/pincfg.h @@ -70,6 +70,9 @@ typedef unsigned long pin_cfg_t; #define PIN_SLPM_WAKEUP_DISABLE (NMK_GPIO_SLPM_WAKEUP_DISABLE << PIN_SLPM_SHIFT) #define PIN_SLPM_USE_MUX_SETTINGS_IN_SLEEP PIN_SLPM_WAKEUP_DISABLE +#define PIN_SLPM_GPIO PIN_SLPM_WAKEUP_ENABLE /* In SLPM, pin is a gpio */ +#define PIN_SLPM_ALTFUNC PIN_SLPM_WAKEUP_DISABLE /* In SLPM, pin is altfunc */ + #define PIN_DIR_SHIFT 14 #define PIN_DIR_MASK (0x1 << PIN_DIR_SHIFT) #define PIN_DIR(x) (((x) & PIN_DIR_MASK) >> PIN_DIR_SHIFT) |