Skip to content

Track rgb565 / bgr565 interchange on boards and displays #92343

@josuah

Description

@josuah

Summary

After #79996 is merged, some displays will still work correctly, others will not with the Zephyr display sample and hence will require drivers or devicetree modification.

This issue is there to track the situation of affected drivers, boards, displays and samples.

Describe the solution you'd like

Check which displays will be effectively involved (i.e. they supports RGB565 and / or BGR565) after the display sample got fixed:

Driver Type RGB565 involved Platform Status
dummy Emulated No -
gc9x01x RGB Yes ? ?
hx8394 RGB Yes ? ?
ili9806e_dsi RGB Yes ? ?
ili9xxx RGB Yes STM32F429I_DISC1 (ili9341) ?
intel_multibootfb Arch No ? -
ist3931 Mono No ? -
led_strip_matrix RGB No ? -
ls0xx Mono No ? -
max7219 Mono No ? -
mcux_dcnano_lcdif I/F Yes NXP Already fixed
mcux_elcdif I/F Yes NXP Already fixed
microbit LED No ? -
nrf_led_matrix Mono No ? -
nt35510 RGB Yes STM32H747I-Disco ?
otm8009a RGB Yes STM32H747I-Disco ?
renesas_lcdc I/F Yes Renesas ?
renesas_ra I/F Yes Renesas ?
rm67162 RGB Yes ? ?
rm68200 RGB Yes ? ?
sdl I/F Yes Simulation ?
sh1122 L_8 No ? -
ssd1306 Mono No ? -
ssd1320 L_8 No ? -
ssd1322 Mono No ? -
ssd1327 L_8 No ? -
ssd1331 RGB Yes None Inherent fix in remap-config
ssd1351 RGB Yes None Inherent fix in remap-config
ssd1363 L_8 No ? -
ssd16xx Mono No ? -
st75256 L_8 No ? -
st7567 Mono No ? -
st7701 RGB Yes ? ?
st7735r RGB Yes mini_stm32h743 ?
st7789v RGB Yes ? ?
st7796s RGB Yes ? ?
stm32_ltdc I/F Yes STM32* No need to fix
uc81xx Mono No ? -

Then review the situation of samples to make sure there is no extra swap involved:

Then review the situation of boards to make sure a swap did not happen on boards

  • List to be generated with grep -r 565?

Then prepare a migration guide and release note with indications of what downstream users might need to do.

Alternatives

Alternatives to keep maintaining the swap as a long-term solution were rejected on #79996.

Let users report problems, but better catch as much as possible upstream.

Additional Context

Some drivers implemented workarounds to apply the reversal.

Display interface drivers might need to be checked to avoid double-inversion.

Metadata

Metadata

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions