From 3d6dde483234a69ffb80845a58bad8bf294b45b7 Mon Sep 17 00:00:00 2001 From: Daniel DeGrasse Date: Tue, 12 Nov 2024 11:21:24 -0600 Subject: [PATCH] doc: releases: migration-guide-4.1: document change to mipi-dbi binding Document change to mipi-dbi device binding, and provide users with example of how to transition to the new mipi-mode property. Signed-off-by: Daniel DeGrasse --- doc/releases/migration-guide-4.1.rst | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/doc/releases/migration-guide-4.1.rst b/doc/releases/migration-guide-4.1.rst index bdbef745544243..055066c5d4b35b 100644 --- a/doc/releases/migration-guide-4.1.rst +++ b/doc/releases/migration-guide-4.1.rst @@ -55,6 +55,29 @@ Controller Area Network (CAN) Display ======= +* Displays using the MIPI DBI driver which set their MIPI DBI mode via the + ``mipi-mode`` property in devicetree should now use a string property of + the same name, like so: + + .. code-block:: devicetree + + /* Legacy display definition */ + + st7735r: st7735r@0 { + ... + mipi-mode = ; + ... + }; + + /* New display definition */ + + st7735r: st7735r@0 { + ... + mipi-mode = "MIPI_DBI_MODE_SPI_4WIRE"; + ... + }; + + Enhanced Serial Peripheral Interface (eSPI) ===========================================