summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorAnimesh Kishore <ankishore@nvidia.com>2011-12-14 03:20:03 -0500
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:01:58 -0400
commit849a271229a7774a7b13940ea0123c706e00af99 (patch)
tree554c319ef7de1d1d8eee88d1f4cb62ab9becfc2d /drivers/video
parent2552203fb4a21c698b06ae0350f47b4992dff1ec (diff)
video dsi: tegra: Fix support for hs clk in lp mode
Enables high speed clock on mipi lanes in low power mode. Change-Id: I3b05d7f9bc5e8f63483220100f3361904e627c52 Signed-off-by: Animesh Kishore <ankishore@nvidia.com> Reviewed-on: http://git-master/r/69951 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Rebase-Id: R3eba480195866b3cf03040949b179aaadd169916
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/tegra/dc/dsi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/tegra/dc/dsi.c b/drivers/video/tegra/dc/dsi.c
index 0dff9925b..92a77e313 100644
--- a/drivers/video/tegra/dc/dsi.c
+++ b/drivers/video/tegra/dc/dsi.c
@@ -1244,7 +1244,8 @@ static int tegra_dsi_set_to_hs_mode(struct tegra_dc *dc,
1244 1244
1245 tegra_dsi_set_control_reg_hs(dsi); 1245 tegra_dsi_set_control_reg_hs(dsi);
1246 1246
1247 if (dsi->status.clk_out == DSI_PHYCLK_OUT_DIS) 1247 if (dsi->status.clk_out == DSI_PHYCLK_OUT_DIS ||
1248 dsi->info.enable_hs_clock_on_lp_cmd_mode)
1248 tegra_dsi_hs_clk_out_enable(dsi); 1249 tegra_dsi_hs_clk_out_enable(dsi);
1249 1250
1250 dsi->status.lphs = DSI_LPHS_IN_HS_MODE; 1251 dsi->status.lphs = DSI_LPHS_IN_HS_MODE;