diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2011-07-08 17:40:37 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-07-13 16:46:29 -0700 |
commit | f129c231ec7a2dd96e92933415b0ab1e099efbaf (patch) | |
tree | cccc6cef8ae086d06c7144cd3feedaf7a82888cb /arch/arm/mach-tegra/board-enterprise-power.c | |
parent | 5ef5b8b11c787eb8689c9671b508dc91518e5564 (diff) |
arm: enterprise: Clean some of tps80031 definition
Adding public definition in the 80031 header so that client
can used directly in place of defining at client level.
Change-Id: Ifb64e0ffc83bc29c470d08a49d0915613a677537
Reviewed-on: http://git-master/r/40208
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-enterprise-power.c')
-rw-r--r-- | arch/arm/mach-tegra/board-enterprise-power.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-tegra/board-enterprise-power.c b/arch/arm/mach-tegra/board-enterprise-power.c index b25d9e1b39e7..f268f6b1ce7a 100644 --- a/arch/arm/mach-tegra/board-enterprise-power.c +++ b/arch/arm/mach-tegra/board-enterprise-power.c @@ -182,7 +182,7 @@ TPS_PDATA_INIT(vana, 1000, 3300, 0, 0, 0, 0, -1, 0, 0, 0); TPS_PDATA_INIT(vbus, 0, 5000, 0, 0, 0, 0, -1, 0, 0, VBUS_SW_ONLY); static struct tps80031_rtc_platform_data rtc_data = { - .irq = TPS80031_IRQ_BASE + TPS80031_INT_RTC_ALARM, + .irq = ENT_TPS80031_IRQ_BASE + TPS80031_INT_RTC_ALARM, .time = { .tm_year = 2011, .tm_mon = 0, @@ -233,8 +233,8 @@ struct tps80031_32kclock_plat_data clk32k_pdata = { static struct tps80031_platform_data tps_platform = { .num_subdevs = ARRAY_SIZE(tps80031_devs), .subdevs = tps80031_devs, - .irq_base = TPS80031_IRQ_BASE, - .gpio_base = TPS80031_GPIO_BASE, + .irq_base = ENT_TPS80031_IRQ_BASE, + .gpio_base = ENT_TPS80031_GPIO_BASE, .clk32k_pdata = &clk32k_pdata, }; @@ -323,9 +323,9 @@ static int gpio_switch_cam_ldo_1v8_en_voltages[] = {1800}; .disable_rail = _disable, \ } -GREG_INIT(0, pmu_5v15_en, NULL, TPS80031_GPIO_REGEN1, false, 0, 0, 0, 0); -GREG_INIT(1, pmu_3v3_en, "vdd_5v15", TPS80031_GPIO_REGEN2, false, 0, 0, 0, 0); -GREG_INIT(2, pmu_hdmi_5v0_en, "vdd_5v15", TPS80031_GPIO_SYSEN, false, 0, 0, 0, 0); +GREG_INIT(0, pmu_5v15_en, NULL, ENT_TPS80031_GPIO_REGEN1, false, 0, 0, 0, 0); +GREG_INIT(1, pmu_3v3_en, "vdd_5v15", ENT_TPS80031_GPIO_REGEN2, false, 0, 0, 0, 0); +GREG_INIT(2, pmu_hdmi_5v0_en, "vdd_5v15", ENT_TPS80031_GPIO_SYSEN, false, 0, 0, 0, 0); GREG_INIT(3, vdd_fuse_en, "avdd_usb_hdmi_3v3", TEGRA_GPIO_PM0, false, 0, 0, 0, 0); GREG_INIT(4, sdmmc3_vdd_sel, "vddio_sdmmc_2v85", TEGRA_GPIO_PM1, false, 0, 0, 0, 0); |