Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/v3d: Add support for bcm2711

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

authored by

Peter Robinson and committed by
Melissa Wen
e5a06898 90a64adb

+4 -2
+3 -2
drivers/gpu/drm/v3d/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 config DRM_V3D 3 3 tristate "Broadcom V3D 3.x and newer" 4 - depends on ARCH_BCM || ARCH_BRCMSTB || COMPILE_TEST 4 + depends on ARCH_BCM || ARCH_BRCMSTB || ARCH_BCM2835 || COMPILE_TEST 5 5 depends on DRM 6 6 depends on COMMON_CLK 7 7 depends on MMU ··· 9 9 select DRM_GEM_SHMEM_HELPER 10 10 help 11 11 Choose this option if you have a system that has a Broadcom 12 - V3D 3.x or newer GPU, such as BCM7268. 12 + V3D 3.x or newer GPUs. SoCs supported include the BCM2711, 13 + BCM7268 and BCM7278.
+1
drivers/gpu/drm/v3d/v3d_drv.c
··· 191 191 }; 192 192 193 193 static const struct of_device_id v3d_of_match[] = { 194 + { .compatible = "brcm,2711-v3d" }, 194 195 { .compatible = "brcm,7268-v3d" }, 195 196 { .compatible = "brcm,7278-v3d" }, 196 197 {},