arm: tegra: cardhu: Setting CORE_PWR_REQ to output high
Laxman Dewangan [Wed, 27 Apr 2011 09:56:40 +0000 (14:56 +0530)]
Setting CORE_PWR_REQ to high.
This is require to enable tracking regulator to supply more than
2A current for cardhu A03 board.

bug 805454

Original-Change-Id: I4ff9d4d2bf106dc0d3d708fe9e1a7f7158dce27e
Reviewed-on: http://git-master/r/29623
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rd688aca0b100371f31b3eeba280d744b314c0d8d

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

index f8d73f6..abe5b46 100644 (file)
@@ -769,6 +769,10 @@ int __init cardhu_suspend_init(void)
        tegra_get_board_info(&board_info);
        switch (board_info.board_id) {
        case BOARD_E1291:
+               /* CORE_PWR_REQ to be high for E1291-A03 */
+               if (board_info.fab == 0x3)
+                       cardhu_suspend_data.corereq_high = true;
+               break;
        case BOARD_E1198:
                break;
        case BOARD_PM269: