[PATCH v1 1/4] dt-bindings: lcdif: Add interface pixel format
Francesco Dolcini
francesco at dolcini.it
Fri Jul 17 05:18:43 PDT 2026
From: Francesco Dolcini <francesco.dolcini at toradex.com>
LCDIF has a hardware-configurable LCD_DATABUS_WIDTH field which selects
the parallel data bus transfer width. The selected mode changes how color
component bits are assigned to the LCD_DATA pins.
This must match the board wiring. On Colibri iMX6ULL, for example, only
18 LCD data lines are routed. A 24-bit panel can still be connected by
wiring the available LCD_DATA signals to the appropriate panel inputs.
Without describing the resulting interface format, LCDIF may assign the
color components to different data lines, causing shifted colors.
Add interface-pix-fmt so the binding can describe the configured LCDIF
bus format. The same property is already used by
display/imx/fsl,imx-parallel-display.yaml.
Signed-off-by: Francesco Dolcini <francesco.dolcini at toradex.com>
---
Documentation/devicetree/bindings/display/fsl,lcdif.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml
index 2dd0411ec651..209ee5a96e39 100644
--- a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml
+++ b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml
@@ -58,6 +58,13 @@ properties:
items:
- const: rx
+ interface-pix-fmt:
+ $ref: /schemas/types.yaml#/definitions/string
+ enum:
+ - rgb24
+ - rgb565
+ - rgb666
+
interrupts:
items:
- description: LCDIF DMA interrupt
--
2.47.3
More information about the linux-arm-kernel
mailing list