From: Jason Wessel <jason.wes...@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.wes...@windriver.com>
Signed-off-by: Meng Li <meng...@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

Reply via email to