summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-enterprise-power.c
diff options
context:
space:
mode:
authorTom Cherry <tcherry@nvidia.com>2012-03-23 13:57:32 -0700
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-04-05 08:55:12 -0700
commitd4e9b6e5ef68b51610dbe2d7ccfde25f296373b5 (patch)
tree90c4a9a7c4dc498ee82c577d0084a22acef240db /arch/arm/mach-tegra/board-enterprise-power.c
parent40aa4fb7ef812eb700cbce8ab94cf25f6ab9330c (diff)
arm: tegra: enterprise: enable pullup for preq1 on A03/A04
Bug 958089 Reviewed-on: http://git-master/r/92054 (cherry picked from commit 92ff85f937cefc0fbe029607e23557adcf13f9fd) Change-Id: I7e8815f758c2527da3ab635f102888e5a6d5e951 Signed-off-by: Tom Cherry <tcherry@nvidia.com> Reviewed-on: http://git-master/r/94118 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-enterprise-power.c')
-rw-r--r--arch/arm/mach-tegra/board-enterprise-power.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-enterprise-power.c b/arch/arm/mach-tegra/board-enterprise-power.c
index 02792f44f45c..26a16083981c 100644
--- a/arch/arm/mach-tegra/board-enterprise-power.c
+++ b/arch/arm/mach-tegra/board-enterprise-power.c
@@ -411,6 +411,13 @@ struct tps80031_clk32k_init_data clk32k_idata[] = {
},
};
+static struct tps80031_pupd_init_data pupd_idata[] = {
+ {
+ .input_pin = TPS80031_PREQ1,
+ .setting = TPS80031_PUPD_PULLUP,
+ },
+};
+
static struct tps80031_platform_data tps_platform = {
.irq_base = ENT_TPS80031_IRQ_BASE,
.gpio_base = ENT_TPS80031_GPIO_BASE,
@@ -739,6 +746,8 @@ int __init enterprise_regulator_init(void)
} else {
tps_platform.num_subdevs = ARRAY_SIZE(tps80031_devs_a03);
tps_platform.subdevs = tps80031_devs_a03;
+ tps_platform.pupd_init_data = pupd_idata;
+ tps_platform.pupd_init_data_size = ARRAY_SIZE(pupd_idata);
}
i2c_register_board_info(4, enterprise_regulators, 1);