summaryrefslogtreecommitdiffstats
path: root/drivers/video/tegra/dc/dsi.c
diff options
context:
space:
mode:
authorBharat Nihalani <bnihalani@nvidia.com>2013-10-24 12:01:47 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:06:49 -0400
commit3ddeef311a48b2821fad9e3b11735406bee19387 (patch)
tree17809b09676e57cd74d0d08228f939fdbcbb6836 /drivers/video/tegra/dc/dsi.c
parent724ca584a7b4188587f6d83b4647e72170fda2fb (diff)
video: tegra: dc: Enable DSI_USE_SYNC_POINTS for T124 only
Enabling DSI_USE_SYNC_POINTS causes issues for T114 platforms. So enabling this only for T124 until we can enable this for T114 too. Bug 1393553 Change-Id: I227d279eaa55e1575470ac3cf52ae21e620c3c80 Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-on: http://git-master/r/303380 GVS: Gerrit_Virtual_Submit Reviewed-by: Mitch Luban <mluban@nvidia.com> Tested-by: Mitch Luban <mluban@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/dc/dsi.c')
-rw-r--r--drivers/video/tegra/dc/dsi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/video/tegra/dc/dsi.c b/drivers/video/tegra/dc/dsi.c
index 7dd34a98b..4427a2a80 100644
--- a/drivers/video/tegra/dc/dsi.c
+++ b/drivers/video/tegra/dc/dsi.c
@@ -55,7 +55,12 @@
55#define APB_MISC_GP_MIPI_PAD_CTRL_0 (TEGRA_APB_MISC_BASE + 0x820) 55#define APB_MISC_GP_MIPI_PAD_CTRL_0 (TEGRA_APB_MISC_BASE + 0x820)
56#define DSIB_MODE_ENABLE 0x2 56#define DSIB_MODE_ENABLE 0x2
57 57
58/* Only enabling for T124 for now; causes issues for other chips */
59#ifdef CONFIG_ARCH_TEGRA_12x_SOC
58#define DSI_USE_SYNC_POINTS 1 60#define DSI_USE_SYNC_POINTS 1
61#else
62#define DSI_USE_SYNC_POINTS 0
63#endif
59 64
60#define S_TO_MS(x) (1000 * (x)) 65#define S_TO_MS(x) (1000 * (x))
61#define MS_TO_US(x) (1000 * (x)) 66#define MS_TO_US(x) (1000 * (x))