mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-25 06:26:15 +00:00
8c405cdccc
The patches were generated from the RPi repo with the following command: git format-patch v6.6.34..rpi-6.1.y Some patches needed rebasing and, as usual, the applied and reverted, wireless drivers, Github workflows, READMEs and defconfigs patches were removed. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
77 lines
3.0 KiB
Diff
77 lines
3.0 KiB
Diff
From cfd0ecb25ac9aecd0e6401d951a41988b7672776 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 0018/1085] 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 | 38 ++++++++++++++++++++++++++------------
|
|
1 file changed, 26 insertions(+), 12 deletions(-)
|
|
|
|
--- a/include/drm/drm_mipi_dsi.h
|
|
+++ b/include/drm/drm_mipi_dsi.h
|
|
@@ -113,29 +113,43 @@ 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)
|
|
-/* flush display FIFO on vsync pulse */
|
|
+/* Flush display FIFO on vsync pulse */
|
|
#define MIPI_DSI_MODE_VSYNC_FLUSH BIT(8)
|
|
-/* 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)
|