doc: releases: migration-guide-3.7: add note for UC81xx displays
Add note for UC81xx displays, which have been migrated to the MIPI DBI API. This note describes how to define the MIPI DBI wrapper device needed for the UC81xx display Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
parent
7714f8f87b
commit
2c7cd3dc1e
1 changed files with 39 additions and 0 deletions
|
|
@ -355,6 +355,45 @@ Display
|
|||
};
|
||||
};
|
||||
|
||||
* UC81XX 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. (:github:`73812`) Note that the ``dc-gpios``
|
||||
pin has changed polarity with this update, for an example, see below:
|
||||
|
||||
.. code-block:: devicetree
|
||||
|
||||
/* Legacy UC81XX display definition */
|
||||
&spi0 {
|
||||
uc8179: uc8179@0 {
|
||||
compatible = "ultrachip,uc8179";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <4000000>;
|
||||
reset-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
|
||||
dc-gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
|
||||
...
|
||||
};
|
||||
};
|
||||
|
||||
/* New display definition with MIPI DBI device */
|
||||
|
||||
#include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
|
||||
|
||||
...
|
||||
|
||||
mipi_dbi {
|
||||
compatible = "zephyr,mipi-dbi-spi";
|
||||
reset-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
|
||||
dc-gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
|
||||
spi-dev = <&spi0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
uc8179: uc8179@0 {
|
||||
compatible = "ultrachip,uc8179";
|
||||
reg = <0>;
|
||||
mipi-max-frequency = <4000000>;
|
||||
...
|
||||
};
|
||||
};
|
||||
|
||||
* ST7789V based displays now use the MIPI DBI driver class. These displays
|
||||
must now be declared within a MIPI DBI driver wrapper device, which will
|
||||
|
|
|
|||
Loading…
Reference in a new issue