drm/vc4: Recognize a more specific compatible string for V3D.
authorEric Anholt <eric@anholt.net>
Fri, 4 Mar 2016 20:32:07 +0000 (12:32 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 14 Mar 2016 01:54:24 +0000 (18:54 -0700)
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>
drivers/gpu/drm/vc4/vc4_v3d.c

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