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

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