]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
bcm2835: Add simiple-framebuffer for use with fkms
authorJason Wessel <jason.wessel@windriver.com>
Wed, 26 Jul 2023 02:42:34 +0000 (10:42 +0800)
committerAnatolij Gustschin <agust@denx.de>
Sun, 13 Aug 2023 21:55:57 +0000 (23:55 +0200)
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

index c2962932c97f991d24239a07374aca07b69846b9..14942526f19db7955ed4b2c40986690e43bbe2cf 100644 (file)
@@ -54,6 +54,9 @@ static const struct udevice_id bcm2835_video_ids[] = {
        { .compatible = "brcm,bcm2835-hdmi" },
        { .compatible = "brcm,bcm2711-hdmi0" },
        { .compatible = "brcm,bcm2708-fb" },
+#if !IS_ENABLED(CONFIG_VIDEO_DT_SIMPLEFB)
+       { .compatible = "simple-framebuffer" },
+#endif
        { }
 };