diff options
author | Kevin Huang <kevinh@nvidia.com> | 2011-08-20 16:20:06 -0700 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2011-08-22 08:18:01 -0700 |
commit | 7084deccc39c83bf62e84f72f6314cfc840ea203 (patch) | |
tree | 6761a78ab4093e0589ce9db0228b9c66c0e17187 /drivers/video | |
parent | 4e91d1957dd4d10169960196dc59599dbf2640c9 (diff) |
video: tegra: dsi: Reset DSI state during system booting.
Bug 866389
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>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/tegra/dc/dsi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/tegra/dc/dsi.c b/drivers/video/tegra/dc/dsi.c index b278946f24c4..36f91a64d8db 100644 --- a/drivers/video/tegra/dc/dsi.c +++ b/drivers/video/tegra/dc/dsi.c @@ -1076,6 +1076,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*/ |