]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commitdiff
video: tegra: dsi: set DSI_TWAKEUP to 0xff
authorKen Chang <kenc@nvidia.com>
Tue, 26 Feb 2013 04:57:31 +0000 (12:57 +0800)
committerDan Willemsen <dwillemsen@nvidia.com>
Wed, 18 Mar 2015 19:04:10 +0000 (12:04 -0700)
Given that the min TWAKEUP time defined in the spec is 1ms, change
DSI_TWAKEUP from 0x7f to 0xff.

This will give:
1. ~1ms TWAKEUP for high resolution panels, which have 1Gbps DSI.
2. 2-4ms TWAKEUP for average panels.

Bug 1041269

Change-Id: Icf92bd2b8574056d1f8d25e02046b70e0a9103ef
Signed-off-by: Ken Chang <kenc@nvidia.com>
(cherry picked from commit 86e44285f012f886de981599659c185e08660a45)
Reviewed-on: http://git-master/r/203584
Reviewed-on: http://git-master/r/206606
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
drivers/video/tegra/dc/dsi.h

index 4edfff9eae7a749008471f64c94e5417ad0b67b0..96ac8545735f479a989ccee3149875fecb745f9f 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * drivers/video/tegra/dc/dsi.h
  *
- * Copyright (c) 2011-2012, NVIDIA CORPORATION, All rights reserved.
+ * Copyright (c) 2011-2013, NVIDIA CORPORATION, All rights reserved.
  *
  * This software is licensed under the terms of the GNU General Public
  * License version 2, as published by the Free Software Foundation, and
@@ -385,7 +385,7 @@ T_TLPX_NS_DEFAULT, clk_ns, T_TLPX_HW_INC))
 T_CLKPREPARE_NS_DEFAULT, clk_ns, T_CLKPREPARE_HW_INC))
 
 #define T_CLKPRE_DEFAULT       0x1
-#define T_WAKEUP_DEFAULT       0x7f
+#define T_WAKEUP_DEFAULT       0xff
 
 #define T_TAGO_DEFAULT(clk_ns) \
 (DSI_CONVERT_T_PHY_NS_TO_T_PHY( \