arm: Tegra: Beaver: PWRON key registration
Ramalingam C [Wed, 16 Jan 2013 06:32:31 +0000 (11:32 +0530)]
Registration of PWRON key through PMU interrupt

Bug 1218247

Change-Id: I4d5d4a404fff28f2e34b1fd4af5712796eb8806c
Signed-off-by: Ramalingam C <ramalingamc@nvidia.com>
Reviewed-on: http://git-master/r/191574
Reviewed-by: Preetham Chandru <pchandru@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peer Chen <pchen@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>

arch/arm/mach-tegra/board-cardhu-kbc.c

index 5bbb271..6239b1d 100644 (file)
@@ -2,7 +2,7 @@
  * arch/arm/mach-tegra/board-cardhu-kbc.c
  * Keys configuration for Nvidia tegra3 cardhu platform.
  *
- * Copyright (C) 2011 NVIDIA, Inc.
+ * Copyright (C) 2011-2013 NVIDIA, Inc.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
@@ -241,6 +241,7 @@ int __init cardhu_keys_init(void)
        tegra_get_board_info(&board_info);
        if (!((board_info.board_id == BOARD_E1198) ||
                (board_info.board_id == BOARD_E1291) ||
+               (board_info.board_id == BOARD_PM315) ||
                (board_info.board_id == BOARD_E1186) ||
                (board_info.board_id == BOARD_E1257) ||
                (board_info.board_id == BOARD_PM305) ||
@@ -301,6 +302,7 @@ int __init cardhu_keys_init(void)
        if ((board_info.board_id == BOARD_E1257) ||
                (board_info.board_id == BOARD_E1186) ||
                (board_info.board_id == BOARD_PM305) ||
+               (board_info.board_id == BOARD_PM315) ||
                (board_info.board_id == BOARD_PM311) ||
                (board_info.board_id == BOARD_PM267) ||
                (board_info.board_id == BOARD_PM269)) {