arm: tegra: kai: fix time does not increase in lp0
Chandler Zhang [Wed, 11 Jul 2012 05:57:43 +0000 (13:57 +0800)]
time does not increase in LP0 because GPIO4 is configured as POR.
Change to active_low and pull push to fix the issue.

Bug 1014548

Change-Id: I13c65ac6a4f3ae9158c58922e1ad6982f24bb103
Signed-off-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-on: http://git-master/r/114866
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>

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

index 94f0252..5742c50 100644 (file)
@@ -278,8 +278,8 @@ static struct max77663_gpio_config max77663_gpio_cfgs[] = {
        {
                .gpio = MAX77663_GPIO4,
                .dir = GPIO_DIR_OUT,
-               .dout = GPIO_DOUT_LOW,
-               .out_drv = GPIO_OUT_DRV_OPEN_DRAIN,
+               .dout = GPIO_DOUT_HIGH,
+               .out_drv = GPIO_OUT_DRV_PUSH_PULL,
                .alternate = GPIO_ALT_ENABLE,
        },
        {