ARM: tegra: Increase enable time of LDO6
Jeetesh Burman [Tue, 24 Sep 2013 04:28:53 +0000 (09:28 +0530)]
NCT temperature sensor is powered from LDO6 and it is
observed that it is required to have 1000 microseconds
enable time for regulator to work sensor properly.

Configuring LDO6 rail's enable time to 1000 microseconds.

Bug 1365575

Change-Id: I71def3c1e2c707e6e319573784ab6fc8e94c1e74
Signed-off-by: Jeetesh Burman <jburman@nvidia.com>
Reviewed-on: http://git-master/r/278132
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit 0bd8cc9a0c9b39ea1e4fe1ec88ad28b35967a17b)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

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

index be2f9ac..447a6d9 100644 (file)
@@ -1040,6 +1040,8 @@ int __init dalmore_palmas_regulator_init(void)
        /* Enable regulator full constraints */
        regulator_has_full_constraints();
 
+       reg_idata_ldo6.constraints.enable_time = 1000;
+
        /* Tracking configuration */
        reg_init_data_ldo8.config_flags =
                        PALMAS_REGULATOR_CONFIG_TRACKING_ENABLE |