From: Liu Ying <victor.liu@nxp.com>
To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
andrzej.hajda@intel.com, neil.armstrong@linaro.org,
rfoss@kernel.org, Laurent.pinchart@ideasonboard.com,
jonas@kwiboo.se, jernej.skrabec@gmail.com,
maarten.lankhorst@linux.intel.com, mripard@kernel.org,
tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch
Subject: [PATCH 1/5] dt-bindings: display: Document DPI color codings
Date: Tue, 4 Mar 2025 18:15:26 +0800 [thread overview]
Message-ID: <20250304101530.969920-2-victor.liu@nxp.com> (raw)
In-Reply-To: <20250304101530.969920-1-victor.liu@nxp.com>
Document DPI color codings according to MIPI Alliance Standard for
Display Pixel Interface(DPI-2) Version 2.00(15 September 2005).
Signed-off-by: Liu Ying <victor.liu@nxp.com>
---
.../bindings/display/dpi-color-coding.yaml | 90 +++++++++++++++++++
1 file changed, 90 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/dpi-color-coding.yaml
diff --git a/Documentation/devicetree/bindings/display/dpi-color-coding.yaml b/Documentation/devicetree/bindings/display/dpi-color-coding.yaml
new file mode 100644
index 000000000000..6430d6f1ddd1
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/dpi-color-coding.yaml
@@ -0,0 +1,90 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/dpi-color-coding.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: MIPI DPI Interface Color Coding
+
+maintainers:
+ - Liu Ying <victor.liu@nxp.com>
+
+description:
+ MIPI Alliance Standard for Display Pixel Interface(DPI-2) Version 2.00(15
+ September 2005) specifies color codings at the DPI interface.
+
+properties:
+ dpi-color-coding:
+ enum:
+ - 16bit-configuration1
+ - 16bit-configuration2
+ - 16bit-configuration3
+ - 18bit-configuration1
+ - 18bit-configuration2
+ - 24bit
+ description: |
+ This table specifies the mapping of data bits, as components of primary
+ pixel color values red(R), green(G) and blue(B), to signal lines at the
+ interface.
+
+ +--------+--------------------------+-----------------+--------+
+ | Signal | 16-bit | 18-bit | |
+ | +--------+--------+--------+--------+--------+ 24-bit |
+ | Line | cfg1 | cfg2 | cfg3 | cfg1 | cfg2 | |
+ +========+========+========+========+========+========+========+
+ | D23 | unused | unused | unused | unused | unused | R7 |
+ +--------+--------+--------+--------+--------+--------+--------+
+ | D22 | unused | unused | unused | unused | unused | R6 |
+ +--------+--------+--------+--------+--------+--------+--------+
+ | D21 | unused | unused | R4 | unused | R5 | R5 |
+ +--------+--------+--------+--------+--------+--------+--------+
+ | D20 | unused | R4 | R3 | unused | R4 | R4 |
+ +--------+--------+--------+--------+--------+--------+--------+
+ | D19 | unused | R3 | R2 | unused | R3 | R3 |
+ +--------+--------+--------+--------+--------+--------+--------+
+ | D18 | unused | R2 | R1 | unused | R2 | R2 |
+ +--------+--------+--------+--------+--------+--------+--------+
+ | D17 | unused | R1 | R0 | R5 | R1 | R1 |
+ +--------+--------+--------+--------+--------+--------+--------+
+ | D16 | unused | R0 | unused | R4 | R0 | R0 |
+ +--------+--------+--------+--------+--------+--------+--------+
+ | D15 | R4 | unused | unused | R3 | unused | G7 |
+ +--------+--------+--------+--------+--------+--------+--------+
+ | D14 | R3 | unused | unused | R2 | unused | G6 |
+ +--------+--------+--------+--------+--------+--------+--------+
+ | D13 | R2 | G5 | G5 | R1 | G5 | G5 |
+ +--------+--------+--------+--------+--------+--------+--------+
+ | D12 | R1 | G4 | G4 | R0 | G4 | G4 |
+ +--------+--------+--------+--------+--------+--------+--------+
+ | D11 | R0 | G3 | G3 | G5 | G3 | G3 |
+ +--------+--------+--------+--------+--------+--------+--------+
+ | D10 | G5 | G2 | G2 | G4 | G2 | G2 |
+ +--------+--------+--------+--------+--------+--------+--------+
+ | D9 | G4 | G1 | G1 | G3 | G1 | G1 |
+ +--------+--------+--------+--------+--------+--------+--------+
+ | D8 | G3 | G0 | G0 | G2 | G0 | G0 |
+ +--------+--------+--------+--------+--------+--------+--------+
+ | D7 | G2 | unused | unused | G1 | unused | B7 |
+ +--------+--------+--------+--------+--------+--------+--------+
+ | D6 | G1 | unused | unused | G0 | unused | B6 |
+ +--------+--------+--------+--------+--------+--------+--------+
+ | D5 | G0 | unused | B4 | B5 | B5 | B5 |
+ +--------+--------+--------+--------+--------+--------+--------+
+ | D4 | B4 | B4 | B3 | B4 | B4 | B4 |
+ +--------+--------+--------+--------+--------+--------+--------+
+ | D3 | B3 | B3 | B2 | B3 | B3 | B3 |
+ +--------+--------+--------+--------+--------+--------+--------+
+ | D2 | B2 | B2 | B1 | B2 | B2 | B2 |
+ +--------+--------+--------+--------+--------+--------+--------+
+ | D1 | B1 | B1 | B0 | B1 | B1 | B1 |
+ +--------+--------+--------+--------+--------+--------+--------+
+ | D0 | B0 | B0 | unused | B0 | B0 | B0 |
+ +--------+--------+--------+--------+--------+--------+--------+
+
+ There are three mappings for 16-bit pixels to data signals, two mappings
+ for 18-bit pixels to data signals, and one mapping for 24-bit pixels to
+ data signals.
+
+additionalProperties: true
+
+...
--
2.34.1
next prev parent reply other threads:[~2025-03-04 10:14 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-04 10:15 [PATCH 0/5] drm/bridge: simple-bridge: Add DPI color encoder support Liu Ying
2025-03-04 10:15 ` Liu Ying [this message]
2025-03-04 10:33 ` [PATCH 1/5] dt-bindings: display: Document DPI color codings Maxime Ripard
2025-03-05 7:51 ` Krzysztof Kozlowski
2025-03-05 8:26 ` Maxime Ripard
2025-03-05 12:16 ` Krzysztof Kozlowski
2025-03-06 7:13 ` Liu Ying
2025-03-04 10:15 ` [PATCH 2/5] drm/of: Add drm_of_dpi_get_color_coding() Liu Ying
2025-03-04 10:15 ` [PATCH 3/5] dt-bindings: display: simple-bridge: Document DPI color encoder Liu Ying
2025-03-04 10:38 ` Maxime Ripard
2025-03-06 5:49 ` Liu Ying
2025-03-04 11:27 ` Rob Herring (Arm)
2025-03-04 15:23 ` Rob Herring
2025-03-05 9:35 ` Alexander Stein
2025-03-05 16:38 ` Rob Herring
2025-03-06 7:02 ` Liu Ying
2025-03-06 11:35 ` Maxime Ripard
2025-03-06 20:34 ` Rob Herring
2025-03-07 3:25 ` Liu Ying
2025-03-10 9:53 ` Maxime Ripard
2025-03-11 2:29 ` Liu Ying
2025-03-11 7:44 ` Maxime Ripard
2025-03-07 3:10 ` Liu Ying
2025-03-10 9:44 ` Maxime Ripard
2025-03-11 2:38 ` Liu Ying
2025-03-11 7:52 ` Maxime Ripard
2025-03-04 10:15 ` [PATCH 4/5] drm/bridge: simple-bridge: Add DPI color encoder support Liu Ying
2025-03-04 10:40 ` Maxime Ripard
2025-03-06 5:57 ` Liu Ying
2025-03-04 10:15 ` [PATCH 5/5] drm/bridge: simple-bridge: Add next panel support Liu Ying
2025-03-04 10:41 ` Maxime Ripard
2025-03-06 6:17 ` Liu Ying
2025-03-04 15:00 ` [PATCH 0/5] drm/bridge: simple-bridge: Add DPI color encoder support Alexander Stein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250304101530.969920-2-victor.liu@nxp.com \
--to=victor.liu@nxp.com \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=airlied@gmail.com \
--cc=andrzej.hajda@intel.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jernej.skrabec@gmail.com \
--cc=jonas@kwiboo.se \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=rfoss@kernel.org \
--cc=robh@kernel.org \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).