[PATCH 1/2] bcm2835: Add simiple-framebuffer for use with fkms
Meng Li
Meng.Li at windriver.com
Wed Jul 26 04:42:34 CEST 2023
From: Jason Wessel <jason.wessel at 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 at windriver.com>
Signed-off-by: Meng Li <Meng.Li at 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
More information about the U-Boot
mailing list