aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJason Wessel2023-07-26 10:42:34 +0800
committerAnatolij Gustschin2023-08-13 23:55:57 +0200
commit28cd244e847c9a3becc954b5d911a7e67f34b14a (patch)
tree2a774eba1c975be52d76cd463ef786ed94a75ec6 /drivers
parentaba6776a71d3ccbbaf9452271c440364a5640ce3 (diff)
bcm2835: Add simiple-framebuffer for use with fkms
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/bcm2835.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/bcm2835.c b/drivers/video/bcm2835.c
index c2962932c97..14942526f19 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" },
+#if !IS_ENABLED(CONFIG_VIDEO_DT_SIMPLEFB)
+ { .compatible = "simple-framebuffer" },
+#endif
{ }
};