From: Meng Li <Meng.Li@windriver.com>
To: u-boot@lists.denx.de, mbrugger@suse.com, pbrobinson@gmail.com,
agust@denx.de
Cc: meng.li@windriver.com
Subject: [PATCH 1/2] bcm2835: Add simiple-framebuffer for use with fkms
Date: Wed, 26 Jul 2023 10:42:34 +0800 [thread overview]
Message-ID: <20230726024235.2429215-2-Meng.Li@windriver.com> (raw)
In-Reply-To: <20230726024235.2429215-1-Meng.Li@windriver.com>
From: Jason Wessel <jason.wessel@windriver.com>
When the fkms dtb overlay is used only the simple-framebuffer is
presented as a usable video display. So, add "simple-framebuffer"
compatible to enable video driver bcm2835.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Meng Li <Meng.Li@windriver.com>
---
drivers/video/bcm2835.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/video/bcm2835.c b/drivers/video/bcm2835.c
index c2962932c9..9078755c76 100644
--- a/drivers/video/bcm2835.c
+++ b/drivers/video/bcm2835.c
@@ -54,6 +54,9 @@ static const struct udevice_id bcm2835_video_ids[] = {
{ .compatible = "brcm,bcm2835-hdmi" },
{ .compatible = "brcm,bcm2711-hdmi0" },
{ .compatible = "brcm,bcm2708-fb" },
+#ifndef CONFIG_VIDEO_DT_SIMPLEFB
+ { .compatible = "simple-framebuffer" },
+#endif
{ }
};
--
2.34.1
next prev parent reply other threads:[~2023-07-26 2:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-26 2:42 [PATCH 0/2] patches used to enable u-boot video driver on raspberry pi 4B platform Meng Li
2023-07-26 2:42 ` Meng Li [this message]
2023-07-26 2:42 ` [PATCH 2/2] rpi: set the correct parameter for simple framebuffer node Meng Li
2023-08-14 6:07 ` [PATCH 0/2] patches used to enable u-boot video driver on raspberry pi 4B platform Anatolij Gustschin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230726024235.2429215-2-Meng.Li@windriver.com \
--to=meng.li@windriver.com \
--cc=agust@denx.de \
--cc=mbrugger@suse.com \
--cc=pbrobinson@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox