Refresh patches Signed-off-by: Joshua Covington <joshuacov@gmail.com> Link: https://github.com/openwrt/openwrt/pull/23703 Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
74 lines
2.9 KiB
Diff
74 lines
2.9 KiB
Diff
From 4f10afaa91d855509c8f9f0e98db894d5613b5de Mon Sep 17 00:00:00 2001
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
Date: Fri, 17 Dec 2021 13:36:52 +0000
|
|
Subject: [PATCH] drm/dsi: Document the meaning and spec references for
|
|
MIPI_DSI_MODE_*
|
|
|
|
The MIPI_DSI_MODE_* flags have fairly terse descriptions and no reference
|
|
to the DSI specification as to their exact meaning. Usage has therefore
|
|
been rather fluid.
|
|
|
|
Extend the descriptions and provide references to the part of the
|
|
MIPI DSI specification regarding what they mean.
|
|
|
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
---
|
|
include/drm/drm_mipi_dsi.h | 36 +++++++++++++++++++++++++-----------
|
|
1 file changed, 25 insertions(+), 11 deletions(-)
|
|
|
|
--- a/include/drm/drm_mipi_dsi.h
|
|
+++ b/include/drm/drm_mipi_dsi.h
|
|
@@ -114,27 +114,41 @@ struct mipi_dsi_host *of_find_mipi_dsi_h
|
|
|
|
/* DSI mode flags */
|
|
|
|
-/* video mode */
|
|
+/* Video mode display.
|
|
+ * Not set denotes a command mode display.
|
|
+ */
|
|
#define MIPI_DSI_MODE_VIDEO BIT(0)
|
|
-/* video burst mode */
|
|
+/* Video burst mode.
|
|
+ * Link frequency to be configured via platform configuration.
|
|
+ * This should always be set in conjunction with MIPI_DSI_MODE_VIDEO.
|
|
+ * (DSI spec V1.1 8.11.4)
|
|
+ */
|
|
#define MIPI_DSI_MODE_VIDEO_BURST BIT(1)
|
|
-/* video pulse mode */
|
|
+/* Video pulse mode.
|
|
+ * Not set denotes sync event mode. (DSI spec V1.1 8.11.2)
|
|
+ */
|
|
#define MIPI_DSI_MODE_VIDEO_SYNC_PULSE BIT(2)
|
|
-/* enable auto vertical count mode */
|
|
+/* Enable auto vertical count mode */
|
|
#define MIPI_DSI_MODE_VIDEO_AUTO_VERT BIT(3)
|
|
-/* enable hsync-end packets in vsync-pulse and v-porch area */
|
|
+/* Enable hsync-end packets in vsync-pulse and v-porch area */
|
|
#define MIPI_DSI_MODE_VIDEO_HSE BIT(4)
|
|
-/* disable hfront-porch area */
|
|
+/* Transmit NULL packets or LP mode during hfront-porch area.
|
|
+ * Not set denotes sending a blanking packet instead. (DSI spec V1.1 8.11.1)
|
|
+ */
|
|
#define MIPI_DSI_MODE_VIDEO_NO_HFP BIT(5)
|
|
-/* disable hback-porch area */
|
|
+/* Transmit NULL packets or LP mode during hback-porch area.
|
|
+ * Not set denotes sending a blanking packet instead. (DSI spec V1.1 8.11.1)
|
|
+ */
|
|
#define MIPI_DSI_MODE_VIDEO_NO_HBP BIT(6)
|
|
-/* disable hsync-active area */
|
|
+/* Transmit NULL packets or LP mode during hsync-active area.
|
|
+ * Not set denotes sending a blanking packet instead. (DSI spec V1.1 8.11.1)
|
|
+ */
|
|
#define MIPI_DSI_MODE_VIDEO_NO_HSA BIT(7)
|
|
-/* disable EoT packets in HS mode */
|
|
+/* Disable EoT packets in HS mode. (DSI spec V1.1 8.1) */
|
|
#define MIPI_DSI_MODE_NO_EOT_PACKET BIT(9)
|
|
-/* device supports non-continuous clock behavior (DSI spec 5.6.1) */
|
|
+/* Device supports non-continuous clock behavior (DSI spec V1.1 5.6.1) */
|
|
#define MIPI_DSI_CLOCK_NON_CONTINUOUS BIT(10)
|
|
-/* transmit data in low power */
|
|
+/* Transmit data in low power */
|
|
#define MIPI_DSI_MODE_LPM BIT(11)
|
|
/* transmit data ending at the same time for all lanes within one hsync */
|
|
#define MIPI_DSI_HS_PKT_END_ALIGNED BIT(12)
|