0294-drm-vc4-Recognize-a-more-specific-compatible-string-.patch 1.0 KB

12345678910111213141516171819202122232425262728
  1. From 25f82524a9f48fc1e6a1a1c04739c5c8df14c1e2 Mon Sep 17 00:00:00 2001
  2. From: Eric Anholt <eric@anholt.net>
  3. Date: Fri, 4 Mar 2016 12:32:07 -0800
  4. Subject: [PATCH] drm/vc4: Recognize a more specific compatible string for V3D.
  5. The Raspberry Pi Foundation's firmware updates are shipping device
  6. trees using the old string, so we'll keep recognizing that as this rev
  7. of V3D. Still, we should use a more specific name in the upstream DT
  8. to clarify which board is being supported, in case we do other revs of
  9. V3D in the future.
  10. Signed-off-by: Eric Anholt <eric@anholt.net>
  11. Acked-by: Stephen Warren <swarren@wwwdotorg.org>
  12. (cherry picked from commit 90d7116061f86c1f8ea460806a0414addea7b58b)
  13. ---
  14. drivers/gpu/drm/vc4/vc4_v3d.c | 1 +
  15. 1 file changed, 1 insertion(+)
  16. --- a/drivers/gpu/drm/vc4/vc4_v3d.c
  17. +++ b/drivers/gpu/drm/vc4/vc4_v3d.c
  18. @@ -256,6 +256,7 @@ static int vc4_v3d_dev_remove(struct pla
  19. }
  20. static const struct of_device_id vc4_v3d_dt_match[] = {
  21. + { .compatible = "brcm,bcm2835-v3d" },
  22. { .compatible = "brcm,vc4-v3d" },
  23. {}
  24. };