* [PATCH 1/2] dt-bindings: display: panel-simple: Allow "data-mapping" for "auo,g104sn02"
@ 2026-10-08 5:38 Primoz Fiser
2026-10-08 5:38 ` [PATCH 2/2] ARM: dts: imx6qdl-phytec-mira: Switch LVDS panel to 18-bit data mapping Primoz Fiser
0 siblings, 1 reply; 2+ messages in thread
From: Primoz Fiser @ 2026-10-08 5:38 UTC (permalink / raw)
To: Neil Armstrong, Jessica Zhang, David Airlie, Simona Vetter,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Frank Li, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, Thierry Reding,
Sam Ravnborg
Cc: dri-devel, devicetree, linux-kernel, imx, linux-arm-kernel, upstream
As per the AUO G104SN02 datasheet, section 6.4.1 "SEL68", this panel's
SEL68 pin selects between 6 bits (SEL68 low/NC) and 8 bits (SEL68 high)
per color over LVDS, i.e. an 18-bit or a 24-bit input format.
Currently, the auo_g104sn02 panel_desc only allows for the 24-bit
configuration by default. Boards wired for the 18-bit configuration need
the override introduced by commit 1cd3ea3e4b12 ("drm/panel-simple: allow
LVDS format override")) to describe that instead.
Thus allow "data-mapping" override for "auo,g104sn02" in the schema.
Signed-off-by: Primoz Fiser <primoz.fiser@norik.com>
---
.../devicetree/bindings/display/panel/panel-simple.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
index eb49832b26c4..11d4a8275ecd 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
+++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
@@ -396,6 +396,7 @@ if:
compatible:
contains:
enum:
+ - auo,g104sn02
- innolux,g101ice-l01
- yes-optoelectronics,ytc700tlag-05-201c
then:
--
2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 2/2] ARM: dts: imx6qdl-phytec-mira: Switch LVDS panel to 18-bit data mapping
2026-10-08 5:38 [PATCH 1/2] dt-bindings: display: panel-simple: Allow "data-mapping" for "auo,g104sn02" Primoz Fiser
@ 2026-10-08 5:38 ` Primoz Fiser
0 siblings, 0 replies; 2+ messages in thread
From: Primoz Fiser @ 2026-10-08 5:38 UTC (permalink / raw)
To: Neil Armstrong, Jessica Zhang, David Airlie, Simona Vetter,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Frank Li, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, Thierry Reding,
Sam Ravnborg
Cc: dri-devel, devicetree, linux-kernel, imx, linux-arm-kernel, upstream
The phyBOARD-Mira drives its LVDS panel at 18 bits per pixel. This was
previously done by always overriding fsl,data-width on the LDB bridge
alone and leaving the panel node's compatible, "auo,g104sn02", resulting
in LDB and the panel disagreeing on the format actually in use.
Now, declare the override on the panel side too, via the data-mapping
property and use "jeida-18" which resolves to RGB666_1X7X3_SPWG, exactly
matching what fsl,data-mapping = "spwg" + fsl,data-width = <18> produces
on the LDB side. Both ends of the link are now consistent instead of
silently disagreeing.
Signed-off-by: Primoz Fiser <primoz.fiser@norik.com>
---
arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-mira.dtsi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-mira.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-mira.dtsi
index 8b2b4ed76328..50e5bb22b9f5 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-mira.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-mira.dtsi
@@ -121,6 +121,7 @@ panel {
power-supply = <®_panel>;
enable-gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
backlight = <&backlight>;
+ data-mapping = "jeida-18";
port {
panel_in: endpoint {
@@ -204,7 +205,7 @@ &ldb {
lvds-channel@0 {
fsl,data-mapping = "spwg";
- fsl,data-width = <24>;
+ fsl,data-width = <18>;
status = "disabled";
port@4 {
--
2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-08 5:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-08 5:38 [PATCH 1/2] dt-bindings: display: panel-simple: Allow "data-mapping" for "auo,g104sn02" Primoz Fiser
2026-10-08 5:38 ` [PATCH 2/2] ARM: dts: imx6qdl-phytec-mira: Switch LVDS panel to 18-bit data mapping Primoz Fiser
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®