]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/v3d: Add support for bcm2711
authorPeter Robinson <pbrobinson@gmail.com>
Fri, 3 Jun 2022 09:26:07 +0000 (10:26 +0100)
committerMelissa Wen <melissa.srw@gmail.com>
Sun, 12 Jun 2022 23:10:50 +0000 (22:10 -0100)
Add compatible string and Kconfig options and help for bcm2711.

Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Reviewed-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Melissa Wen <melissa.srw@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220603092610.1909675-4-pbrobinson@gmail.com
drivers/gpu/drm/v3d/Kconfig
drivers/gpu/drm/v3d/v3d_drv.c

index e973ec48748463b4b9591e052030e1298b87032a..ce62c5908e1db674b3950e12f2103f632a992815 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config DRM_V3D
        tristate "Broadcom V3D 3.x and newer"
-       depends on ARCH_BCM || ARCH_BRCMSTB || COMPILE_TEST
+       depends on ARCH_BCM || ARCH_BRCMSTB || ARCH_BCM2835 || COMPILE_TEST
        depends on DRM
        depends on COMMON_CLK
        depends on MMU
@@ -9,4 +9,5 @@ config DRM_V3D
        select DRM_GEM_SHMEM_HELPER
        help
          Choose this option if you have a system that has a Broadcom
-         V3D 3.x or newer GPU, such as BCM7268.
+         V3D 3.x or newer GPUs. SoCs supported include the BCM2711,
+         BCM7268 and BCM7278.
index 56d5f831e48b421c4fad90ee3e5fd4805f54e9cf..8c7f910daa28c1cb486b848cd734baa78c2e17db 100644 (file)
@@ -191,6 +191,7 @@ static const struct drm_driver v3d_drm_driver = {
 };
 
 static const struct of_device_id v3d_of_match[] = {
+       { .compatible = "brcm,2711-v3d" },
        { .compatible = "brcm,7268-v3d" },
        { .compatible = "brcm,7278-v3d" },
        {},