ARM: tegra: dalmore: set startup delay of LDO6 to 600us
Laxman Dewangan [Thu, 29 Aug 2013 08:47:54 +0000 (13:47 +0530)]
As per observation, the startup delay of LDO6 is more than the
delay defined in datasheet.
Hence setting startup delay explicitly through constraints.

nct external thermal sensor on dalmore (using palmas regulator)
is on this power rail.

bug 1317941
bug 1348506

Change-Id: I732fd48711233e3248b90c9da01902446e61cec3
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/267823

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

index ba91df7..e4caee0 100644 (file)
@@ -1076,6 +1076,8 @@ int __init dalmore_palmas_regulator_init(void)
        pmc_ctrl = readl(pmc + PMC_CTRL);
        writel(pmc_ctrl | PMC_CTRL_INTR_LOW, pmc + PMC_CTRL);
 
+       /* Set LDO6 startup time to 600us */
+       reg_idata_ldo6.constraints.startup_delay = 600;
        power_config = get_power_config();
        if (board_info.fab == BOARD_FAB_A05) {
                set_dalmore_power_config2();