arm: tegra: loki: put DSIC/D to DPD for all panels
Aly Hirani [Thu, 2 Jan 2014 19:39:02 +0000 (11:39 -0800)]
Put the DSIC/D into DPD mode for all the panels to save power

Bug 1416110

Change-Id: I79bc946c221261812a54a342c6c29b6928c5ae4d
Signed-off-by: Aly Hirani <ahirani@nvidia.com>
Reviewed-on: http://git-master/r/351457
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Tested-by: Raymond Poudrier <rapoudrier@nvidia.com>

arch/arm/mach-tegra/board-loki-panel.c

index 255fa9b..026d8b9 100644 (file)
@@ -414,10 +414,12 @@ static void loki_panel_select(void)
        case 0x0:
        default:
                panel = &dsi_l_720p_5_loki;
-               tegra_io_dpd_enable(&dsic_io);
-               tegra_io_dpd_enable(&dsid_io);
                break;
        }
+
+       tegra_io_dpd_enable(&dsic_io);
+       tegra_io_dpd_enable(&dsid_io);
+
        if (panel) {
                if (panel->init_sd_settings)
                        panel->init_sd_settings(&sd_settings);