Эх сурвалжийг харах

drm/vc4: Recognize a more specific compatible string for V3D.

The Raspberry Pi Foundation's firmware updates are shipping device
trees using the old string, so we'll keep recognizing that as this rev
of V3D.  Still, we should use a more specific name in the upstream DT
to clarify which board is being supported, in case we do other revs of
V3D in the future.

Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Eric Anholt 9 жил өмнө
parent
commit
90d7116061

+ 1 - 0
drivers/gpu/drm/vc4/vc4_v3d.c

@@ -268,6 +268,7 @@ static int vc4_v3d_dev_remove(struct platform_device *pdev)
 }
 }
 
 
 static const struct of_device_id vc4_v3d_dt_match[] = {
 static const struct of_device_id vc4_v3d_dt_match[] = {
+	{ .compatible = "brcm,bcm2835-v3d" },
 	{ .compatible = "brcm,vc4-v3d" },
 	{ .compatible = "brcm,vc4-v3d" },
 	{}
 	{}
 };
 };