Skip to content

Commit 3d6dde4

Browse files
danieldegrassekartben
authored andcommitted
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 <[email protected]>
1 parent c565c2c commit 3d6dde4

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

doc/releases/migration-guide-4.1.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,29 @@ Controller Area Network (CAN)
5555
Display
5656
=======
5757

58+
* Displays using the MIPI DBI driver which set their MIPI DBI mode via the
59+
``mipi-mode`` property in devicetree should now use a string property of
60+
the same name, like so:
61+
62+
.. code-block:: devicetree
63+
64+
/* Legacy display definition */
65+
66+
st7735r: st7735r@0 {
67+
...
68+
mipi-mode = <MIPI_DBI_MODE_SPI_4WIRE>;
69+
...
70+
};
71+
72+
/* New display definition */
73+
74+
st7735r: st7735r@0 {
75+
...
76+
mipi-mode = "MIPI_DBI_MODE_SPI_4WIRE";
77+
...
78+
};
79+
80+
5881
Enhanced Serial Peripheral Interface (eSPI)
5982
===========================================
6083

0 commit comments

Comments
 (0)