summaryrefslogtreecommitdiffstats
path: root/drivers/video/tegra/dc/dsi.c
diff options
context:
space:
mode:
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))