arm: tegra: PM269: Enable NCT1008 temp sensor
Laxman Dewangan [Wed, 17 Aug 2011 10:29:34 +0000 (15:29 +0530)]
Enabling NCT1008 temp sensor for PM269 board also.

Original-Change-Id: I8cea3e87f18b6d4f73f3142445daed15ab65cf96
Reviewed-on: http://git-master/r/47519
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R8956472b2adb83310298adda4c3454093b36f5b8

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

index e8fdae7..3135b21 100644 (file)
@@ -582,7 +582,8 @@ static int cardhu_nct1008_init(void)
 #endif
 
        if ((board_info.board_id == BOARD_E1198) ||
-               (board_info.board_id == BOARD_E1291)) {
+               (board_info.board_id == BOARD_E1291) ||
+               (board_info.board_id == BOARD_PM269)) {
                nct1008_port = TEGRA_GPIO_PCC2;
        } else if ((board_info.board_id == BOARD_E1186) ||
                (board_info.board_id == BOARD_E1187) ||