diff options
author | Diwakar Tundlam <dtundlam@nvidia.com> | 2011-09-08 10:59:56 -0700 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2011-09-13 05:42:23 -0700 |
commit | 1abdcb266a1fa22fd766549d5eddcca92e1fb17e (patch) | |
tree | 760659a54419f599fb06be6dd9e1aa6a73de046d /arch/arm/mach-tegra/board-cardhu-sensors.c | |
parent | da82c830774b6d63f148d4fc9c23922d1c86a0a3 (diff) |
arm: tegra: power: guardbanding only for accuracy of TDiode
Bug 844025
Change-Id: I85c291d83ebb7939f8934b1b1e56a791cb0557b8
Reviewed-on: http://git-master/r/51443
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-cardhu-sensors.c')
-rw-r--r-- | arch/arm/mach-tegra/board-cardhu-sensors.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu-sensors.c b/arch/arm/mach-tegra/board-cardhu-sensors.c index 83614db4c0d1..3e52e86cac84 100644 --- a/arch/arm/mach-tegra/board-cardhu-sensors.c +++ b/arch/arm/mach-tegra/board-cardhu-sensors.c @@ -552,6 +552,7 @@ static struct nct1008_platform_data cardhu_nct1008_pdata = { .ext_range = true, .conv_rate = 0x08, .hysteresis = 5, + .offset = 8, /* 4 * 2C. Bug 844025 - 1C for device accuracies */ .shutdown_ext_limit = 90, .shutdown_local_limit = 90, .throttling_ext_limit = 85, @@ -583,7 +584,6 @@ static int cardhu_nct1008_init(void) { int nct1008_port = -1; int ret; - struct nct1008_platform_data *pdata; #ifdef CONFIG_TEGRA_EDP_LIMITS const struct tegra_edp_limits *z; int zones_sz; @@ -619,17 +619,6 @@ static int cardhu_nct1008_init(void) tegra_gpio_enable(nct1008_port); } - /* Temperature guardband: bug 844025 */ - if (board_info.board_id == BOARD_PM269) { - /* T30S DSC */ - pdata = cardhu_i2c4_nct1008_board_info[0].platform_data; - pdata->offset = 41; /* 4 * 10.25C */ - } else { - /* T30 MID */ - pdata = cardhu_i2c4_nct1008_board_info[0].platform_data; - pdata->offset = 43; /* 4 * 10.75C */ - } - #ifdef CONFIG_TEGRA_EDP_LIMITS tegra_get_cpu_edp_limits(&z, &zones_sz); zones_sz = min(zones_sz, MAX_ZONES); |