Skip to content

Commit

Permalink
doc: migration-guide-3.6: update MIPI DBI display migration note
Browse files Browse the repository at this point in the history
Update MIPI DBI display migration note to match the correct display
configuration settings for reset and MIPI DBI command pins after ILI9xxx
display was transitioned to this API.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
  • Loading branch information
danieldegrasse authored and henrikbrixandersen committed Feb 8, 2024
1 parent c734280 commit 04156bc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doc/releases/migration-guide-3.6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,9 @@ Device Drivers and Device Tree

* ILI9XXX based displays now use the MIPI DBI driver class. These displays
must now be declared within a MIPI DBI driver wrapper device, which will
manage interfacing with the display. For an example, see below:
manage interfacing with the display. Note that the `cmd-data-gpios` pin has
changed polarity with this update, to align better with the new
`dc-gpios` name. For an example, see below:

.. code-block:: devicetree
Expand All @@ -269,7 +271,7 @@ Device Drivers and Device Tree
mipi_dbi {
compatible = "zephyr,mipi-dbi-spi";
reset-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
dc-gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
dc-gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
spi-dev = <&spi2>;
#address-cells = <1>;
#size-cells = <0>;
Expand Down

0 comments on commit 04156bc

Please sign in to comment.