summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/dc/dsi.h
diff options
context:
space:
mode:
authorankishore <ankishore@nvidia.com>2011-04-15 11:46:51 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2012-03-23 17:28:19 -0700
commitea2ee3a06543fd833879c9c508fc520bcf821c63 (patch)
tree622134a4d28eb402f9340fc868b3d9c645dbe39c /drivers/video/tegra/dc/dsi.h
parentff2f887c9a9073d331cd614feb561f7df2de0451 (diff)
video: dsi: tegra: Read from dsi panel
Support to read from dsi panel even with dc stream on. Original-Change-Id: I4ecbeded43d3e8424d66f64321f902c540163427 Reviewed-on: http://git-master/r/27465 Reviewed-by: Animesh Kishore <ankishore@nvidia.com> Tested-by: Animesh Kishore <ankishore@nvidia.com> Reviewed-by: Venkata Nageswara Penumarty <vpenumarty@nvidia.com> Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com> Original-Change-Id: I68c59bb0d8f8761102e10f130029ffce827cdadb Rebase-Id: R6b3498b0cb1b9608ca457ab9869d97ad46bea4f9
Diffstat (limited to 'drivers/video/tegra/dc/dsi.h')
-rw-r--r--drivers/video/tegra/dc/dsi.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/video/tegra/dc/dsi.h b/drivers/video/tegra/dc/dsi.h
index dbbb357319f9..cbfb2d56178e 100644
--- a/drivers/video/tegra/dc/dsi.h
+++ b/drivers/video/tegra/dc/dsi.h
@@ -41,6 +41,15 @@ enum{
#define DSI_MAX_COMMAND_DELAY_USEC 250000
#define DSI_COMMAND_DELAY_STEPS_USEC 10
+/* DSI return packet types */
+#define GEN_LONG_RD_RES 0x1A
+#define DCS_LONG_RD_RES 0x1C
+#define GEN_1_BYTE_SHORT_RD_RES 0x11
+#define DCS_1_BYTE_SHORT_RD_RES 0x21
+#define GEN_2_BYTE_SHORT_RD_RES 0x12
+#define DCS_2_BYTE_SHORT_RD_RES 0x22
+#define ACK_ERR_RES 0x02
+
/* End of Transmit command for HS mode */
#define DSI_CMD_HS_EOT_PACKAGE 0x000F0F08