video: tegra: dsi: Reset DSI state during system booting.
Kevin Huang [Sat, 20 Aug 2011 23:20:06 +0000 (16:20 -0700)]
Bug 866389

Original-Change-Id: Ia382270e29fb8b0c111ffe41bcee20f8a072f3a2
Reviewed-on: http://git-master/r/48343
Reviewed-by: Kevin Huang <kevinh@nvidia.com>
Tested-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Chih-Lung Huang <lhuang@nvidia.com>
Tested-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R5d78a5727bafe0f6f66eece2791a18f66bdd9df8

drivers/video/tegra/dc/dsi.c

index ba8dcc2..a90f0d0 100644 (file)
@@ -1074,6 +1074,9 @@ static int tegra_dsi_init_hw(struct tegra_dc *dc,
        u32 val;
        u32 i;
 
+       val = DSI_POWER_CONTROL_LEG_DSI_ENABLE(TEGRA_DSI_DISABLE);
+       tegra_dsi_writel(dsi, val, DSI_POWER_CONTROL);
+
        tegra_dsi_set_dsi_clk(dc, dsi, dsi->target_lp_clk_khz);
        if (dsi->info.dsi_instance) {
                /* TODO:Set the misc register*/