diff options
author | Graziano Misuraca <gmisuraca@nvidia.com> | 2013-01-28 11:53:16 -0800 |
---|---|---|
committer | Riham Haidar <rhaidar@nvidia.com> | 2013-01-30 15:16:59 -0800 |
commit | 9852cf7ca98bf62abb1d5c1070f482c598a15a5b (patch) | |
tree | 5b44e7924c9e1b942f380b7c6d60bbafd6a1278d /arch/arm/mach-tegra/board-dalmore.h | |
parent | f2f0722ea7dd9074b84121716e6f4029ea3cf38c (diff) |
ARM: Tegra: Dalmore: Add wakeup callback
Add dalmore_wakeup_key callback to send
proper event on wake. Also modify the pinmux
for the Hall Effect Sensor to match the
power key.
Bug 1216920
Change-Id: I48dbb95e2b67723d54b1f1dc377243a380a24cfd
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-on: http://git-master/r/194832
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-dalmore.h')
-rw-r--r-- | arch/arm/mach-tegra/board-dalmore.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-dalmore.h b/arch/arm/mach-tegra/board-dalmore.h index f242c9a719d4..c78125a6660a 100644 --- a/arch/arm/mach-tegra/board-dalmore.h +++ b/arch/arm/mach-tegra/board-dalmore.h @@ -61,6 +61,10 @@ #define MAX77663_IRQ_END (MAX77663_IRQ_BASE + MAX77663_IRQ_NR) #define MAX77663_IRQ_ACOK_RISING MAX77663_IRQ_ONOFF_ACOK_RISING +/* PMC Wake status registers */ +#define PMC_WAKE_STATUS 0x14 +#define PMC_WAKE2_STATUS 0x168 + /* I2C related GPIOs */ #define TEGRA_GPIO_I2C1_SCL TEGRA_GPIO_PC4 #define TEGRA_GPIO_I2C1_SDA TEGRA_GPIO_PC5 |