This python script assembles a list of human readable commands into
a firmware blob.

The firmware blob is interpreted by the `panel-mipi-dbi` Linux driver
to initialize a MIPI DBI display panel and its controller.

MIPI DBI is not to be confused with MIPI DSI.
The former is usually used to drive small displays that are attached
via SPI, while the latter is a fast communication standard using
differential signaling, that is also suitable for larger displays.

Signed-off-by: Leonard Göhrs <[email protected]>
---
 .../panel-mipi-dbi-native_git.bb              | 28 +++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 
meta-oe/recipes-graphics/panel-mipi-dbi/panel-mipi-dbi-native_git.bb

diff --git 
a/meta-oe/recipes-graphics/panel-mipi-dbi/panel-mipi-dbi-native_git.bb 
b/meta-oe/recipes-graphics/panel-mipi-dbi/panel-mipi-dbi-native_git.bb
new file mode 100644
index 000000000..0e88e84af
--- /dev/null
+++ b/meta-oe/recipes-graphics/panel-mipi-dbi/panel-mipi-dbi-native_git.bb
@@ -0,0 +1,28 @@
+SUMMARY = "Firmware file compiler for the panel-mipi-dbi display driver"
+DESCRIPTION = "The panel-mipi-dbi Linux display driver allows using the same \
+               driver for most MIPI DBI based display panels. \
+               This means many displays attached via SPI, even if the \
+               datasheet does not explicitly mention DBI support. \
+               To do so it uses tiny firmware files that contain \
+               display/controller-specific initialization commands. \
+               The mipi-dbi-cmd tool compiles these firmware files from a \
+               text format to a firmware blob format."
+HOMEPAGE = "https://github.com/notro/panel-mipi-dbi";
+SECTION = "graphics"
+LICENSE = "CC0-1.0"
+LIC_FILES_CHKSUM = 
"file://mipi-dbi-cmd;beginline=4;endline=13;md5=5e3d3f14cc87aa9e8976d728520cbcae"
+SRCREV = "1cbd40135a8c7f25d7b444a7fac77fd3c3ad471e"
+
+SRC_URI = 
"git://github.com/notro/panel-mipi-dbi.git;protocol=https;branch=main"
+
+S = "${WORKDIR}/git"
+
+inherit native
+
+do_configure[noexec] = "1"
+do_compile[noexec] = "1"
+do_install () {
+    install -D -p -m 0755 ${S}/mipi-dbi-cmd ${D}${bindir}/mipi-dbi-cmd
+}
+
+RDEPENDS:${PN} += "python3-native"
-- 
2.39.5

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#113385): 
https://lists.openembedded.org/g/openembedded-devel/message/113385
Mute This Topic: https://lists.openembedded.org/mt/109333379/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to